Question: How is the musician Ben Harper related to alternative rock?
Choices:
lifestyle
languages spoken, written or signed
chairperson
genre
main subject
head of state
part of the series
official residence
draft pick from school
officeholder
Program:
function: Find
inputs: musician
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Ben Harper
function: And
dependencies: 1
2
function: Find
inputs: alternative rock
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Ben Harper" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "musician" . ?e_2 <pred:name> "alternative rock" . ?e_1 ?p ?e_2 .  }
Answer: genre