Question: Which one has more running time between Star Trek Ⅵ: The Undiscovered Country and The End of the Affair (the one released in 1955-01-01)?
Choices:
Pleasantville
Curse of the Golden Flower
The Fifth Element
The Hunchback of Notre Dame
Training Day
Rebecca
A Prairie Home Companion
Star Trek Ⅵ: The Undiscovered Country
The Towering Inferno
The End of the Affair
Answer: Star Trek Ⅵ: The Undiscovered Country
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Star Trek Ⅵ: The Undiscovered Country" . } UNION { ?e <pred:name> "The End of the Affair" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1955-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Star Trek Ⅵ: The Undiscovered Country
function: Find
inputs: The End of the Affair
function: FilterDate
dependencies: 1
inputs: publication date
1955-01-01
=
function: SelectBetween
dependencies: 0
2
inputs: duration
greater