query-da531d363b172f18cc2c55d3accfe35b
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX pr: <http://www.wikidata.org/prop/reference/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?p ?rank ?value {
?ref pr:P143 wd:Q936;
^prov:wasDerivedFrom ?statement .
?item ?p ?statement .
?p ^wikibase:claim/wikibase:statementProperty ?ps .
?statement wikibase:rank ?rank; ?ps ?value .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" } .
} ORDER BY ?p ?value
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v5("?item"):::projected
v1("?p"):::projected
v6("?ps")
v7("?rank"):::projected
v3("?ref")
v4("?statement")
v2("?value"):::projected
a1((" "))
c8(["bd:serviceParam"]):::iri
c10(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c2(["wd:Q936"]):::iri
v3 --"pr:P143"--> c2
v4 --"prov:wasDerivedFrom"--> v3
v5 -->v1--> v4
a1 --"wikibase:claim"--> v1
a1 --"wikibase:statementProperty"--> v6
v4 --"wikibase:rank"--> v7
v4 -->v6--> v2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end