Question: What state of Germany is the location of the industry whose site is in East Prussia?
Choices: Rhineland-Palatinate
Lower Saxony
Thuringia
North Rhine-Westphalia
Prussia
Saxony-Anhalt
Poland
Saxony
Brandenburg
Mecklenburg-Vorpommern
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of Germany" . ?e_1 <location> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "industry" . ?e_1 <location> ?e_2 . ?e_2 <pred:name> "East Prussia" .   }
Program:
function: Find
inputs: East Prussia
function: Relate
dependencies: 0
inputs: location
backward
function: FilterConcept
dependencies: 1
inputs: industry
function: Relate
dependencies: 2
inputs: location
forward
function: FilterConcept
dependencies: 3
inputs: state of Germany
function: What
dependencies: 4
Answer: Saxony