Question: How is the John Wood who died on 1898-05-28 related to Pennsylvania?
Choices:
famous people
mouth of the watercourse
model item
industry
participant of
mother
founded by
heritage designation
place of burial
source of income
Answer: place of burial
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Wood" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "1898-05-28"^^xsd:date . ?e_2 <pred:name> "Pennsylvania" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: John Wood
function: FilterDate
dependencies: 0
inputs: date of death
1898-05-28
=
function: Find
inputs: Pennsylvania
function: QueryRelation
dependencies: 1
2