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