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