Question: Is Neil Jordan, the director of Michael Collins, a father of more or less than 2.2 sons ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <director> ?e . ?e_1 <pred:name> "Michael Collins" . ?e_1 <director> ?e_2 . ?e_2 <pred:name> "Neil Jordan" .  ?e <number_of_children> ?pv . ?pv <pred:unit> "son" . ?pv <pred:value> ?v . FILTER ( ?v != "2.2"^^xsd:double ) .  }
Program:
function: Find
inputs: Neil Jordan
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: Michael Collins
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: director
forward
function: FilterConcept
dependencies: 4
inputs: human
function: QueryAttr
dependencies: 5
inputs: number of children
function: VerifyNum
dependencies: 6
inputs: 2.2 son
!=