Question: Which movie is shorter, Sun (the one whose title is Sole) or Spellbound (the one whose CANTIC-ID is a12010339)?
Choices:
Training Day
A Prairie Home Companion
The Hunchback of Notre Dame
Spellbound
The Fifth Element
Talk to Her
Sun
Pleasantville
Curse of the Golden Flower
Rebecca
Program:
function: Find
inputs: Sun
function: FilterStr
dependencies: 0
inputs: title
Sole
function: Find
inputs: Spellbound
function: FilterStr
dependencies: 2
inputs: CANTIC-ID
a12010339
function: SelectBetween
dependencies: 1
3
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sun" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "Sole" . } UNION { ?e <pred:name> "Spellbound" . ?e <CANTIC-ID> ?pv_2 . ?pv_2 <pred:value> "a12010339" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Sun