Question: Which is longer, Elektra ( produced by 20th Century Fox) or The Sting ( whose original language is English)?
Choices:
The Towering Inferno
Pleasantville
Curse of the Golden Flower
The Hunchback of Notre Dame
The Sting
Elektra
Training Day
The Fifth Element
A Prairie Home Companion
Talk to Her
Answer: The Sting
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Elektra" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "20th Century Fox" .   } UNION { ?e <pred:name> "The Sting" . ?e <original_language_of_film_or_TV_show> ?e_2 . ?e_2 <pred:name> "English" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: 20th Century Fox
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: Elektra
function: And
dependencies: 1
2
function: Find
inputs: English
function: Relate
dependencies: 4
inputs: original language of film or TV show
backward
function: Find
inputs: The Sting
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater