Question: Tell me the relationship between shock rock and Marilyn Manson (which is in the alternative metal genre)
Choices:
country for sport
child
famous people
screenwriter
diplomatic relation
educated at
owned by
writing system
characters
kit supplier
Program:
function: Find
inputs: shock rock
function: Find
inputs: alternative metal
function: Relate
dependencies: 1
inputs: genre
backward
function: Find
inputs: Marilyn Manson
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "shock rock" . ?e_2 <pred:name> "Marilyn Manson" . ?e_2 <genre> ?e_3 . ?e_3 <pred:name> "alternative metal" . ?e_1 ?p ?e_2 .  }
Answer: famous people