Question: How is Brooklyn where Isaac Asimov died related to the East River?
Choices:
capital
native language
spouse
ethnic group
approved by
composer
hair color
director/manager
located in or next to body of water
residence
Answer: located in or next to body of water
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Brooklyn" . ?e_3 <place_of_death> ?e_1 . ?e_3 <pred:name> "Isaac Asimov" . ?e_2 <pred:name> "East River" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Isaac Asimov
function: Relate
dependencies: 0
inputs: place of death
forward
function: Find
inputs: Brooklyn
function: And
dependencies: 1
2
function: Find
inputs: East River
function: QueryRelation
dependencies: 3
4