Question: Which movie is shorter, Four Weddings and a Funeral or A Man for All Seasons (the one whose director is Fred Zinnemann)?
Choices:
Pleasantville
A Prairie Home Companion
The Fifth Element
Curse of the Golden Flower
A Man for All Seasons
Talk to Her
Four Weddings and a Funeral
Training Day
The Towering Inferno
The Hunchback of Notre Dame
Answer: Four Weddings and a Funeral
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Four Weddings and a Funeral" .  } UNION { ?e <pred:name> "A Man for All Seasons" . ?e <director> ?e_1 . ?e_1 <pred:name> "Fred Zinnemann" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Four Weddings and a Funeral
function: Find
inputs: Fred Zinnemann
function: Relate
dependencies: 1
inputs: director
backward
function: Find
inputs: A Man for All Seasons
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less