Question: Which movie is longer, Zack and Miri Make a Porno or Jane Eyre (the one whose release region is South Africa)?
Choices: The Towering Inferno
Jane Eyre
Zack and Miri Make a Porno
Rebecca
The Fifth Element
Training Day
The Hunchback of Notre Dame
Curse of the Golden Flower
A Prairie Home Companion
Talk to Her
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Zack and Miri Make a Porno" .  } UNION { ?e <pred:name> "Jane Eyre" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "South Africa" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Zack and Miri Make a Porno
function: Find
inputs: South Africa
function: Relate
dependencies: 1
inputs: film release region
backward
function: Find
inputs: Jane Eyre
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
Answer: Jane Eyre