Question: Which movie is shorter, Metropolis (the one whose genre is silent film) or The Best Exotic Marigold Hotel?
Choices:
The Hunchback of Notre Dame
The Fifth Element
Metropolis
Training Day
Curse of the Golden Flower
The Towering Inferno
Talk to Her
A Prairie Home Companion
The Best Exotic Marigold Hotel
Pleasantville
Answer: The Best Exotic Marigold Hotel
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Metropolis" . ?e <genre> ?e_1 . ?e_1 <pred:name> "silent film" .   } UNION { ?e <pred:name> "The Best Exotic Marigold Hotel" .  } ?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: Metropolis
function: And
dependencies: 1
2
function: Find
inputs: The Best Exotic Marigold Hotel
function: SelectBetween
dependencies: 3
4
inputs: duration
less