Question: What is the subreddit for a music genre that matches the genre of George Harrison (the one that has the occupation of composer) ?
Choices:
Oaxaca
wien
numetal
Ratatouille
chicago
WorldMusic
arabic
Decatur
greenday
PhillyUnion
Answer: WorldMusic
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "music genre" . ?e_1 <genre> ?e . ?e_1 <pred:name> "George Harrison" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> "composer" .  ?e <subreddit> ?pv .  }
Program:
function: Find
inputs: composer
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: George Harrison
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: genre
forward
function: FilterConcept
dependencies: 4
inputs: music genre
function: QueryAttr
dependencies: 5
inputs: subreddit