Question: How is Robert Taylor born on 1989-12-21 related to Northampton which is the capital of Northamptonshire?
Choices:
has cause
practiced by
history of topic
film release region
captain
diplomatic relation
drafted by
instrument
place of birth
sex or gender
Answer: place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Robert Taylor" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1989-12-21"^^xsd:date . ?e_2 <pred:name> "Northampton" . ?e_3 <capital> ?e_2 . ?e_3 <pred:name> "Northamptonshire" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Robert Taylor
function: FilterDate
dependencies: 0
inputs: date of birth
1989-12-21
=
function: Find
inputs: Northamptonshire
function: Relate
dependencies: 2
inputs: capital
forward
function: Find
inputs: Northampton
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5