Question: Tell me the relationship between Jimi Hendrix (which has rockumentary genre) to rockumentary.
Choices:
legislative body
film crew member
has edition
signatory
registered with
affiliation
position held
genre
kit supplier
lowest point
Program:
function: Find
inputs: rockumentary
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Jimi Hendrix
function: And
dependencies: 1
2
function: Find
inputs: rockumentary
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Jimi Hendrix" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "rockumentary" . ?e_2 <pred:name> "rockumentary" . ?e_1 ?p ?e_2 .  }
Answer: genre