Question: Which movie is shorter, Carrie (the one whose publication date is 2013-12-05) or RoboCop (the one whose box office is 53424681 United States dollar)?
Choices: A Prairie Home Companion
Talk to Her
Training Day
Carrie
The Hunchback of Notre Dame
The Fifth Element
The Towering Inferno
Curse of the Golden Flower
Pleasantville
RoboCop
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Carrie" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2013-12-05"^^xsd:date . } UNION { ?e <pred:name> "RoboCop" . ?e <box_office> ?pv_2 . ?pv_2 <pred:unit> "United States dollar" . ?pv_2 <pred:value> "53424681"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Carrie
function: FilterDate
dependencies: 0
inputs: publication date
2013-12-05
=
function: Find
inputs: RoboCop
function: FilterNum
dependencies: 2
inputs: box office
53424681 United States dollar
=
function: SelectBetween
dependencies: 1
3
inputs: duration
less
Answer: Carrie