Question: How is Bahamas with a Toronto birthplace related to the guitar?
Choices:
instrument
grants
noble title
Wikidata property
hair color
cites
creator
item operated
position played on team / speciality
has effect
Program:
function: Find
inputs: Toronto
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: Bahamas
function: And
dependencies: 1
2
function: Find
inputs: guitar
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Bahamas" . ?e_1 <place_of_birth> ?e_3 . ?e_3 <pred:name> "Toronto" . ?e_2 <pred:name> "guitar" . ?e_1 ?p ?e_2 .  }
Answer: instrument