query-ae2be8827b3f83d4056c299aa2b20d10
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#defaultView:Map
SELECT ?item ?itemLabel ?coord
WHERE
{
?item wdt:P31 wd:Q484170 ; wdt:P625 ?coord .
minus { ?item wdt:P47 [] }
minus { ?item p:P31 [ ps:P31 wd:Q484170 ; pq:P582 [] ] } .
SERVICE wikibase:label { bd:serviceParam wikibase:language "fr" }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?coord"):::projected
v1("?item"):::projected
a1((" "))
a3((" "))
a2((" "))
c9(["bd:serviceParam"]):::iri
c11(["fr"]):::literal
c2(["wd:Q484170"]):::iri
v1 --"p:direct/P31"--> c2
v1 --"p:direct/P625"--> v2
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v1 --"p:direct/P47"--> a1
end
subgraph minus1["MINUS"]
style minus1 stroke-width:6px,fill:pink,stroke:red;
a2 --"p:statement/P31"--> c2
a2 --"p:qualifier/P582"--> a3
v1 --"p:P31"--> a2
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end