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