Question: Does the longer run-time belong to Get Carter, with Sylvester Stallone as a cast member, or Gettysburg,  a winner at the 63rd Primetime Emmy Awards?
Choices:
The Hunchback of Notre Dame
Training Day
Talk to Her
Get Carter
The Fifth Element
Pleasantville
Rebecca
Gettysburg
The Towering Inferno
A Prairie Home Companion
Answer: Gettysburg
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Get Carter" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Sylvester Stallone" .   } UNION { ?e <pred:name> "Gettysburg" . ?e <award_received> ?e_2 . ?e_2 <pred:name> "63rd Primetime Emmy Awards" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Sylvester Stallone
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Get Carter
function: And
dependencies: 1
2
function: Find
inputs: 63rd Primetime Emmy Awards
function: Relate
dependencies: 4
inputs: award received
backward
function: Find
inputs: Gettysburg
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater