Question: What is the relationship between mellotron and Richard Wright (the one whose genre is art rock)?
Choices:
original network
famous people
heritage designation
has effect
narrative role
film editor
named after
conflict
contains administrative territorial entity
work location
Answer: famous people
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "mellotron" . ?e_2 <pred:name> "Richard Wright" . ?e_2 <genre> ?e_3 . ?e_3 <pred:name> "art rock" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: mellotron
function: Find
inputs: art rock
function: Relate
dependencies: 1
inputs: genre
backward
function: Find
inputs: Richard Wright
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4