Question: Which movie is longer, Jane Eyre (the one that was nominated for Academy Award for Best Costume Design) or Murder on the Orient Express (the one whose duration is 93 minute)?
Choices: Jane Eyre
Training Day
The Fifth Element
The Hunchback of Notre Dame
Murder on the Orient Express
Rebecca
A Prairie Home Companion
Curse of the Golden Flower
Pleasantville
Talk to Her
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jane Eyre" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Costume Design" . } UNION { ?e <pred:name> "Murder on the Orient Express" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "93"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Academy Award for Best Costume Design
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Jane Eyre
function: And
dependencies: 1
2
function: Find
inputs: Murder on the Orient Express
function: FilterNum
dependencies: 4
inputs: duration
93 minute
=
function: SelectBetween
dependencies: 3
5
inputs: duration
greater
Answer: Jane Eyre