Question: Which is longer, Dangerous Liaisons (the one that was nominated for National Society of Film Critics Award for Best Supporting Actress) or The Time Machine (the one whose distributor is Metro-Goldwyn-Mayer)?
Choices:
The Towering Inferno
Pleasantville
The Time Machine
The Hunchback of Notre Dame
Training Day
A Prairie Home Companion
Rebecca
Dangerous Liaisons
The Fifth Element
Curse of the Golden Flower
Program:
function: Find
inputs: National Society of Film Critics Award for Best Supporting Actress
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Dangerous Liaisons
function: And
dependencies: 1
2
function: Find
inputs: Metro-Goldwyn-Mayer
function: Relate
dependencies: 4
inputs: distributor
backward
function: Find
inputs: The Time Machine
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dangerous Liaisons" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "National Society of Film Critics Award for Best Supporting Actress" .   } UNION { ?e <pred:name> "The Time Machine" . ?e <distributor> ?e_2 . ?e_2 <pred:name> "Metro-Goldwyn-Mayer" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Dangerous Liaisons