Question: What is the connection between soul music to Ben Harper (the one whose genre is rock music)?
Choices:
used by
chairperson
famous people
military branch
fictional universe described in
donated by
filmography
partially contains
home venue
make-up artist
Program:
function: Find
inputs: soul music
function: Find
inputs: rock music
function: Relate
dependencies: 1
inputs: genre
backward
function: Find
inputs: Ben Harper
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "soul music" . ?e_2 <pred:name> "Ben Harper" . ?e_2 <genre> ?e_3 . ?e_3 <pred:name> "rock music" . ?e_1 ?p ?e_2 .  }
Answer: famous people