Question: What war's location is the Russian Empire and end time is before 1909?
Choices:
Crusade
First Crusade
Third Crusade
English Civil War
Russian Civil War
French and Indian War
French invasion of Russia
Second Sino-Japanese War
Coalition Wars
Yom Kippur War
Program:
function: Find
inputs: Russian Empire
function: Relate
dependencies: 0
inputs: location
backward
function: FilterConcept
dependencies: 1
inputs: war
function: FindAll
function: FilterYear
dependencies: 3
inputs: end time
1909
<
function: FilterConcept
dependencies: 4
inputs: war
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "war" . ?e <location> ?e_1 . ?e_1 <pred:name> "Russian Empire" .  ?e <end_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1909 ) .  }
Answer: French invasion of Russia