Question: Which movie is shorter, Blade: Trinity or Porto (from France)?
Choices:
Blade: Trinity
The Towering Inferno
The Fifth Element
Pleasantville
Rebecca
Training Day
Curse of the Golden Flower
Porto
The Hunchback of Notre Dame
A Prairie Home Companion
Program:
function: Find
inputs: Blade: Trinity
function: Find
inputs: France
function: Relate
dependencies: 1
inputs: country of origin
backward
function: Find
inputs: Porto
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Blade: Trinity" .  } UNION { ?e <pred:name> "Porto" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "France" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Porto