Question: How is James Stewart who died on 1905-12-21 related to Presbyterianism?
Choices:
honorific prefix
religion
successful candidate
winner
fictional universe described in
territory claimed by
relative
distributor
place of origin (Switzerland)
signatory
Answer: religion
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "James Stewart" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "1905-12-21"^^xsd:date . ?e_2 <pred:name> "Presbyterianism" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: James Stewart
function: FilterDate
dependencies: 0
inputs: date of death
1905-12-21
=
function: Find
inputs: Presbyterianism
function: QueryRelation
dependencies: 1
2