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