Question: Which film has the longer runtime, Shame (released in Venezuela) or The Stepford Wives (whose director is Bryan Forbes)?
Choices:
Curse of the Golden Flower
Training Day
Rebecca
Shame
Talk to Her
The Stepford Wives
The Hunchback of Notre Dame
The Towering Inferno
Pleasantville
A Prairie Home Companion
Program:
function: Find
inputs: Venezuela
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Shame
function: And
dependencies: 1
2
function: Find
inputs: Bryan Forbes
function: Relate
dependencies: 4
inputs: director
backward
function: Find
inputs: The Stepford Wives
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Shame" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Venezuela" .   } UNION { ?e <pred:name> "The Stepford Wives" . ?e <director> ?e_2 . ?e_2 <pred:name> "Bryan Forbes" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Stepford Wives