Question: How is the John Adams born on 1857-07-02 related to the United Kingdom?
Choices: present in work
country of citizenship
worshipped by
cast member
country for sport
official residence
costume designer
founded by
narrator
operator
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Adams" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1857-07-02"^^xsd:date . ?e_2 <pred:name> "United Kingdom" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: John Adams
function: FilterDate
dependencies: 0
inputs: date of birth
1857-07-02
=
function: Find
inputs: United Kingdom
function: QueryRelation
dependencies: 1
2
Answer: country of citizenship