Question: Is North by Northwest or The Damned, released 1961-01-01, the shorter work?
Choices:
Rebecca
Pleasantville
A Prairie Home Companion
Talk to Her
The Fifth Element
North by Northwest
Curse of the Golden Flower
The Damned
The Hunchback of Notre Dame
Training Day
Answer: The Damned
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "North by Northwest" . } UNION { ?e <pred:name> "The Damned" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1961-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: North by Northwest
function: Find
inputs: The Damned
function: FilterDate
dependencies: 1
inputs: publication date
1961-01-01
=
function: SelectBetween
dependencies: 0
2
inputs: duration
less