Question: Which is longer, The Bridges of Madison County or Star Wars Episode IV: A New Hope (the one whose release region is New Zealand)?
Choices:
The Towering Inferno
Training Day
Curse of the Golden Flower
A Prairie Home Companion
Star Wars Episode IV: A New Hope
The Fifth Element
The Bridges of Madison County
The Hunchback of Notre Dame
Talk to Her
Rebecca
Program:
function: Find
inputs: The Bridges of Madison County
function: Find
inputs: New Zealand
function: Relate
dependencies: 1
inputs: film release region
backward
function: Find
inputs: Star Wars Episode IV: A New Hope
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Bridges of Madison County" .  } UNION { ?e <pred:name> "Star Wars Episode IV: A New Hope" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "New Zealand" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Bridges of Madison County