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