Question: What is the connection between rhythm and blues to Steve Jordan (the one that is famous for rock and roll)?
Choices:
terminus
military branch
costume designer
founded by
residence
mountain range
soundtrack album
famous people
architectural style
published in
Program:
function: Find
inputs: rhythm and blues
function: Find
inputs: rock and roll
function: Relate
dependencies: 1
inputs: famous people
forward
function: Find
inputs: Steve Jordan
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "rhythm and blues" . ?e_2 <pred:name> "Steve Jordan" . ?e_3 <famous_people> ?e_2 . ?e_3 <pred:name> "rock and roll" . ?e_1 ?p ?e_2 .  }
Answer: famous people