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