Question: Which empire participated in the war that the British Raj took part in?
Choices:
Hawaii
Byzantine Empire
Cochise County
Joseph Stalin
Ottoman Empire
Orange Free State
British Empire
The Notorious B.I.G.
Canada
Mughal Empire
Program:
function: Find
inputs: British Raj
function: Relate
dependencies: 0
inputs: participant
backward
function: FilterConcept
dependencies: 1
inputs: war
function: Relate
dependencies: 2
inputs: participant
forward
function: FilterConcept
dependencies: 3
inputs: empire
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "empire" . ?e_1 <participant> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "war" . ?e_1 <participant> ?e_2 . ?e_2 <pred:name> "British Raj" .   }
Answer: British Empire