Question: Which movie is shorter, The Edge (the one whose original language is Russian) or The Ten Commandments (the one whose film poster is TenCommandments-bigposter-1923.jpg)?
Choices:
The Fifth Element
The Edge
Talk to Her
The Towering Inferno
A Prairie Home Companion
Curse of the Golden Flower
The Hunchback of Notre Dame
Pleasantville
Rebecca
Training Day
Program:
function: Find
inputs: Russian
function: Relate
dependencies: 0
inputs: original language of film or TV show
backward
function: Find
inputs: The Edge
function: And
dependencies: 1
2
function: Find
inputs: The Ten Commandments
function: FilterStr
dependencies: 4
inputs: film poster
TenCommandments-bigposter-1923.jpg
function: SelectBetween
dependencies: 3
5
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Edge" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> "Russian" . } UNION { ?e <pred:name> "The Ten Commandments" . ?e <film_poster> ?pv_1 . ?pv_1 <pred:value> "TenCommandments-bigposter-1923.jpg" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Edge