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