Question: Is the film that is located in Georgia (that deals with Jordan, not the US) is it not 820 minutes long?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Georgia" . ?e_2 <diplomatic_relation> ?e_1 . ?e_2 <pred:name> "Jordan" .  ?e <duration> ?pv . ?pv <pred:unit> "minute" . ?pv <pred:value> ?v . FILTER ( ?v != "820"^^xsd:double ) .  }
Program:
function: Find
inputs: Jordan
function: Relate
dependencies: 0
inputs: diplomatic relation
forward
function: Find
inputs: Georgia
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: narrative location
backward
function: FilterConcept
dependencies: 4
inputs: film
function: QueryAttr
dependencies: 5
inputs: duration
function: VerifyNum
dependencies: 6
inputs: 820 minute
!=