Question: Which band is famous for ambient music and is the composer of Catch Me If You Can (which has Grant Heslov as a cast member)?
Choices:
Tangerine Dream
Portishead
The Monkees
The Kinks
Jonas Brothers
Dixie Chicks
Renaissance
Everything but the Girl
The Pretenders
Marillion
Answer: Tangerine Dream
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "band" . ?e_1 <famous_people> ?e . ?e_1 <pred:name> "ambient music" .  ?e_2 <composer> ?e . ?e_2 <pred:name> "Catch Me If You Can" . ?e_2 <cast_member> ?e_3 . ?e_3 <pred:name> "Grant Heslov" .  }
Program:
function: Find
inputs: ambient music
function: Relate
dependencies: 0
inputs: famous people
forward
function: FilterConcept
dependencies: 1
inputs: band
function: Find
inputs: Grant Heslov
function: Relate
dependencies: 3
inputs: cast member
backward
function: Find
inputs: Catch Me If You Can
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: composer
forward
function: FilterConcept
dependencies: 7
inputs: band
function: And
dependencies: 2
8
function: What
dependencies: 9