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