Question: What film is titled "Jerusalem" and is shorter than 570 minutes?
Choices:
Pleasantville
Rebecca
A Prairie Home Companion
Billy Elliot
Bad Education
Jerusalem
Syriana
Me and Orson Welles
Talk to Her
Cheaper by the Dozen
Answer: Jerusalem
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <title> ?pv . ?pv <pred:value> "Jerusalem" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> ?v . FILTER ( ?v < "570"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Jerusalem
function: FilterConcept
dependencies: 1
inputs: film
function: FindAll
function: FilterNum
dependencies: 3
inputs: duration
570 minute
<
function: FilterConcept
dependencies: 4
inputs: film
function: And
dependencies: 2
5
function: What
dependencies: 6