Question: What is the connection between John Davis (the one whose date of birth is 1787-01-13) to Governor of Massachusetts?
Choices:
instrumentation
position held
filmography
producer
symptoms
has edition
geographic distribution
relative
donated by
given name
Answer: position held
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Davis" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1787-01-13"^^xsd:date . ?e_2 <pred:name> "Governor of Massachusetts" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: John Davis
function: FilterDate
dependencies: 0
inputs: date of birth
1787-01-13
=
function: Find
inputs: Governor of Massachusetts
function: QueryRelation
dependencies: 1
2