Question: How is rock musician Brian May related to glam rock?
Choices:
mouth of the watercourse
said to be the same as
geography of topic
genre
interests
business division
newspaper format
basin country
talk show guest
movement
Answer: genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Brian May" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "rock music" . ?e_2 <pred:name> "glam rock" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: rock music
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Brian May
function: And
dependencies: 1
2
function: Find
inputs: glam rock
function: QueryRelation
dependencies: 3
4