Question: How is Rachel McAdams related to the birthplace of Ryan Gosling, London?
Choices:
quotes work
highest judicial authority
professional or sports partner
culture
interested in
director/manager
exported to
place of birth
symptom of
airline alliance
Answer: place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Rachel McAdams" . ?e_2 <pred:name> "London" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> "Ryan Gosling" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Rachel McAdams
function: Find
inputs: Ryan Gosling
function: Relate
dependencies: 1
inputs: place of birth
forward
function: Find
inputs: London
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4