Question: Is the cost greater for Little Shop of Horrors or Doctor Zhivago which has Russian as the original language?
Choices:
Little Shop of Horrors
The Towering Inferno
Rebecca
Curse of the Golden Flower
The Hunchback of Notre Dame
A Prairie Home Companion
Doctor Zhivago
Training Day
The Fifth Element
Talk to Her
Program:
function: Find
inputs: Little Shop of Horrors
function: Find
inputs: Russian
function: Relate
dependencies: 1
inputs: original language of film or TV show
backward
function: Find
inputs: Doctor Zhivago
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: cost
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Little Shop of Horrors" .  } UNION { ?e <pred:name> "Doctor Zhivago" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> "Russian" .   } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Little Shop of Horrors