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