Question: Tell me the relationship between Robert Shaw (who died on 1999-01-25) to New Haven.
Choices:
military conflicts
place of death
native language
located on astronomical location
office contested
exported to
fictional universe described in
child
place of origin (Switzerland)
has dialect (DEPRECATED)
Program:
function: Find
inputs: Robert Shaw
function: FilterDate
dependencies: 0
inputs: date of death
1999-01-25
=
function: Find
inputs: New Haven
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Robert Shaw" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "1999-01-25"^^xsd:date . ?e_2 <pred:name> "New Haven" . ?e_1 ?p ?e_2 .  }
Answer: place of death