Question: Which one has more running time between  Kentucky (the one that mainly depicts horse racing) and The Killer Inside Me (the one that has Ned Beatty as a cast member)?
Choices:
Kentucky
The Fifth Element
The Towering Inferno
The Hunchback of Notre Dame
Curse of the Golden Flower
The Killer Inside Me
A Prairie Home Companion
Rebecca
Training Day
Pleasantville
Answer: The Killer Inside Me
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kentucky" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> "horse racing" .   } UNION { ?e <pred:name> "The Killer Inside Me" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Ned Beatty" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: horse racing
function: Relate
dependencies: 0
inputs: main subject
backward
function: Find
inputs: Kentucky
function: And
dependencies: 1
2
function: Find
inputs: Ned Beatty
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: The Killer Inside Me
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater