Question: How is Charles Boyer who plays guitar related to Montreal?
Choices:
organizer
costume designer
native language
sexual orientation
sex or gender
has effect
tributary
place of birth
health specialty
league
Program:
function: Find
inputs: guitar
function: Relate
dependencies: 0
inputs: instrument
backward
function: Find
inputs: Charles Boyer
function: And
dependencies: 1
2
function: Find
inputs: Montreal
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Charles Boyer" . ?e_1 <instrument> ?e_3 . ?e_3 <pred:name> "guitar" . ?e_2 <pred:name> "Montreal" . ?e_1 ?p ?e_2 .  }
Answer: place of birth