Question: Which has a greater duration, The Adventures of Ford Fairlane or Annie (whose release region is Spain)?
Choices: The Fifth Element
The Adventures of Ford Fairlane
The Hunchback of Notre Dame
Talk to Her
A Prairie Home Companion
Curse of the Golden Flower
Rebecca
The Towering Inferno
Annie
Pleasantville
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Adventures of Ford Fairlane" .  } UNION { ?e <pred:name> "Annie" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Spain" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Adventures of Ford Fairlane
function: Find
inputs: Spain
function: Relate
dependencies: 1
inputs: film release region
backward
function: Find
inputs: Annie
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
Answer: Annie