query-c3e73301c1e9cd42cb2459276ea91ec8

rq turtle/ttl

Body mass index of human beings

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?human ?mass ?height (?mass/(?height*?height) AS ?bmi) WHERE {
  ?human wdt:P31 wd:Q5 .
  ?human wdt:P2067 ?mass .
  ?human wdt:P2048 ?height
}
ORDER BY ?bmi ?height

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v5("?bmi") v2("?height"):::projected v3("?human"):::projected v4("?mass"):::projected c2(["wd:Q5"]):::iri v3 --"wdt:P31"--> c2 v3 --"wdt:P2067"--> v4 v3 --"wdt:P2048"--> v2 bind0[/"?mass / ?height * ?height"/] v4 --o bind0 v2 --o bind0 bind0 --as--o v5