Question: Which movie cost less to make, Sex and the City 2 or Mission: Impossible (the one whose duration is 105 minute)?
Choices: The Fifth Element
The Towering Inferno
Training Day
Talk to Her
Mission: Impossible
The Hunchback of Notre Dame
Pleasantville
Curse of the Golden Flower
Rebecca
A Prairie Home Companion
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sex and the City 2" . } UNION { ?e <pred:name> "Mission: Impossible" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "105"^^xsd:double . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Sex and the City 2
function: Find
inputs: Mission: Impossible
function: FilterNum
dependencies: 1
inputs: duration
105 minute
=
function: SelectBetween
dependencies: 0
2
inputs: cost
less
Answer: Mission: Impossible