Question: What is the connection between heavy metal to Styx (the one that is famous for pop rock)?
Choices:
diplomatic relation
narrator
founded by
opposite of
genre
has effect
product or material produced
followed by
candidacy in election
famous people
Program:
function: Find
inputs: heavy metal
function: Find
inputs: pop rock
function: Relate
dependencies: 1
inputs: famous people
forward
function: Find
inputs: Styx
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "heavy metal" . ?e_2 <pred:name> "Styx" . ?e_3 <famous_people> ?e_2 . ?e_3 <pred:name> "pop rock" . ?e_1 ?p ?e_2 .  }
Answer: famous people