Question: Which movie is longer, Alvin and the Chipmunks: The Squeakquel or Splash (the one whose publication date is 1984-09-21)?
Choices: Splash
Alvin and the Chipmunks: The Squeakquel
The Muppets
The Flintstones in Viva Rock Vegas
G-Force
National Treasure: Book of Secrets
Holes
Old Dogs
Alvin and the Chipmunks: Chipwrecked
John Carter
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Alvin and the Chipmunks: The Squeakquel" . } UNION { ?e <pred:name> "Splash" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1984-09-21"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Alvin and the Chipmunks: The Squeakquel
function: Find
inputs: Splash
function: FilterDate
dependencies: 1
inputs: publication date
1984-09-21
=
function: SelectBetween
dependencies: 0
2
inputs: duration
greater
Answer: Splash