Question: What is the connection between John Carter (the one whose date of birth is 1792-09-10) to Democratic-Republican Party?
Choices:
distribution
film crew member
official language
characters
foundational text
material used
member of political party
partner
parent astronomical body
does not have part
Answer: member of political party
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Carter" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1792-09-10"^^xsd:date . ?e_2 <pred:name> "Democratic-Republican Party" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: John Carter
function: FilterDate
dependencies: 0
inputs: date of birth
1792-09-10
=
function: Find
inputs: Democratic-Republican Party
function: QueryRelation
dependencies: 1
2