Question: How is stoner rock related to Queens of the Stone Age (the one that is famous for art rock) ?
Choices:
has part
famous people
fabrication method
movement
has parts of the class
currency
commissioned by
copyright representative
has dialect (DEPRECATED)
characters
Program:
function: Find
inputs: stoner rock
function: Find
inputs: art rock
function: Relate
dependencies: 1
inputs: famous people
forward
function: Find
inputs: Queens of the Stone Age
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "stoner rock" . ?e_2 <pred:name> "Queens of the Stone Age" . ?e_3 <famous_people> ?e_2 . ?e_3 <pred:name> "art rock" . ?e_1 ?p ?e_2 .  }
Answer: famous people