Question: Which is shorter, Carrie whose release region is West Germany or Knocked Up?
Choices:
The Towering Inferno
Talk to Her
The Fifth Element
Carrie
Knocked Up
Training Day
A Prairie Home Companion
The Hunchback of Notre Dame
Pleasantville
Rebecca
Program:
function: Find
inputs: West Germany
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Carrie
function: And
dependencies: 1
2
function: Find
inputs: Knocked Up
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Carrie" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "West Germany" .   } UNION { ?e <pred:name> "Knocked Up" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Carrie