Question: Which film has the lower cost, 2012 or Hello, Dolly! (that cost 25000000 United States dollars)?
Choices: A Prairie Home Companion
The Fifth Element
Curse of the Golden Flower
2012
Hello, Dolly!
Training Day
The Hunchback of Notre Dame
The Towering Inferno
Pleasantville
Talk to Her
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "2012" . } UNION { ?e <pred:name> "Hello, Dolly!" . ?e <cost> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> "25000000"^^xsd:double . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: 2012
function: Find
inputs: Hello, Dolly!
function: FilterNum
dependencies: 1
inputs: cost
25000000 United States dollar
=
function: SelectBetween
dependencies: 0
2
inputs: cost
less
Answer: Hello, Dolly!