Question: Did the television series that is based on War and Peace that uses French end before 2000?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <based_on> ?e_1 . ?e_1 <pred:name> "War and Peace" . ?e_1 <language_of_work_or_name> ?e_2 . ?e_2 <pred:name> "French" .  ?e <end_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2000 ) .  }
Program:
function: Find
inputs: French
function: Relate
dependencies: 0
inputs: language of work or name
backward
function: Find
inputs: War and Peace
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: based on
backward
function: FilterConcept
dependencies: 4
inputs: television series
function: QueryAttr
dependencies: 5
inputs: end time
function: VerifyYear
dependencies: 6
inputs: 2000
<