Question: Which is longer, The People vs. Larry Flynt or Armageddon starring Will Patton?
Choices:
Armageddon
Rebecca
The Fifth Element
The People vs. Larry Flynt
Talk to Her
The Towering Inferno
A Prairie Home Companion
Pleasantville
Training Day
Curse of the Golden Flower
Program:
function: Find
inputs: The People vs. Larry Flynt
function: Find
inputs: Will Patton
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Armageddon
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The People vs. Larry Flynt" .  } UNION { ?e <pred:name> "Armageddon" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Will Patton" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Armageddon