query-e0e027c73fafd67e1f69985b0b27731c

rq turtle/ttl

Une requĂȘte pour me rappeler comment chercher les 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 ?item ?itemLabel ?prop ?propLabel ?starttime
WHERE
{
  ?item wdt:P127 wd:Q2235294;
            p:P127 [ ps:P127 ?prop; pq:P580 ?starttime ].
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?item"):::projected v2("?prop"):::projected v3("?starttime"):::projected a1((" ")) c7(["bd:serviceParam"]):::iri c9(["#91;AUTO_LANGUAGE#93;"]):::literal c2(["wd:Q2235294"]):::iri v1 --"p:direct/P127"--> c2 a1 --"p:statement/P127"--> v2 a1 --"p:qualifier/P580"--> v3 v1 --"p:P127"--> a1 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c7 --"wikibase:language"--> c9 end