Question: Which is longer, My Neighbor Totoro or The Bourne Identity (the one with a release region of Italy)?
Choices:
The Bourne Identity
The Towering Inferno
Talk to Her
Pleasantville
The Hunchback of Notre Dame
My Neighbor Totoro
The Fifth Element
Training Day
Rebecca
Curse of the Golden Flower
Program:
function: Find
inputs: My Neighbor Totoro
function: Find
inputs: Italy
function: Relate
dependencies: 1
inputs: film release region
backward
function: Find
inputs: The Bourne Identity
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "My Neighbor Totoro" .  } UNION { ?e <pred:name> "The Bourne Identity" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Italy" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Bourne Identity