Question: Which is shorter, Alice in Wonderland released in Finland or Homeland?
Choices:
Six Feet Under
Bleak House
Dancing with the Stars
Alice in Wonderland
Game of Thrones
Phineas and Ferb
Robot Chicken
Homeland
Saturday Night's Main Event
Seinfeld
Program:
function: Find
inputs: Finland
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Alice in Wonderland
function: And
dependencies: 1
2
function: Find
inputs: Homeland
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Alice in Wonderland" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Finland" .   } UNION { ?e <pred:name> "Homeland" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Homeland