Question: Which one of 3d movies, shorter than 330 minutes, is the shortest ?
Choices:
Keith Jarrett
Eternal Sunshine of the Spotless Mind
The Smurfs
Chris Brown
Avatar
Waukesha County
Piranha 3D
ParaNorman
Dan Curtis
Frankenweenie
Answer: Frankenweenie
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "3D film" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < "330"^^xsd:double ) . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: duration
330 minute
<
function: FilterConcept
dependencies: 1
inputs: 3D film
function: SelectAmong
dependencies: 2
inputs: duration
smallest