query-14b76db582c0d55a972c504666caca98

rq turtle/ttl

MH sans coordonnées géographiques SELECT DISTINCT ?item ?itemLabel WHERE { { ?item wdt:P1435 wd:Q10387575 . } UNION { ?item wdt:P1435 wd:Q10387684 . } #MH ?item p:P380 [] #immeubles MINUS { ?item wdt:P625 [] } #sans coordonnées géographique SERVICE wikibase:label { bd:serviceParam wikibase:language "fr" } . }

Use at

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#>
#MH sans coordonnées géographiques
SELECT DISTINCT ?item ?itemLabel WHERE {
    { ?item wdt:P1435 wd:Q10387575 . } UNION { ?item wdt:P1435 wd:Q10387684 . } #MH
    ?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 a1((" ")) a2((" ")) c3(["wd:Q10387684"]):::iri c2(["wd:Q10387575"]):::iri c7(["bd:serviceParam"]):::iri c9(["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:P380"--> a1 subgraph minus0["MINUS"] style minus0 stroke-width:6px,fill:pink,stroke:red; v1 --"p:direct/P625"--> a2 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c7 --"wikibase:language"--> c9 end