Question: Which is longer, Good Will Hunting or The Mummy whose cost is 125000000 USD?
Choices:
Good Will Hunting
Rebecca
The Hunchback of Notre Dame
Training Day
The Towering Inferno
Curse of the Golden Flower
The Mummy
Talk to Her
Pleasantville
The Fifth Element
Program:
function: Find
inputs: Good Will Hunting
function: Find
inputs: The Mummy
function: FilterNum
dependencies: 1
inputs: cost
125000000 United States dollar
=
function: SelectBetween
dependencies: 0
2
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Good Will Hunting" . } UNION { ?e <pred:name> "The Mummy" . ?e <cost> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> "125000000"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Good Will Hunting