Skip to main content

Table 6 SWRL functions

From: An ontology network for Diabetes Mellitus in Mexico

Function SWRL Description
BodyMassIndex datos:hasWeight(?n, ?p) \(\hat {}\) datos:hasHeight(?n, ?t)\(\hat {}\) swrlb:multiply(?t2, ?t, ?t) \(\hat {}\) swrlb:divide(?imc, ?p, ?t2) - > datos:hasBMI(?n, ?imc)
Waist-hip Index datos:hasWaistMeasure(?n, ?ci) \(\hat {}\) datos:hasHipMeasure(?n, ?ca) \(\hat {}\) swrlb:divide(?icc, ?ci, ?ca) - > datos:hasWHI(?n, ?icc)
Overweight Function datos:hasBMI(?n, ?imc) \(\hat {}\) swrlb:greaterThanOrEqual(?imc, 25) \(\hat {}\) swrlb:lessThan(?imc, 30) - > datos:hasHumanBiotype(?n, datos:Overweight)
Basal Metabolic Rate for women over 60 years old persona:hasGender(?pa, ?sx) \(\hat {}\) swrlb:stringEqualIgnoreCase(?sx, “Female”^^sxd:string) \(\hat {}\) red:hasClinicalRecord(?pa, ?ec) \(\hat {}\) datos:hasMedicalNote(?ec, ?nm) \(\hat {}\) datos:hasAge(?nm, ?e) \(\hat {}\) swrlb:greaterThanOrEqual(?e, 61) \(\hat {}\) datos:hasWeight(?nm, ?p) \(\hat {}\) swrlb:multiply(?aux, 10.5, ?p) \(\hat {}\) swrlb:add(?tasa, ?aux, 596) - > datos:hasBMR(?nm, ?tasa)