Question: How is Pfizer related to Brooklyn, where Isaac Asimov died?
Choices: programming paradigm
country of origin
location
use
place of burial
location of formation
sponsor
subsidiary
headquarters location
quotes work
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Pfizer" . ?e_2 <pred:name> "Brooklyn" . ?e_3 <place_of_death> ?e_2 . ?e_3 <pred:name> "Isaac Asimov" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Pfizer
function: Find
inputs: Isaac Asimov
function: Relate
dependencies: 1
inputs: place of death
forward
function: Find
inputs: Brooklyn
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: location of formation