Question: Which one, Joan of Arc (the one that has Ingrid Bergman as a cast member) or Close Encounters of the Third Kind, has less duration?
Choices: The Fifth Element
Close Encounters of the Third Kind
Joan of Arc
Talk to Her
The Hunchback of Notre Dame
A Prairie Home Companion
Training Day
Rebecca
Curse of the Golden Flower
The Towering Inferno
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Joan of Arc" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Ingrid Bergman" .   } UNION { ?e <pred:name> "Close Encounters of the Third Kind" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Ingrid Bergman
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Joan of Arc
function: And
dependencies: 1
2
function: Find
inputs: Close Encounters of the Third Kind
function: SelectBetween
dependencies: 3
4
inputs: duration
less
Answer: Joan of Arc