Question: How is Larry Gelbart related to Chicago where Helen Rose was born?
Choices:
main food source
follows
genre
place of birth
license
season starts
programming paradigm
creator
territory overlaps
official color
Answer: place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Larry Gelbart" . ?e_2 <pred:name> "Chicago" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> "Helen Rose" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Larry Gelbart
function: Find
inputs: Helen Rose
function: Relate
dependencies: 1
inputs: place of birth
forward
function: Find
inputs: Chicago
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4