Question: Does the narrator of The Manchurian Candidate, directed by John Frankenheimer, have more than 2.1 daughters ?
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 <narrator> ?e . ?e_1 <pred:name> "The Manchurian Candidate" . ?e_1 <director> ?e_2 . ?e_2 <pred:name> "John Frankenheimer" .  ?e <number_of_children> ?pv . ?pv <pred:unit> "daughter" . ?pv <pred:value> ?v . FILTER ( ?v > "2.1"^^xsd:double ) .  }
Program:
function: Find
inputs: John Frankenheimer
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: The Manchurian Candidate
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: narrator
forward
function: FilterConcept
dependencies: 4
inputs: human
function: QueryAttr
dependencies: 5
inputs: number of children
function: VerifyNum
dependencies: 6
inputs: 2.1 daughter
>