Question: Which is longer, Anna Karenina released in the U.K. or Rachel Getting Married?
Choices:
The Fifth Element
A Prairie Home Companion
Rachel Getting Married
The Hunchback of Notre Dame
Rebecca
Talk to Her
Curse of the Golden Flower
Training Day
Anna Karenina
The Towering Inferno
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Anna Karenina
function: And
dependencies: 1
2
function: Find
inputs: Rachel Getting Married
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Anna Karenina" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "United Kingdom" .   } UNION { ?e <pred:name> "Rachel Getting Married" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Anna Karenina