Question: What is the relationship between Paul Bettany and Brooklyn (the one that is the birthplace of Joseph R. Gannascoli)?
Choices: location
original film format
patron saint
composer
noble title
home world
diaspora
residence
country
nominated for
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Paul Bettany" . ?e_2 <pred:name> "Brooklyn" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> "Joseph R. Gannascoli" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Paul Bettany
function: Find
inputs: Joseph R. Gannascoli
function: Relate
dependencies: 1
inputs: place of birth
forward
function: Find
inputs: Brooklyn
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: residence