query-84c5ce4d015f1f10c8f6f0076acfdc4f
MH en Occitanie sans coordonnées géographiques
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 p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?item ?itemLabel WHERE {
{ ?item wdt:P1435 wd:Q10387575 . } UNION { ?item wdt:P1435 wd:Q10387684 . } #MH
?item wdt:P131/wdt:P131/wdt:P131 wd:Q18678265 . # en Occ
?item p:P380 [] #immeubles
MINUS { ?item wdt:P625 [] } #sans coordonnées géographique
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;
v1("?item"):::projected
a3((" "))
a4((" "))
a1((" "))
a2((" "))
c3(["wd:Q10387684"]):::iri
c2(["wd:Q10387575"]):::iri
c9(["bd:serviceParam"]):::iri
c5(["wd:Q18678265"]):::iri
c11(["fr"]):::literal
subgraph union0[" Union "]
subgraph union0l[" "]
style union0l fill:#abf,stroke-dasharray: 3 3;
v1 --"p:direct/P1435"--> c3
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
v1 --"p:direct/P1435"--> c2
end
union0r <== or ==> union0l
end
v1 --"p:direct/P131"--> a1
a1 --"p:direct/P131"--> a2
a2 --"p:direct/P131"--> c5
v1 --"p:P380"--> a3
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v1 --"p:direct/P625"--> a4
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end