Question: How is Northampton, which is the birthplace of David J, related to Malcolm Arnold?
Choices:
costume designer
family name
sibling
product or material produced
original network
place served by transport hub
shares border with
feast day
occupant
place of birth
Answer: place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Malcolm Arnold" . ?e_2 <pred:name> "Northampton" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> "David J" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Malcolm Arnold
function: Find
inputs: David J
function: Relate
dependencies: 1
inputs: place of birth
forward
function: Find
inputs: Northampton
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4