Question: How is Terry Jones from the Montreal Expos connected to Birmingham where Amber Benson was born?
Choices: place of birth
newspaper format
instrument
registered with
this taxon is source of
fabrication method
domain of saint or deity
discoverer or inventor
place of origin (Switzerland)
child
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Terry Jones" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Montreal Expos" . ?e_2 <pred:name> "Birmingham" . ?e_4 <place_of_birth> ?e_2 . ?e_4 <pred:name> "Amber Benson" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Montreal Expos
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Terry Jones
function: And
dependencies: 1
2
function: Find
inputs: Amber Benson
function: Relate
dependencies: 4
inputs: place of birth
forward
function: Find
inputs: Birmingham
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
Answer: place of birth