Question: Which one is shorter, Kung Fu Panda 2 in English or The Lorax (the one released in Ukraine)?
Choices:
The Rescuers
Winnie the Pooh
Beauty and the Beast
Lilo & Stitch
Shrek 2
Aladdin
Kung Fu Panda 2
The Lorax
Peter Pan
Renaissance
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: original language of film or TV show
backward
function: Find
inputs: Kung Fu Panda 2
function: And
dependencies: 1
2
function: Find
inputs: Ukraine
function: Relate
dependencies: 4
inputs: film release region
backward
function: Find
inputs: The Lorax
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kung Fu Panda 2" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> "English" .   } UNION { ?e <pred:name> "The Lorax" . ?e <film_release_region> ?e_2 . ?e_2 <pred:name> "Ukraine" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Lorax