Question: Which is longer, The Lion King released in Taiwan or Seabiscuit?
Choices:
Rebecca
Talk to Her
The Lion King
Training Day
The Hunchback of Notre Dame
Seabiscuit
A Prairie Home Companion
Pleasantville
Curse of the Golden Flower
The Fifth Element
Program:
function: Find
inputs: Taiwan
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: The Lion King
function: And
dependencies: 1
2
function: Find
inputs: Seabiscuit
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Lion King" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Taiwan" .   } UNION { ?e <pred:name> "Seabiscuit" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Seabiscuit