Question: What is the relation between John Adams (who died in 1854-09-25) with the Democratic Party?
Choices: participant of
sports season of league or competition
sidekick of
member of political party
partially contains
cites
costume designer
narrator
depicts
child
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> "Democratic Party" . ?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: Democratic Party
function: QueryRelation
dependencies: 1
2
Answer: member of political party