Question: Tell me the relationship between bryan adams (who is in the hard rock genre) to heartland rock.
Choices: original language of film or TV show
place served by transport hub
designed by
licensed to broadcast to
winner
genre
superhuman feature or ability
risk factor
organizer
found
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Bryan Adams" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "hard rock" . ?e_2 <pred:name> "heartland rock" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: hard rock
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Bryan Adams
function: And
dependencies: 1
2
function: Find
inputs: heartland rock
function: QueryRelation
dependencies: 3
4
Answer: genre