query-ec0815bfb0b2c592901e58698b2f69fa
Suspicious electoral districts for the French Assembly (Q15620943)constituency of the French Fifth Republic qualifier is not a (P768)electoral district Memberships of the French Assembly where the 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#>
SELECT DISTINCT ?who ?whoLabel ?where ?whereLabel {
?who p:P39 [ ps:P39 wd:Q3044918 ; pq:P768 ?where ] .
FILTER NOT EXISTS { ?where p:P31/ps:P31/wdt:P279* wd:Q15620943 }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en" . }
}
ORDER BY ?whereLabel
Query found at
- https://www.wikidata.org/wiki/User:Oravrattas/daynotes/2017-06-16
- https://www.wikidata.org/wiki/Wikidata_talk:WikiProject_France/Politicians
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?where"):::projected
v1("?whereLabel"):::projected
v3("?who"):::projected
a3((" "))
a1((" "))
a2((" "))
c10(["bd:serviceParam"]):::iri
c6(["wd:Q3044918"]):::iri
c12(["en"]):::literal
c4(["wd:Q15620943"]):::iri
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"p:P31"--> e0a1
e0a1 --"p:statement/P31"--> e0a2
e0a2 --"p:direct/P279"--> e0c4
e0v1("?where"):::projected
e0a1((" ")):::projected
e0a2((" ")):::projected
e0c4(["wd:Q15620943"]):::iri
end
f0--EXISTS--> f0e0
f0 --> v2
f0 --> c1
f0 --> a1
f0 --> c2
f0 --> a2
f0 --> c3
f0 --> c4
v2 --"p:P31"--> a1
a1 --"p:statement/P31"--> a2
a2 --"p:direct/P279"--> c4
a3 --"p:statement/P39"--> c6
a3 --"p:qualifier/P768"--> v2
v3 --"p:P39"--> a3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c10 --"wikibase:language"--> c12
end