Question: Which is shorter, This Must Be the Place or April that is shot in Apulia?
Choices:
The Towering Inferno
A Prairie Home Companion
Pleasantville
This Must Be the Place
Training Day
Curse of the Golden Flower
April
Rebecca
The Fifth Element
The Hunchback of Notre Dame
Program:
function: Find
inputs: This Must Be the Place
function: Find
inputs: Apulia
function: Relate
dependencies: 1
inputs: filming location
backward
function: Find
inputs: April
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "This Must Be the Place" .  } UNION { ?e <pred:name> "April" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> "Apulia" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: April