Question: Does the shorter run-time belong to the adventure film Clash of the Titans or to On the Waterfront?
Choices:
Pleasantville
Talk to Her
The Towering Inferno
The Fifth Element
The Hunchback of Notre Dame
On the Waterfront
Training Day
A Prairie Home Companion
Curse of the Golden Flower
Clash of the Titans
Answer: On the Waterfront
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Clash of the Titans" . ?e <genre> ?e_1 . ?e_1 <pred:name> "adventure film" .   } UNION { ?e <pred:name> "On the Waterfront" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: adventure film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Clash of the Titans
function: And
dependencies: 1
2
function: Find
inputs: On the Waterfront
function: SelectBetween
dependencies: 3
4
inputs: duration
less