query-6adf77027c0cb0132508d811b155152e
tots els valors d'ocupaciĆ³ d'un personatge, inclosos tots els rangs
SELECT ?item ?itemLabel WHERE {
wd:Q42025 p:P106 ?st.
?st ps:P106 ?item.
SERVICE wikibase:label {
bd:serviceParam wikibase:language "[AUTO_LANGUAGE],it,ca,en,es,an,eu,pl,sv,ceb" .
}
}
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 p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
# tots els valors d'ocupaciĆ³ d'un personatge, inclosos tots els rangs
SELECT ?item ?itemLabel WHERE {
wd:Q42025 p:P106 ?st.
?st ps:P106 ?item.
SERVICE wikibase:label {
bd:serviceParam wikibase:language "[AUTO_LANGUAGE],it,ca,en,es,an,eu,pl,sv,ceb" .
}
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v1("?st")
c5(["bd:serviceParam"]):::iri
c1(["wd:Q42025"]):::iri
c7(["#91;AUTO_LANGUAGE#93;,it,ca,en,es,an,eu,pl,sv,ceb"]):::literal
c1 --"p:P106"--> v1
v1 --"p:statement/P106"--> v2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end