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