Question: How is Winston Churchill (the one whose date of death is 1688-03-26) related to historian ?
Choices:
occupation
drug used for treatment
military conflicts
has contributing factor
uses
doctoral student
next higher rank
drafted by
member of political party
field of this occupation
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Winston Churchill" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "1688-03-26"^^xsd:date . ?e_2 <pred:name> "historian" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Winston Churchill
function: FilterDate
dependencies: 0
inputs: date of death
1688-03-26
=
function: Find
inputs: historian
function: QueryRelation
dependencies: 1
2