Question: Is the running time longer on Entourage, with David Arquette as a cast member, or Bewitched, with Will Ferrell as a cast member?
Choices:
Bewitched
The Fifth Element
Rebecca
A Prairie Home Companion
Training Day
Pleasantville
The Towering Inferno
Talk to Her
Entourage
The Hunchback of Notre Dame
Answer: Entourage
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Entourage" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "David Arquette" .   } UNION { ?e <pred:name> "Bewitched" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Will Ferrell" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: David Arquette
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Entourage
function: And
dependencies: 1
2
function: Find
inputs: Will Ferrell
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: Bewitched
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater