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