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