Question: Which has a shorter running time, Valencia (released on 1926-01-01) or The House of Mirth?
Choices:
Rebecca
Pleasantville
The Hunchback of Notre Dame
Curse of the Golden Flower
Valencia
The Towering Inferno
A Prairie Home Companion
Talk to Her
The Fifth Element
The House of Mirth
Program:
function: Find
inputs: Valencia
function: FilterDate
dependencies: 0
inputs: publication date
1926-01-01
=
function: Find
inputs: The House of Mirth
function: SelectBetween
dependencies: 1
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Valencia" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1926-01-01"^^xsd:date . } UNION { ?e <pred:name> "The House of Mirth" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Valencia