Question: Which one is shorter, Rush (one of the cast members is Sam Elliott) or Hotel Rwanda ?
Choices:
The Towering Inferno
Training Day
The Fifth Element
Rebecca
Talk to Her
Hotel Rwanda
Curse of the Golden Flower
A Prairie Home Companion
Rush
The Hunchback of Notre Dame
Program:
function: Find
inputs: Sam Elliott
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Rush
function: And
dependencies: 1
2
function: Find
inputs: Hotel Rwanda
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rush" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Sam Elliott" .   } UNION { ?e <pred:name> "Hotel Rwanda" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Rush