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