Question: Which movie is shorter, Earth (the one whose genre is silent film) or Love Is a Many-Splendored Thing?
Choices:
Rebecca
Earth
Hamlet
Little Women
Love Is a Many-Splendored Thing
Paris
The Hunchback of Notre Dame
A Prairie Home Companion
Pleasantville
The Scarlet Letter
Answer: Earth
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Earth" . ?e <genre> ?e_1 . ?e_1 <pred:name> "silent 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: silent film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Earth
function: And
dependencies: 1
2
function: Find
inputs: Love Is a Many-Splendored Thing
function: SelectBetween
dependencies: 3
4
inputs: duration
less