Question: Is Ted Kennedy (the one whose mass is 170 pound) more than 150 centimetres?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "Ted Kennedy" . ?e <mass> ?pv_1 . ?pv_1 <pred:unit> "pound" . ?pv_1 <pred:value> "170"^^xsd:double . ?e <height> ?pv . ?pv <pred:unit> "centimetre" . ?pv <pred:value> ?v . FILTER ( ?v > "150"^^xsd:double ) .  }
Program:
function: Find
inputs: Ted Kennedy
function: FilterNum
dependencies: 0
inputs: mass
170 pound
=
function: QueryAttr
dependencies: 1
inputs: height
function: VerifyNum
dependencies: 2
inputs: 150 centimetre
>