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