Question: Did the producer of Godzilla (the one whose duration is 100 minute) die before 2014?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <producer> ?e . ?e_1 <pred:name> "Godzilla" . ?e_1 <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "100"^^xsd:double . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2014 ) .  }
Program:
function: Find
inputs: Godzilla
function: FilterNum
dependencies: 0
inputs: duration
100 minute
=
function: Relate
dependencies: 1
inputs: producer
forward
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: date of death
function: VerifyYear
dependencies: 4
inputs: 2014
<