Question: What does Monster, genre hip-hop music, have in common with hip hop music?
Choices:
basic form of government
director
vehicle normally used
professorship
genre
narrative location
business division
history of topic
performer
published in
Program:
function: Find
inputs: hip hop music
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Monster
function: And
dependencies: 1
2
function: Find
inputs: hip hop music
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Monster" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "hip hop music" . ?e_2 <pred:name> "hip hop music" . ?e_1 ?p ?e_2 .  }
Answer: genre