query-133a2f721525fc38837474999154c0b6
TODO
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 prov: <http://www.w3.org/ns/prov#>
PREFIX bd: <http://www.bigdata.com/rdf#>
select ?itemLabel ?st ?propertyLabel ?predicate ?value
where {
{
select ?item ?st ?property ?predicate ?value
where {
?item wdt:P5008 wd:Q111249030 . # 613
?item ?p ?st .
?st a wikibase:BestRank .
?st prov:wasDerivedFrom ?refn . # 15756
?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")
v3("?p")
v5("?predicate"):::projected
v7("?property")
v4("?refn")
v1("?st"):::projected
v6("?value"):::projected
c2(["wd:Q111249030"]):::iri
c8(["bd:serviceParam"]):::iri
c4(["wikibase:BestRank"]):::iri
c10(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v2 --"wdt:P5008"--> c2
v2 -->v3--> v1
v1 --"a"--> c4
v1 --"prov:wasDerivedFrom"--> v4
v4 -->v5--> v6
v7 --"wikibase:reference"--> v5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end