Question: How are the heavy metal band Queen and rock music related?
Choices:
licensed to broadcast to
affiliation
significant event
famous people
home port
hair color
located in time zone
quotes work
sexual orientation
kit supplier
Answer: famous people
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "rock music" . ?e_2 <pred:name> "Queen" . ?e_2 <genre> ?e_3 . ?e_3 <pred:name> "heavy metal" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: rock music
function: Find
inputs: heavy metal
function: Relate
dependencies: 1
inputs: genre
backward
function: Find
inputs: Queen
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4