Question: What war has an end time before 1964 and is representative of James Stewart (the one whose date of death is 1768-01-01)?
Choices: Peninsular War
Crusade
First Crusade
Mongol conquests
World War II
Second Sino-Japanese War
French invasion of Russia
War of the Austrian Succession
Coalition Wars
Yom Kippur War
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "war" . ?e <end_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1964 ) . ?e_1 <conflict> ?e . ?e_1 <pred:name> "James Stewart" . ?e_1 <date_of_death> ?pv_1 . ?pv_1 <pred:date> "1768-01-01"^^xsd:date .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: end time
1964
<
function: FilterConcept
dependencies: 1
inputs: war
function: Find
inputs: James Stewart
function: FilterDate
dependencies: 3
inputs: date of death
1768-01-01
=
function: Relate
dependencies: 4
inputs: conflict
forward
function: FilterConcept
dependencies: 5
inputs: war
function: And
dependencies: 2
6
function: What
dependencies: 7
Answer: War of the Austrian Succession