Question: Which movie is shorter, Freddy vs. Jason or Home Alone (the one whose release region is Thailand)?
Choices:
The Hunchback of Notre Dame
The Towering Inferno
Rebecca
A Prairie Home Companion
The Fifth Element
Pleasantville
Curse of the Golden Flower
Home Alone
Freddy vs. Jason
Talk to Her
Program:
function: Find
inputs: Freddy vs. Jason
function: Find
inputs: Thailand
function: Relate
dependencies: 1
inputs: film release region
backward
function: Find
inputs: Home Alone
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Freddy vs. Jason" .  } UNION { ?e <pred:name> "Home Alone" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Thailand" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Freddy vs. Jason