Question: Which has a lesser duration, The House of Mirth or The Three Musketeers (which has cast member Gene Kelly)?
Choices:
Talk to Her
The Towering Inferno
Training Day
The Three Musketeers
Curse of the Golden Flower
The Fifth Element
A Prairie Home Companion
The House of Mirth
Rebecca
Pleasantville
Answer: The Three Musketeers
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The House of Mirth" .  } UNION { ?e <pred:name> "The Three Musketeers" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Gene Kelly" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: The House of Mirth
function: Find
inputs: Gene Kelly
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: The Three Musketeers
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less