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