Question: How are glam metal and Marilyn Manson (with John 5) related?
Choices:
director
head of state
mountain range
separated from
has immediate cause
professorship
famous people
director of photography
conflict
subject has role
Program:
function: Find
inputs: glam metal
function: Find
inputs: John 5
function: Relate
dependencies: 1
inputs: has part
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> "glam metal" . ?e_2 <pred:name> "Marilyn Manson" . ?e_2 <has_part> ?e_3 . ?e_3 <pred:name> "John 5" . ?e_1 ?p ?e_2 .  }
Answer: famous people