query-9e5872a1e0b1768e4f97085c90d8dbb1
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX psv: <http://www.wikidata.org/prop/statement/value/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?dimensionLabel ?itemLabel ?siconvLabel ?unitLabel
WHERE {
?item p:P2370/psv:P2370 ?var.
?var wikibase:quantityAmount ?siconv.
?var wikibase:quantityUnit ?unit.
?item wdt:P111 ?dimension .
SERVICE wikibase:label {bd:serviceParam wikibase:language "en" .}
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v5("?dimension")
v1("?item")
v3("?siconv")
v4("?unit")
v2("?var")
a1((" "))
c7(["bd:serviceParam"]):::iri
c9(["en"]):::literal
v1 --"p:P2370"--> a1
a1 --"p:statement/value/P2370"--> v2
v2 --"wikibase:quantityAmount"--> v3
v2 --"wikibase:quantityUnit"--> v4
v1 --"p:direct/P111"--> v5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end