Question: What is the relation between John Williams (the one that has the occupation of journalist) and Brooklyn (the one that is the residence of Robert Silverberg)?
Choices:
tributary
followed by
executive producer
natural product of taxon
found
military casualty classification
captain
place of death
sponsor
member of political party
Program:
function: Find
inputs: journalist
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: John Williams
function: And
dependencies: 1
2
function: Find
inputs: Robert Silverberg
function: Relate
dependencies: 4
inputs: residence
forward
function: Find
inputs: Brooklyn
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Williams" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "journalist" . ?e_2 <pred:name> "Brooklyn" . ?e_4 <residence> ?e_2 . ?e_4 <pred:name> "Robert Silverberg" . ?e_1 ?p ?e_2 .  }
Answer: place of death