Question: Does Twister (that has Dylan McDermott as a member of the cast) or I Now Pronounce You Chuck and Larry have the longer running time?
Choices:
The Fifth Element
Talk to Her
A Prairie Home Companion
The Hunchback of Notre Dame
I Now Pronounce You Chuck and Larry
Pleasantville
Twister
Rebecca
Training Day
The Towering Inferno
Program:
function: Find
inputs: Dylan McDermott
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Twister
function: And
dependencies: 1
2
function: Find
inputs: I Now Pronounce You Chuck and Larry
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Twister" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Dylan McDermott" .   } UNION { ?e <pred:name> "I Now Pronounce You Chuck and Larry" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: I Now Pronounce You Chuck and Larry