Question: Which movie is longer, All That Jazz or The Messenger (the one that was nominated for National Society of Film Critics Award for Best Supporting Actress)?
Choices:
All That Jazz
Pleasantville
Curse of the Golden Flower
The Messenger
Talk to Her
The Hunchback of Notre Dame
The Towering Inferno
Rebecca
The Fifth Element
Training Day
Answer: All That Jazz
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "All That Jazz" .  } UNION { ?e <pred:name> "The Messenger" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "National Society of Film Critics Award for Best Supporting Actress" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: All That Jazz
function: Find
inputs: National Society of Film Critics Award for Best Supporting Actress
function: Relate
dependencies: 1
inputs: nominated for
backward
function: Find
inputs: The Messenger
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater