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