query-bfcb6ddce1fc1020148a06da809b320b

rq turtle/ttl

TODO

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX psv: <http://www.wikidata.org/prop/statement/value/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
select ?item ?itemLabel ?height ?unitLabel where
{
  values ?item {wd:Q42}
  ?item p:P2048 ?statement .
  ?statement ps:P2048 ?height .
  ?statement psv:P2048 ?statement2 .
  ?statement2 wikibase:quantityUnit ?unit .
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?height"):::projected v1("?item"):::projected v2("?statement") v4("?statement2") v5("?unit") c6(["bd:serviceParam"]):::iri c8(["#91;AUTO_LANGUAGE#93;,en"]):::literal bind0[/VALUES ?item/] bind0-->v1 bind00(["wd:Q42"]) bind00 --> bind0 v1 --"p:P2048"--> v2 v2 --"p:statement/P2048"--> v3 v2 --"p:statement/value/P2048"--> v4 v4 --"wikibase:quantityUnit"--> v5 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c6 --"wikibase:language"--> c8 end