Question: Which ones is shorter, Hope Spring, released in Spain, or Blade II, originating from Germany?
Choices:
Curse of the Golden Flower
Blade II
Pleasantville
The Fifth Element
The Towering Inferno
Hope Springs
Talk to Her
A Prairie Home Companion
Rebecca
Training Day
Program:
function: Find
inputs: Germany
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Blade II
function: And
dependencies: 1
2
function: Find
inputs: Spain
function: Relate
dependencies: 4
inputs: film release region
backward
function: Find
inputs: Hope Springs
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Blade II" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "Germany" .   } UNION { ?e <pred:name> "Hope Springs" . ?e <film_release_region> ?e_2 . ?e_2 <pred:name> "Spain" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Hope Springs