Question: How does glam rock relate to Bon Jovi, famous for country rock ?
Choices: grants
practiced by
art director
permanent resident of
tributary
designated as terrorist by
continent
located in the administrative territorial entity
famous people
family
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "glam rock" . ?e_2 <pred:name> "Bon Jovi" . ?e_3 <famous_people> ?e_2 . ?e_3 <pred:name> "country rock" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: glam rock
function: Find
inputs: country rock
function: Relate
dependencies: 1
inputs: famous people
forward
function: Find
inputs: Bon Jovi
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: famous people