Question: Which movie is longer, Jerry Maguire or The Three Musketeers (the one whose cost is 12000000 United States dollar)?
Choices: The Fifth Element
A Prairie Home Companion
Pleasantville
Rebecca
Curse of the Golden Flower
Talk to Her
The Three Musketeers
The Towering Inferno
The Hunchback of Notre Dame
Jerry Maguire
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jerry Maguire" . } UNION { ?e <pred:name> "The Three Musketeers" . ?e <cost> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> "12000000"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Jerry Maguire
function: Find
inputs: The Three Musketeers
function: FilterNum
dependencies: 1
inputs: cost
12000000 United States dollar
=
function: SelectBetween
dependencies: 0
2
inputs: duration
greater
Answer: Jerry Maguire