query-be12fbaea65285ee520a41e61363cc51
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 prov: <http://www.w3.org/ns/prov#>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
select ?itemLabel ?st ?propertyLabel ?predicate ?value
where {
{
select ?item ?st ?property ?predicate ?value
where {
?item p:P5008 ?st .
?st a wikibase:BestRank .
?st ps:P5008 wd:Q111249030 . # 613
?st prov:wasDerivedFrom ?refn .
?refn ?predicate ?value .
?property wikibase:reference ?predicate .
}
}
service wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" . }
}
order by ?st
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item")
v4("?predicate"):::projected
v6("?property")
v3("?refn")
v1("?st"):::projected
v5("?value"):::projected
c5(["wd:Q111249030"]):::iri
c9(["bd:serviceParam"]):::iri
c3(["wikibase:BestRank"]):::iri
c11(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v2 --"p:P5008"--> v1
v1 --"a"--> c3
v1 --"p:statement/P5008"--> c5
v1 --"prov:wasDerivedFrom"--> v3
v3 -->v4--> v5
v6 --"wikibase:reference"--> v4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end