Question: Does Cinderella, with David Warner as a cast member, or Sideways have the shorter run-time?
Choices:
Pleasantville
The Towering Inferno
The Hunchback of Notre Dame
The Fifth Element
Training Day
A Prairie Home Companion
Rebecca
Curse of the Golden Flower
Talk to Her
Cinderella
Program:
function: Find
inputs: David Warner
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Cinderella
function: And
dependencies: 1
2
function: Find
inputs: Sideways
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cinderella" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "David Warner" .   } UNION { ?e <pred:name> "Sideways" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Cinderella