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