Question: Which film titled Hercules clocks in at under 220 minutes?
Choices:
The Phantom of the Opera
My Name Is Khan
Walk Hard: The Dewey Cox Story
Giant
Oscar and Lucinda
Talk to Her
Infernal Affairs
Pleasantville
A Prairie Home Companion
Hercules
Answer: Hercules
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <title> ?pv . ?pv <pred:value> "Hercules" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> ?v . FILTER ( ?v < "220"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Hercules
function: FilterConcept
dependencies: 1
inputs: film
function: FindAll
function: FilterNum
dependencies: 3
inputs: duration
220 minute
<
function: FilterConcept
dependencies: 4
inputs: film
function: And
dependencies: 2
5
function: What
dependencies: 6