Question: Which movie is shorter, An Inconvenient Truth or Love Affair (the one that was nominated for Academy Award for Best Supporting Actress)?
Choices:
The Hunchback of Notre Dame
An Inconvenient Truth
The Towering Inferno
Love Affair
Talk to Her
A Prairie Home Companion
The Fifth Element
Curse of the Golden Flower
Pleasantville
Rebecca
Program:
function: Find
inputs: An Inconvenient Truth
function: Find
inputs: Academy Award for Best Supporting Actress
function: Relate
dependencies: 1
inputs: nominated for
backward
function: Find
inputs: Love Affair
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "An Inconvenient Truth" .  } UNION { ?e <pred:name> "Love Affair" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Supporting Actress" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: An Inconvenient Truth