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