Question: What film from Israel  (the one whose out-of-school children number is 31636) is a musical?
Choices:
All That Jazz
St. Louis Blues
A Prairie Home Companion
Antarctica
Talk to Her
Puss in Boots
Rebecca
Lebanon
Beauty and the Beast
Pleasantville
Answer: Beauty and the Beast
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "Israel" . ?e_1 <number_of_out-of-school_children> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "31636"^^xsd:double .  ?e <genre> ?e_2 . ?e_2 <pred:name> "musical film" .  }
Program:
function: Find
inputs: Israel
function: FilterNum
dependencies: 0
inputs: number of out-of-school children
31636
=
function: Relate
dependencies: 1
inputs: country of origin
backward
function: FilterConcept
dependencies: 2
inputs: film
function: Find
inputs: musical film
function: Relate
dependencies: 4
inputs: genre
backward
function: FilterConcept
dependencies: 5
inputs: film
function: And
dependencies: 3
6
function: What
dependencies: 7