Question: How is folk rock related to Paul Simon who is famous for bass guitar?
Choices:
executive producer
famous people
candidate
librettist
permanent resident of
director/manager
draft pick from school
publisher
home world
next lower rank
Program:
function: Find
inputs: folk rock
function: Find
inputs: bass guitar
function: Relate
dependencies: 1
inputs: famous people
forward
function: Find
inputs: Paul Simon
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "folk rock" . ?e_2 <pred:name> "Paul Simon" . ?e_3 <famous_people> ?e_2 . ?e_3 <pred:name> "bass guitar" . ?e_1 ?p ?e_2 .  }
Answer: famous people