Question: Does Barbara Walters have fewer than 5 children?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:name> "Barbara Walters" . ?e <number_of_children> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "5"^^xsd:double ) .  }
Program:
function: Find
inputs: Barbara Walters
function: QueryAttr
dependencies: 0
inputs: number of children
function: VerifyNum
dependencies: 1
inputs: 5
<
Answer: yes