Question: Is "Courage Under Fire" or the action film "You Only Live Twice" shorter?
Choices:
You Only Live Twice
Pleasantville
A Prairie Home Companion
Curse of the Golden Flower
Talk to Her
The Towering Inferno
Rebecca
Training Day
Courage Under Fire
The Fifth Element
Program:
function: Find
inputs: Courage Under Fire
function: Find
inputs: action film
function: Relate
dependencies: 1
inputs: genre
backward
function: Find
inputs: You Only Live Twice
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Courage Under Fire" .  } UNION { ?e <pred:name> "You Only Live Twice" . ?e <genre> ?e_1 . ?e_1 <pred:name> "action film" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Courage Under Fire