Question: Does Mao's Last Dancer or The Killer Inside Me (that has Ned Beatty as a cast member) have the longer runtime?
Choices: Curse of the Golden Flower
The Hunchback of Notre Dame
Mao's Last Dancer
Pleasantville
Talk to Her
A Prairie Home Companion
The Killer Inside Me
The Fifth Element
Rebecca
The Towering Inferno
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mao's Last Dancer" .  } UNION { ?e <pred:name> "The Killer Inside Me" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Ned Beatty" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Mao's Last Dancer
function: Find
inputs: Ned Beatty
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: The Killer Inside Me
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
Answer: Mao's Last Dancer