Question: Does Kevin McCarthy (who was born on 1957-07-14) weigh under 280 pounds?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:name> "Kevin McCarthy" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1957-07-14"^^xsd:date . ?e <mass> ?pv . ?pv <pred:unit> "pound" . ?pv <pred:value> ?v . FILTER ( ?v < "280"^^xsd:double ) .  }
Program:
function: Find
inputs: Kevin McCarthy
function: FilterDate
dependencies: 0
inputs: date of birth
1957-07-14
=
function: QueryAttr
dependencies: 1
inputs: mass
function: VerifyNum
dependencies: 2
inputs: 280 pound
<
Answer: yes