Question: Does Rear Window (whose runtime is 112 minutes) or Miracle on 34th Street (whose cost is 630000 United States dollars) have the lower cost?
Choices:
Talk to Her
Training Day
Miracle on 34th Street
The Hunchback of Notre Dame
Curse of the Golden Flower
Rear Window
A Prairie Home Companion
The Towering Inferno
Pleasantville
The Fifth Element
Program:
function: Find
inputs: Rear Window
function: FilterNum
dependencies: 0
inputs: duration
112 minute
=
function: Find
inputs: Miracle on 34th Street
function: FilterNum
dependencies: 2
inputs: cost
630000 United States dollar
=
function: SelectBetween
dependencies: 1
3
inputs: cost
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rear Window" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "112"^^xsd:double . } UNION { ?e <pred:name> "Miracle on 34th Street" . ?e <cost> ?pv_2 . ?pv_2 <pred:unit> "United States dollar" . ?pv_2 <pred:value> "630000"^^xsd:double . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Miracle on 34th Street