Question: Which costed more, The Patriot (the one whose cost is 25000000 United States dollar) or The Hobbit: An Unexpected Journey?
Choices: The Hunchback of Notre Dame
The Towering Inferno
Talk to Her
The Patriot
The Hobbit: An Unexpected Journey
Rebecca
Training Day
Pleasantville
A Prairie Home Companion
The Fifth Element
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Patriot" . ?e <cost> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> "25000000"^^xsd:double . } UNION { ?e <pred:name> "The Hobbit: An Unexpected Journey" . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Patriot
function: FilterNum
dependencies: 0
inputs: cost
25000000 United States dollar
=
function: Find
inputs: The Hobbit: An Unexpected Journey
function: SelectBetween
dependencies: 1
2
inputs: cost
greater
Answer: The Hobbit: An Unexpected Journey