Question: Which has a longer duration, Titanic, with a script written by Charles Brackett, or The Station Agent?
Choices:
Rebecca
The Hunchback of Notre Dame
Titanic
The Towering Inferno
Curse of the Golden Flower
A Prairie Home Companion
Pleasantville
The Fifth Element
Training Day
Talk to Her
Answer: Titanic
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Titanic" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> "Charles Brackett" .   } UNION { ?e <pred:name> "The Station Agent" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Charles Brackett
function: Relate
dependencies: 0
inputs: screenwriter
backward
function: Find
inputs: Titanic
function: And
dependencies: 1
2
function: Find
inputs: The Station Agent
function: SelectBetween
dependencies: 3
4
inputs: duration
greater