Question: Tell me which one has a longer run time, Sailor Moon Super S: The Movie or Red Dragon (the one whose publication date is 2002-09-24)
Choices:
Rebecca
Red Dragon
The Fifth Element
Talk to Her
Pleasantville
Curse of the Golden Flower
The Hunchback of Notre Dame
The Towering Inferno
A Prairie Home Companion
Sailor Moon Super S: The Movie
Program:
function: Find
inputs: Sailor Moon Super S: The Movie
function: Find
inputs: Red Dragon
function: FilterDate
dependencies: 1
inputs: publication date
2002-09-24
=
function: SelectBetween
dependencies: 0
2
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sailor Moon Super S: The Movie" . } UNION { ?e <pred:name> "Red Dragon" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2002-09-24"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Red Dragon