Question: What is the connection between bass guitar to The Edge (the one that is famous for rock music)?
Choices: has effect
followed by
illustrator
famous people
contains administrative territorial entity
material used
allegiance
has part
headquarters location
professorship
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "bass guitar" . ?e_2 <pred:name> "The Edge" . ?e_3 <famous_people> ?e_2 . ?e_3 <pred:name> "rock music" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: bass guitar
function: Find
inputs: rock music
function: Relate
dependencies: 1
inputs: famous people
forward
function: Find
inputs: The Edge
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: famous people