Question: How is Robert Shaw who died in New Haven related to English?
Choices:
languages spoken, written or signed
commissioned by
producer
contains administrative territorial entity
instrument
movement
sibling
coextensive with
head of government
used by
Program:
function: Find
inputs: New Haven
function: Relate
dependencies: 0
inputs: place of death
backward
function: Find
inputs: Robert Shaw
function: And
dependencies: 1
2
function: Find
inputs: English
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Robert Shaw" . ?e_1 <place_of_death> ?e_3 . ?e_3 <pred:name> "New Haven" . ?e_2 <pred:name> "English" . ?e_1 ?p ?e_2 .  }
Answer: languages spoken, written or signed