query-e0bdbd95cc9bf4202b87d16347c62729
personnel and instruments played on a recording SELECT ?performer ?performerLabel ?instrument ?instrumentLabel WHERE {
wd:Q60712461 wdt:P175 ?statement . ?statement ps:wd:Q5 ?performer . ?statement pq:P1303 ?instrument .
SERVICE wikibase:label { bd:serviceParam wikibase:language "en" . } }
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 ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX bd: <http://www.bigdata.com/rdf#>
# personnel and instruments played on a recording
SELECT ?performer ?performerLabel ?instrument ?instrumentLabel
WHERE {
wd:Q60712461 wdt:P175 ?statement .
?statement ps:wd:Q5 ?performer .
?statement pq:P1303 ?instrument .
SERVICE wikibase:label {
bd:serviceParam wikibase:language "en" .
}
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?instrument"):::projected
v2("?performer"):::projected
v1("?statement")
c1(["wd:Q60712461"]):::iri
c6(["bd:serviceParam"]):::iri
c8(["en"]):::literal
c1 --"wdt:P175"--> v1
v1 --"ps:wd:Q5"--> v2
v1 --"pq:P1303"--> v3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end