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