@prefix bole: . @prefix bowe: . @prefix math: . @prefix humanbody: . @prefix human: . @prefix units: . @prefix dce: . @prefix quex: . @prefix fos: . @prefix owl: . @prefix rdfs: . <> dce:title """Adult Body Mass Index rule"""@en; dce:creator """Hans Cools"""@en; dce:publisher """Agfa Healthcare/Belgium"""@en; dce:description """Rule to calculate an adult body mass index."""@en; dce:language """English"""@en. { ?adult fos:complexity ?body. ?body a humanbody:WholeBody; quex:hasPhysicalQuantity ?length, ?weight. ?length a bole:BodyLength; quex:hasValue ?lengthValue; quex:hasUnit ?lengthUnit. ?weight a bowe:BodyWeight; quex:hasValue ?weightValue; quex:hasUnit ?weightUnit. (?lengthValue 2) math:exponentiation ?lengthValue2. (?weightValue ?lengthValue2) math:quotient ?X. (?X 10) math:product ?Y. ?Y math:rounded ?Z. (?Z 10) math:quotient ?BMI. } => {?adult humanbody:hasBMI ?BMI.}.