query-bd6a7c60975ca2784f1f7b1176d5559e
Query for recipients of one (or more) of the 3 ranks of the order (better !)
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 bd: <http://www.bigdata.com/rdf#>
SELECT ?human ?humanLabel ?agri ?agriLabel ?pays_de_citoyennet_ ?pays_de_citoyennet_Label WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
?human wdt:P31 wd:Q5;
wdt:P166 ?agri.
{ ?agri wdt:P361 wd:Q717293. }
OPTIONAL { ?human wdt:P27 ?pays_de_citoyennet_. }
}
LIMIT 1000
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?agri"):::projected
v1("?human"):::projected
v3("?pays_de_citoyennet_"):::projected
c2(["bd:serviceParam"]):::iri
c9(["wd:Q717293"]):::iri
c6(["wd:Q5"]):::iri
c4(["#91;AUTO_LANGUAGE#93;,en"]):::literal
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c2 --"wikibase:language"--> c4
end
v1 --"wdt:P31"--> c6
v1 --"wdt:P166"--> v2
v2 --"wdt:P361"--> c9
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P27".-> v3
end