Question: What is the relationship between Phil Collins (the one whose genre is jazz fusion) and rock music?
Choices:
affiliation
director of photography
genre
health specialty
lowest point
godparent
penalty
product or material produced
sexual orientation
located on astronomical location
Program:
function: Find
inputs: jazz fusion
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Phil Collins
function: And
dependencies: 1
2
function: Find
inputs: rock music
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Phil Collins" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "jazz fusion" . ?e_2 <pred:name> "rock music" . ?e_1 ?p ?e_2 .  }
Answer: genre