Question: Which movie is shorter, Sophie's Choice or Sherlock Holmes (the one whose release region is Germany)?
Choices:
Training Day
Curse of the Golden Flower
The Fifth Element
Sherlock Holmes
Rebecca
The Hunchback of Notre Dame
A Prairie Home Companion
Sophie's Choice
Talk to Her
The Towering Inferno
Program:
function: Find
inputs: Sophie's Choice
function: Find
inputs: Germany
function: Relate
dependencies: 1
inputs: film release region
backward
function: Find
inputs: Sherlock Holmes
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sophie's Choice" .  } UNION { ?e <pred:name> "Sherlock Holmes" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Germany" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Sherlock Holmes