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