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