query-53ef3eb86f137815297fb06f62b47c7c

rq turtle/ttl

TODO

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX psv: <http://www.wikidata.org/prop/statement/value/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?typeLabel ?height ?width ?thick ?heightUnitLabel ?widthUnitLabel ?thickUnitLabel WHERE {
  ?item wdt:P31  ?type .
  VALUES ?type { wd:Q179700 wd:Q220659  wd:Q16738862 wd:Q179700 wd:Q26997384  wd:Q48634 wd:Q193475} 
  ?item p:P2048/psv:P2048 ?heightD.
  ?item p:P2049/psv:P2049 ?widthD.
  ?item p:P2610/psv:P2610 ?thickD.
  ?heightD wikibase:quantityAmount ?height.
  ?heightD wikibase:quantityUnit   ?heightUnit.
  ?widthD  wikibase:quantityAmount ?width.
  ?widthD  wikibase:quantityUnit   ?widthUnit.
  ?thickD  wikibase:quantityAmount ?thick.
  ?thickD  wikibase:quantityUnit   ?thickUnit.
  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; v6("?height"):::projected v3("?heightD") v7("?heightUnit") v1("?item"):::projected v10("?thick"):::projected v5("?thickD") v11("?thickUnit") v3("?type") v8("?width"):::projected v4("?widthD") v9("?widthUnit") a1((" ")) a2((" ")) a3((" ")) c13(["en"]):::literal c11(["bd:serviceParam"]):::iri v1 --"p:direct/P31"--> v3 bind0[/VALUES ?type/] bind0-->v3 bind00(["wd:Q179700"]) bind00 --> bind0 bind01(["wd:Q220659"]) bind01 --> bind0 bind02(["wd:Q16738862"]) bind02 --> bind0 bind03(["wd:Q179700"]) bind03 --> bind0 bind04(["wd:Q26997384"]) bind04 --> bind0 bind05(["wd:Q48634"]) bind05 --> bind0 bind06(["wd:Q193475"]) bind06 --> bind0 v1 --"p:P2048"--> a1 a1 --"p:statement/value/P2048"--> v3 v1 --"p:P2049"--> a2 a2 --"p:statement/value/P2049"--> v4 v1 --"p:P2610"--> a3 a3 --"p:statement/value/P2610"--> v5 v3 --"wikibase:quantityAmount"--> v6 v3 --"wikibase:quantityUnit"--> v7 v4 --"wikibase:quantityAmount"--> v8 v4 --"wikibase:quantityUnit"--> v9 v5 --"wikibase:quantityAmount"--> v10 v5 --"wikibase:quantityUnit"--> v11 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c11 --"wikibase:language"--> c13 end