Advertisement
TrinkerMedia

Museums on Instagram/Twitter Wikidata Service

Oct 21st, 2016
3,146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SPARQL 0.37 KB | None | 0 0
  1. # Search in  ---> Wikidata (https://t.co/3Bh3Gnmq5c)
  2. PREFIX wdt: <http://www.wikidata.org/prop/direct/>
  3. PREFIX wikibase: <http://wikiba.se/ontology#>
  4. SELECT ?item ?itemLabel ?instagram ?twitter
  5. WHERE {
  6.   ?item wdt:P31/wdt:P279* wd:Q33506 .
  7.   ?item wdt:P2003 ?instagram .
  8.   ?item wdt:P2002 ?twitter
  9.   SERVICE wikibase:label { bd:serviceParam wikibase:language "en" } .
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement