Question: Does Great Expectations produced by Ronald Neame or Snatch have the longer running time?
Choices:
Snatch
Rebecca
Great Expectations
Pleasantville
Curse of the Golden Flower
The Hunchback of Notre Dame
The Fifth Element
Talk to Her
Training Day
The Towering Inferno
Program:
function: Find
inputs: Ronald Neame
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: Great Expectations
function: And
dependencies: 1
2
function: Find
inputs: Snatch
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Great Expectations" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Ronald Neame" .   } UNION { ?e <pred:name> "Snatch" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Great Expectations