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