Question: Is the run-time shorter for Shopgirl or for Poltergeist, released in Peru?
Choices:
The Fifth Element
Poltergeist
Pleasantville
Shopgirl
Rebecca
The Towering Inferno
Curse of the Golden Flower
The Hunchback of Notre Dame
Training Day
A Prairie Home Companion
Program:
function: Find
inputs: Shopgirl
function: Find
inputs: Peru
function: Relate
dependencies: 1
inputs: film release region
backward
function: Find
inputs: Poltergeist
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Shopgirl" .  } UNION { ?e <pred:name> "Poltergeist" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Peru" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Shopgirl