Question: Which is longer, The Next Best Thing or the originally Danish-language David Copperfield?
Choices:
A Prairie Home Companion
The Towering Inferno
Training Day
David Copperfield
Rebecca
Talk to Her
Pleasantville
The Hunchback of Notre Dame
The Next Best Thing
Curse of the Golden Flower
Program:
function: Find
inputs: The Next Best Thing
function: Find
inputs: Danish
function: Relate
dependencies: 1
inputs: original language of film or TV show
backward
function: Find
inputs: David Copperfield
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Next Best Thing" .  } UNION { ?e <pred:name> "David Copperfield" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> "Danish" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: David Copperfield