Question: What is the connection between John Adams (the one whose date of death is 1854-09-25) to Washington, D.C.?
Choices: work location
set in period
superhuman feature or ability
follows
commander of
public holiday
grants
legislative body
parent club
home port
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Adams" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "1854-09-25"^^xsd:date . ?e_2 <pred:name> "Washington, D.C." . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: John Adams
function: FilterDate
dependencies: 0
inputs: date of death
1854-09-25
=
function: Find
inputs: Washington, D.C.
function: QueryRelation
dependencies: 1
2
Answer: work location