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