query-0b24aab91ea6aa826f3158f02ae48f81

rq turtle/ttl

P559/P609 with P580 or P582 as qualifiers

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 ?item ?itemLabel ?extLabel WHERE {
  ?item wdt:P31/wdt:P279* wd:Q34442 .
  ?item p:P559 [ps:P559 ?ext; ?property_time []] .
  VALUES ?property_time { pq:P580 pq:P582 } .
  SERVICE wikibase:label { bd:serviceParam wikibase:language "fr,[AUTO_LANGUAGE]" }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?ext") v1("?item"):::projected v4("?property_time") a3((" ")) a1((" ")) a2((" ")) c3(["wd:Q34442"]):::iri c7(["bd:serviceParam"]):::iri c9(["fr,#91;AUTO_LANGUAGE#93;"]):::literal v1 --"p:direct/P31"--> a1 a1 --"p:direct/P279"--> c3 a2 --"p:statement/P559"--> v2 a2 -->v4--> a3 v1 --"p:P559"--> a2 bind0[/VALUES ?property_time/] bind0-->v4 bind00(["p:qualifier/P580"]) bind00 --> bind0 bind01(["p:qualifier/P582"]) bind01 --> bind0 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c7 --"wikibase:language"--> c9 end