Question: Is Vanity Fair, released on 1932-01-01, or Mission: Impossible III the shorter of these two works?
Choices:
A Prairie Home Companion
Training Day
The Fifth Element
The Hunchback of Notre Dame
The Towering Inferno
Rebecca
Mission: Impossible III
Pleasantville
Talk to Her
Vanity Fair
Program:
function: Find
inputs: Vanity Fair
function: FilterDate
dependencies: 0
inputs: publication date
1932-01-01
=
function: Find
inputs: Mission: Impossible III
function: SelectBetween
dependencies: 1
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Vanity Fair" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1932-01-01"^^xsd:date . } UNION { ?e <pred:name> "Mission: Impossible III" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Vanity Fair