Question: Which movie is longer, Ponyo on the Cliff by the Sea or The Last of the Mohicans (the one whose publication date is 1920-01-01)?
Choices: Magic Knight Rayearth
Vampire Knight
My-HiME
Sonic X
Chrono Crusade
Fullmetal Alchemist the Movie: Conqueror of Shamballa
Ponyo on the Cliff by the Sea
The Super Dimension Fortress Macross
The Last of the Mohicans
Magical Girl Lyrical Nanoha
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ponyo on the Cliff by the Sea" . } UNION { ?e <pred:name> "The Last of the Mohicans" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1920-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Ponyo on the Cliff by the Sea
function: Find
inputs: The Last of the Mohicans
function: FilterDate
dependencies: 1
inputs: publication date
1920-01-01
=
function: SelectBetween
dependencies: 0
2
inputs: duration
greater
Answer: Ponyo on the Cliff by the Sea