Question: Is the shorter work Glory, from Bulgaria, or The Longest Day?
Choices:
Talk to Her
Rebecca
Pleasantville
The Fifth Element
Training Day
Curse of the Golden Flower
The Longest Day
Glory
The Hunchback of Notre Dame
The Towering Inferno
Program:
function: Find
inputs: Bulgaria
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Glory
function: And
dependencies: 1
2
function: Find
inputs: The Longest Day
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Glory" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "Bulgaria" .   } UNION { ?e <pred:name> "The Longest Day" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Glory