Question: Does Rain Man or The Notebook, released in South Korea, have the shorter run-time?
Choices:
Rebecca
Curse of the Golden Flower
The Towering Inferno
The Notebook
The Fifth Element
Rain Man
Pleasantville
Training Day
The Hunchback of Notre Dame
A Prairie Home Companion
Program:
function: Find
inputs: Rain Man
function: Find
inputs: South Korea
function: Relate
dependencies: 1
inputs: film release region
backward
function: Find
inputs: The Notebook
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rain Man" .  } UNION { ?e <pred:name> "The Notebook" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "South Korea" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Notebook