Question: Which war was followed by a war that happened in Egypt (the one whose demonym is egypter) ?
Choices:
Cold War
Second Crusade
World War I
Second Sino-Japanese War
War of the Spanish Succession
Peninsular War
First Crusade
Yom Kippur War
French invasion of Russia
Coalition Wars
Program:
function: Find
inputs: Egypt
function: FilterStr
dependencies: 0
inputs: demonym
egypter
function: Relate
dependencies: 1
inputs: location
backward
function: FilterConcept
dependencies: 2
inputs: war
function: Relate
dependencies: 3
inputs: followed by
backward
function: FilterConcept
dependencies: 4
inputs: war
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "war" . ?e <followed_by> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "war" . ?e_1 <location> ?e_2 . ?e_2 <pred:name> "Egypt" . ?e_2 <demonym> ?pv . ?pv <pred:value> "egypter" .   }
Answer: First Crusade