Question: Is the Oliver Twist released in Hungary or Cats & Dogs the shorter of the two?
Choices:
Curse of the Golden Flower
Talk to Her
A Prairie Home Companion
Oliver Twist
Cats & Dogs
The Hunchback of Notre Dame
The Towering Inferno
Rebecca
Training Day
Pleasantville
Program:
function: Find
inputs: Hungary
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Oliver Twist
function: And
dependencies: 1
2
function: Find
inputs: Cats & Dogs
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Oliver Twist" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Hungary" .   } UNION { ?e <pred:name> "Cats & Dogs" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Cats & Dogs