Question: What is the relationship between The Turning Point (the one whose narrative location is Warsaw) and the German Democratic Republic?
Choices:
industry
place of publication
ethnic group
occupant
family
place served by transport hub
country of origin
continent
partially contains
field of work
Answer: country of origin
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Turning Point" . ?e_1 <narrative_location> ?e_3 . ?e_3 <pred:name> "Warsaw" . ?e_2 <pred:name> "German Democratic Republic" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Warsaw
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: The Turning Point
function: And
dependencies: 1
2
function: Find
inputs: German Democratic Republic
function: QueryRelation
dependencies: 3
4