Question: How is John Wells who died in Sussex related to Ashford?
Choices:
family
architect
approved by
located in time zone
place of birth
indigenous to
executive producer
mother
main food source
located on astronomical location
Answer: place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Wells" . ?e_1 <place_of_death> ?e_3 . ?e_3 <pred:name> "Sussex" . ?e_2 <pred:name> "Ashford" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Sussex
function: Relate
dependencies: 0
inputs: place of death
backward
function: Find
inputs: John Wells
function: And
dependencies: 1
2
function: Find
inputs: Ashford
function: QueryRelation
dependencies: 3
4