Question: Does King Kong, released on 1976-12-17, or Star Wars: Episode III – Revenge of the Sith have the longer run-time?
Choices:
The Hunchback of Notre Dame
Curse of the Golden Flower
King Kong
The Fifth Element
Training Day
Talk to Her
The Towering Inferno
Pleasantville
Rebecca
Star Wars: Episode III – Revenge of the Sith
Program:
function: Find
inputs: King Kong
function: FilterDate
dependencies: 0
inputs: publication date
1976-12-17
=
function: Find
inputs: Star Wars: Episode III – Revenge of the Sith
function: SelectBetween
dependencies: 1
2
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "King Kong" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1976-12-17"^^xsd:date . } UNION { ?e <pred:name> "Star Wars: Episode III – Revenge of the Sith" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Star Wars: Episode III – Revenge of the Sith