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