Question: Did the work period of the person who is the composer of Water (the one that was nominated for Academy Award for Best Foreign Language Film) start before 2002 ?
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 <composer> ?e . ?e_1 <pred:name> "Water" . ?e_1 <nominated_for> ?e_2 . ?e_2 <pred:name> "Academy Award for Best Foreign Language Film" .  ?e <work_period_(start)> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2002 ) .  }
Program:
function: Find
inputs: Academy Award for Best Foreign Language Film
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Water
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: composer
forward
function: FilterConcept
dependencies: 4
inputs: human
function: QueryAttr
dependencies: 5
inputs: work period (start)
function: VerifyYear
dependencies: 6
inputs: 2002
<