Question: Which movie is longer, All the King's Men (the one that has Kevin Dunn as a cast member) or 30 Days of Night?
Choices:
Curse of the Golden Flower
Training Day
The Fifth Element
A Prairie Home Companion
Pleasantville
All the King's Men
30 Days of Night
The Towering Inferno
Rebecca
Talk to Her
Answer: All the King's Men
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "All the King's Men" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Kevin Dunn" .   } UNION { ?e <pred:name> "30 Days of Night" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Kevin Dunn
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: All the King's Men
function: And
dependencies: 1
2
function: Find
inputs: 30 Days of Night
function: SelectBetween
dependencies: 3
4
inputs: duration
greater