Question: How is pop rock related to pop musician Elton John?
Choices:
family
manufacturer
applies to jurisdiction
famous people
next higher rank
member of political party
genre
culture
distributor
participant of
Answer: famous people
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "pop rock" . ?e_2 <pred:name> "Elton John" . ?e_3 <famous_people> ?e_2 . ?e_3 <pred:name> "pop music" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: pop rock
function: Find
inputs: pop music
function: Relate
dependencies: 1
inputs: famous people
forward
function: Find
inputs: Elton John
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4