Question: Bass guitarist Jim O'Rourke is a member of which band?
Choices:
The Beach Boys
The Monkees
Chicago
The Kinks
Dixie Chicks
Devo
Dream Theater
The Pretenders
Suicidal Tendencies
Sonic Youth
Program:
function: Find
inputs: bass guitar
function: Relate
dependencies: 0
inputs: famous people
forward
function: Find
inputs: Jim O'Rourke
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: has part
backward
function: FilterConcept
dependencies: 4
inputs: band
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "band" . ?e <has_part> ?e_1 . ?e_1 <pred:name> "Jim O'Rourke" . ?e_2 <famous_people> ?e_1 . ?e_2 <pred:name> "bass guitar" .   }
Answer: Sonic Youth