Question: Which one is longer, Beauty and the Beast (the one that received Louis Delluc Prize) or Gattaca ?
Choices:
Curse of the Golden Flower
The Towering Inferno
Pleasantville
Training Day
Beauty and the Beast
Rebecca
Talk to Her
Gattaca
The Hunchback of Notre Dame
A Prairie Home Companion
Program:
function: Find
inputs: Louis Delluc Prize
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: Beauty and the Beast
function: And
dependencies: 1
2
function: Find
inputs: Gattaca
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Beauty and the Beast" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "Louis Delluc Prize" .   } UNION { ?e <pred:name> "Gattaca" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Gattaca