query-c969f1747c1470aa73bd2415744b1a39

rq turtle/ttl

Députés 16e législature sans identifiant HATVP

Use at

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 ?député ?députéLabel 
 WHERE { 
    ?député p:P39 ?ps .
    ?ps ps:P39 wd:Q3044918 .
    ?ps pq:P2937 wd:Q112567597.
   MINUS{ ?député wdt:P4703 ?HATVP}.
 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; v3("?HATVP") v1("?député"):::projected v2("?ps") c8(["bd:serviceParam"]):::iri c3(["wd:Q3044918"]):::iri c5(["wd:Q112567597"]):::iri c10(["fr"]):::literal v1 --"p:P39"--> v2 v2 --"p:statement/P39"--> c3 v2 --"p:qualifier/P2937"--> c5 subgraph minus0["MINUS"] style minus0 stroke-width:6px,fill:pink,stroke:red; v1 --"p:direct/P4703"--> v3 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c8 --"wikibase:language"--> c10 end