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