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