Question: Which is longer, Jane Eyre that was nominated for an Academy Award for Best Costume Design or Queen of the Damned?
Choices:
Rebecca
The Hunchback of Notre Dame
Training Day
Jane Eyre
Talk to Her
Curse of the Golden Flower
Pleasantville
A Prairie Home Companion
Queen of the Damned
The Fifth Element
Answer: Jane Eyre
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> "Queen of the Damned" .  } ?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: Queen of the Damned
function: SelectBetween
dependencies: 3
4
inputs: duration
greater