Question: Of the 3D films with a duration less than 360 minutes, which is the shortest in length?
Choices:
Bo Derek
Avatar
Kate Walsh
ParaNorman
Guangdong
The Smurfs
Piranha 3D
The House of Mirth
Frankenweenie
PEN/Faulkner Award for Fiction
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 < "360"^^xsd:double ) . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: duration
360 minute
<
function: FilterConcept
dependencies: 1
inputs: 3D film
function: SelectAmong
dependencies: 2
inputs: duration
smallest