Question: Which soundtrack album has Prince (the one that is famous for drum) as a performer and uses the English language?
Choices:
The Hunchback of Notre Dame
Batman
Star Wars Episode IV: A New Hope
The World Is Not Enough
Dune
Twin Peaks: Fire Walk with Me
Into the Wild
Tarzan
Pocahontas
Tangled
Answer: Batman
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "soundtrack album" . ?e <performer> ?e_1 . ?e_1 <pred:name> "Prince" . ?e_2 <famous_people> ?e_1 . ?e_2 <pred:name> "drum" .  ?e <language_of_work_or_name> ?e_3 . ?e_3 <pred:name> "English" .  }
Program:
function: Find
inputs: drum
function: Relate
dependencies: 0
inputs: famous people
forward
function: Find
inputs: Prince
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: performer
backward
function: FilterConcept
dependencies: 4
inputs: soundtrack album
function: Find
inputs: English
function: Relate
dependencies: 6
inputs: language of work or name
backward
function: FilterConcept
dependencies: 7
inputs: soundtrack album
function: And
dependencies: 5
8
function: What
dependencies: 9