Question: Between Color of Night or the action film Get Carter, which is shorter?
Choices:
Training Day
Curse of the Golden Flower
Color of Night
The Fifth Element
The Hunchback of Notre Dame
Talk to Her
Rebecca
Get Carter
The Towering Inferno
Pleasantville
Program:
function: Find
inputs: Color of Night
function: Find
inputs: action film
function: Relate
dependencies: 1
inputs: genre
backward
function: Find
inputs: Get Carter
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Color of Night" .  } UNION { ?e <pred:name> "Get Carter" . ?e <genre> ?e_1 . ?e_1 <pred:name> "action film" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Get Carter