Question: What is the connection between Fred Zinnemann to London (the one that is the headquarter location of London School of Economics)?
Choices:
sports season of league or competition
located in time zone
production company
place of death
position played on team / speciality
architect
organisation directed from the office or person
industry
country of citizenship
occupant
Program:
function: Find
inputs: Fred Zinnemann
function: Find
inputs: London School of Economics
function: Relate
dependencies: 1
inputs: headquarters location
forward
function: Find
inputs: London
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Fred Zinnemann" . ?e_2 <pred:name> "London" . ?e_3 <headquarters_location> ?e_2 . ?e_3 <pred:name> "London School of Economics" . ?e_1 ?p ?e_2 .  }
Answer: place of death