Question: What is the connection between John Davis (the one whose date of birth is 1963-01-05) to United States of America?
Choices:
twinned administrative body
head of state
military branch
inspired by
currency
award received
country of citizenship
family
rector
father
Answer: country of citizenship
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Davis" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1963-01-05"^^xsd:date . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: John Davis
function: FilterDate
dependencies: 0
inputs: date of birth
1963-01-05
=
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 1
2