Question: How is Dio (the one whose genre is power metal) related to heavy metal?
Choices:
has effect
genre
terminus
after a work by
next higher rank
contributing factor of
license
military rank
sidekick of
discoverer or inventor
Answer: genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Dio" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "power metal" . ?e_2 <pred:name> "heavy metal" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: power metal
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Dio
function: And
dependencies: 1
2
function: Find
inputs: heavy metal
function: QueryRelation
dependencies: 3
4