query-d3b7999dc49d687ad953bcf85443865d
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX pr: <http://www.wikidata.org/prop/reference/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?value ?wiki ?wikiLabel {
?item p:P2369 ?statement .
?statement ps:P2369 ?value .
OPTIONAL {
?statement prov:wasDerivedFrom/pr:P143 ?wiki .
}
SERVICE wikibase:label { bd:serviceParam wikibase:language "en" } .
} ORDER BY ?wiki
LIMIT 100
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v3("?statement")
v4("?value"):::projected
v1("?wiki"):::projected
a1((" "))
c6(["bd:serviceParam"]):::iri
c8(["en"]):::literal
v2 --"p:P2369"--> v3
v3 --"p:statement/P2369"--> v4
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v3 -."prov:wasDerivedFrom".-> a1
a1 --"p:reference/P143"--> v1
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end