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