Question: How is Paul Haggis related to London, home of University of Western Ontario?
Choices: legal form
family name
office contested
parent organization
organisation directed from the office or person
conferred by
present in work
place of birth
architect
head of government
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Paul Haggis" . ?e_2 <pred:name> "London" . ?e_3 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_3 <pred:name> "University of Western Ontario" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Paul Haggis
function: Find
inputs: University of Western Ontario
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
forward
function: Find
inputs: London
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: place of birth