Advertisement
TrinkerMedia

Galleries, Museums and Libraries on Instagram and Twitter

Oct 21st, 2016
3,309
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SPARQL 0.40 KB | None | 0 0
  1. PREFIX wdt: <http://www.wikidata.org/prop/direct/>
  2. PREFIX wikibase: <http://wikiba.se/ontology#>
  3. SELECT ?item ?itemLabel ?orgsLabel ?instagram ?twitter
  4. WHERE {
  5.   values ?orgs { wd:Q33506 wd:Q7075 wd:Q166118 } .
  6.   ?item wdt:P31/wdt:P279* ?orgs .
  7.   ?item wdt:P2003 ?instagram .
  8.   ?item wdt:P2002 ?twitter .
  9.   SERVICE wikibase:label { bd:serviceParam wikibase:language "en" } .
  10.  }
  11. ORDER BY ?orgsLabel
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement