query-3c35fe52dad39f42dea981d6a4326988

rq turtle/ttl

Éléments ayant au moins un qualificatif pour une entrée de P39 spécifique SELECT distinct ?item ?itemLabel ?itemDescription WHERE {

?item p:P39 ?award_statement . ?award_statement ps:P39 wd:Q15964890 . #personnalité politique fédérale canadienne ?award_statement ?pq_pred ?pq_obj . # a triple involving the award statement ...
?prop wikibase:qualifier ?pq_pred . # ... with a predicate ?pq_pred that is a qualifier

SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } }

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#Éléments ayant au moins un qualificatif pour une entrée de P39 spécifique
SELECT distinct ?item ?itemLabel ?itemDescription WHERE {

   ?item p:P39 ?award_statement .
   ?award_statement ps:P39 wd:Q15964890 .  #personnalité politique fédérale canadienne 
        ?award_statement ?pq_pred ?pq_obj . # a triple involving the award statement ...     
        ?prop wikibase:qualifier ?pq_pred . # ... with a predicate ?pq_pred that is a qualifier

SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?award_statement") v1("?item"):::projected v4("?pq_obj") v3("?pq_pred") v5("?prop") c3(["wd:Q15964890"]):::iri c6(["bd:serviceParam"]):::iri c8(["#91;AUTO_LANGUAGE#93;,en"]):::literal v1 --"p:P39"--> v2 v2 --"p:statement/P39"--> c3 v2 -->v3--> v4 v5 --"wikibase:qualifier"--> v3 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c6 --"wikibase:language"--> c8 end