Question: What is the connection between heavy metal to Kiss (the one that received Rock and Roll Hall of Fame)?
Choices: architect
located on astronomical location
has contributing factor
famous people
head coach
military casualty classification
programming language
maintained by
voice actor
narrator
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "heavy metal" . ?e_2 <pred:name> "Kiss" . ?e_2 <award_received> ?e_3 . ?e_3 <pred:name> "Rock and Roll Hall of Fame" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: heavy metal
function: Find
inputs: Rock and Roll Hall of Fame
function: Relate
dependencies: 1
inputs: award received
backward
function: Find
inputs: Kiss
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: famous people