Question: What does Tim Curry (whose date of death is 2009-04-24) have to do with Republican Party?
Choices:
collection
kit supplier
main food source
member of political party
family name
symptom of
designated as terrorist by
ethnic group
participant of
cause of death
Program:
function: Find
inputs: Tim Curry
function: FilterDate
dependencies: 0
inputs: date of death
2009-04-24
=
function: Find
inputs: Republican Party
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Tim Curry" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "2009-04-24"^^xsd:date . ?e_2 <pred:name> "Republican Party" . ?e_1 ?p ?e_2 .  }
Answer: member of political party