Question: which one is longer, The Turning Point (which is entitled Великий перелом) or Very Bad Things
Choices:
The Towering Inferno
Pleasantville
The Hunchback of Notre Dame
Rebecca
The Fifth Element
A Prairie Home Companion
Curse of the Golden Flower
The Turning Point
Talk to Her
Training Day
Program:
function: Find
inputs: The Turning Point
function: FilterStr
dependencies: 0
inputs: title
Великий перелом
function: Find
inputs: Very Bad Things
function: SelectBetween
dependencies: 1
2
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Turning Point" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "Великий перелом" . } UNION { ?e <pred:name> "Very Bad Things" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Turning Point