query-38d2183f65c01592f92358ef11d3b339
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 ?item ?itemLabel ?person ?personLabel ?relationship ?relationshipLabel
WHERE
{
VALUES ?item {wd:Q231270}
?item p:P1038 ?stat .
?stat ps:P1038 ?person .
?stat pq:P1039 ?relationship .
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;
v1("?item"):::projected
v3("?person"):::projected
v4("?relationship"):::projected
v2("?stat")
c5(["bd:serviceParam"]):::iri
c7(["#91;AUTO_LANGUAGE#93;,en"]):::literal
bind0[/VALUES ?item/]
bind0-->v1
bind00(["wd:Q231270"])
bind00 --> bind0
v1 --"p:P1038"--> v2
v2 --"p:statement/P1038"--> v3
v2 --"p:qualifier/P1039"--> v4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end