query-22d0a44370f48e3520dfaa3d45ec842f
MH en Occitanie sans date de début
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#>
SELECT DISTINCT ?item ?itemLabel WHERE {
?item wdt:P131/wdt:P131/wdt:P131 wd:Q18678265 . # en Occ
?item p:P1435 ?stat .
{ ?stat ps:P1435 wd:Q10387575 . } UNION { ?stat ps:P1435 wd:Q10387684 . } #MH
MINUS { ?stat pq:P580 [] } #sans date de début
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
v2("?stat")
a3((" "))
a1((" "))
a2((" "))
c6(["wd:Q10387684"]):::iri
c5(["wd:Q10387575"]):::iri
c9(["bd:serviceParam"]):::iri
c2(["wd:Q18678265"]):::iri
c11(["fr"]):::literal
v1 --"p:direct/P131"--> a1
a1 --"p:direct/P131"--> a2
a2 --"p:direct/P131"--> c2
v1 --"p:P1435"--> v2
subgraph union0[" Union "]
subgraph union0l[" "]
style union0l fill:#abf,stroke-dasharray: 3 3;
v2 --"p:statement/P1435"--> c6
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
v2 --"p:statement/P1435"--> c5
end
union0r <== or ==> union0l
end
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v2 --"p:qualifier/P580"--> a3
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end