Question: Which is shorter in duration, Life is Beautiful which was published on 1979-01-01, or The Holiday?
Choices:
Rebecca
The Hunchback of Notre Dame
Training Day
The Towering Inferno
Curse of the Golden Flower
A Prairie Home Companion
Pleasantville
Life Is Beautiful
The Fifth Element
The Holiday
Answer: Life Is Beautiful
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Holiday" . } UNION { ?e <pred:name> "Life Is Beautiful" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1979-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: The Holiday
function: Find
inputs: Life Is Beautiful
function: FilterDate
dependencies: 1
inputs: publication date
1979-01-01
=
function: SelectBetween
dependencies: 0
2
inputs: duration
less