Question: Which movie is longer, Chariots of Fire (the one that received 54th Academy Awards) or Giant (the one whose duration is 84 minute)?
Choices:
Curse of the Golden Flower
The Towering Inferno
The Hunchback of Notre Dame
The Fifth Element
Pleasantville
Chariots of Fire
A Prairie Home Companion
Rebecca
Giant
Training Day
Answer: Chariots of Fire
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Chariots of Fire" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "54th Academy Awards" . } UNION { ?e <pred:name> "Giant" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "84"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: 54th Academy Awards
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: Chariots of Fire
function: And
dependencies: 1
2
function: Find
inputs: Giant
function: FilterNum
dependencies: 4
inputs: duration
84 minute
=
function: SelectBetween
dependencies: 3
5
inputs: duration
greater