query-eaea673c3a5fead4b2c00b106c10763f
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
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 ?person ?personLabel ?position_heldLabel {
?person p:P39 ?p39stm .
?p39stm ps:P39 ?position_held .
?p39stm pq:P748 wd:Q22686 .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY ?personLabel ?position_heldLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?p39stm")
v3("?person"):::projected
v1("?personLabel"):::projected
v5("?position_held")
v2("?position_heldLabel"):::projected
c6(["bd:serviceParam"]):::iri
c8(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c4(["wd:Q22686"]):::iri
v3 --"p:P39"--> v4
v4 --"p:statement/P39"--> v5
v4 --"p:qualifier/P748"--> c4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end