query-3edac6121fd97fc97c95ff3eb6cbc240

rq turtle/ttl

Items with a specific value attributeImpact craters with coordinate globe Earth

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX psv: <http://www.wikidata.org/prop/statement/value/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?s ?sLabel WHERE {
  ?s p:P31 ?stmt .
  ?stmt ps:P31/wdt:P279* wd:Q55818 .
  ?s p:P625 ?coordstmt .
  ?coordstmt psv:P625 ?coordvalue .
  ?coordvalue wikibase:geoGlobe <http://www.wikidata.org/entity/Q2> .
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en,de,fr,es,it,pl,nl,pt,sv,no,ar,cs,ca,ml,ms,az,ru" }
 }
 ORDER BY ?sLabel

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?coordstmt") v5("?coordvalue") v2("?s"):::projected v1("?sLabel"):::projected v3("?stmt") a1((" ")) c10(["bd:serviceParam"]):::iri c4(["wd:Q55818"]):::iri c8(["wd:Q2"]):::iri c12(["en,de,fr,es,it,pl,nl,pt,sv,no,ar,cs,ca,ml,ms,az,ru"]):::literal v2 --"p:P31"--> v3 v3 --"p:statement/P31"--> a1 a1 --"p:direct/P279"--> c4 v2 --"p:P625"--> v4 v4 --"p:statement/value/P625"--> v5 v5 --"wikibase:geoGlobe"--> c8 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c10 --"wikibase:language"--> c12 end