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