Question: How is the John Carter born on 1942-10-20 related to the United Kingdom?
Choices:
statistical leader
owned by
official symbol
worshipped by
destination point
head of state
business division
place of burial
head of government
country of citizenship
Answer: country of citizenship
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Carter" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1942-10-20"^^xsd:date . ?e_2 <pred:name> "United Kingdom" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: John Carter
function: FilterDate
dependencies: 0
inputs: date of birth
1942-10-20
=
function: Find
inputs: United Kingdom
function: QueryRelation
dependencies: 1
2