Question: Which movie is longer, The Ten Commandments (the one whose film poster is TenCommandments-bigposter-1923.jpg) or Click?
Choices:
The Towering Inferno
The Ten Commandments
Pleasantville
Curse of the Golden Flower
Rebecca
Talk to Her
Click
The Fifth Element
A Prairie Home Companion
Training Day
Program:
function: Find
inputs: The Ten Commandments
function: FilterStr
dependencies: 0
inputs: film poster
TenCommandments-bigposter-1923.jpg
function: Find
inputs: Click
function: SelectBetween
dependencies: 1
2
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Ten Commandments" . ?e <film_poster> ?pv_1 . ?pv_1 <pred:value> "TenCommandments-bigposter-1923.jpg" . } UNION { ?e <pred:name> "Click" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Ten Commandments