Question: Which is shorter, The Barbarian Invasions or Cleopatra, released in the People's Republic of China?
Choices:
The Fifth Element
Pleasantville
Curse of the Golden Flower
Cleopatra
The Towering Inferno
A Prairie Home Companion
Training Day
The Barbarian Invasions
The Hunchback of Notre Dame
Rebecca
Program:
function: Find
inputs: The Barbarian Invasions
function: Find
inputs: People's Republic of China
function: Relate
dependencies: 1
inputs: film release region
backward
function: Find
inputs: Cleopatra
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Barbarian Invasions" .  } UNION { ?e <pred:name> "Cleopatra" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "People's Republic of China" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Barbarian Invasions