Question: Which one is longer, II Postino the postman or King Kong (which was published on 1976-12-17)
Choices:
The Hunchback of Notre Dame
A Prairie Home Companion
The Towering Inferno
The Fifth Element
King Kong
Pleasantville
Training Day
Rebecca
Curse of the Golden Flower
Il Postino: The Postman
Program:
function: Find
inputs: Il Postino: The Postman
function: Find
inputs: King Kong
function: FilterDate
dependencies: 1
inputs: publication date
1976-12-17
=
function: SelectBetween
dependencies: 0
2
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Il Postino: The Postman" . } UNION { ?e <pred:name> "King Kong" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1976-12-17"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: King Kong