Question: Which 3D film whose length is under 670 minutes has the shortest runtime?
Choices: Piranha 3D
Avatar
Jude Ciccolella
ParaNorman
Girls
terrorism
Newcastle
The Smurfs
Frankenweenie
Acadians
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 < "670"^^xsd:double ) . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: duration
670 minute
<
function: FilterConcept
dependencies: 1
inputs: 3D film
function: SelectAmong
dependencies: 2
inputs: duration
smallest
Answer: Frankenweenie