Question: Does 2010: The Year We Make Contact or Twister (the one whose publication date is 1989-01-01) have less duration?
Choices:
Curse of the Golden Flower
The Hunchback of Notre Dame
The Towering Inferno
Training Day
A Prairie Home Companion
Pleasantville
Rebecca
Twister
2010: The Year We Make Contact
The Fifth Element
Program:
function: Find
inputs: 2010: The Year We Make Contact
function: Find
inputs: Twister
function: FilterDate
dependencies: 1
inputs: publication date
1989-01-01
=
function: SelectBetween
dependencies: 0
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "2010: The Year We Make Contact" . } UNION { ?e <pred:name> "Twister" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1989-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Twister