Question: Which one, Prince of Persia: The Sands of Time (the one whose publication date is 2009-06-16) or The Santa Clause 3: The Escape Clause, has less duration?
Choices:
Prince of Persia: The Sands of Time
Old Dogs
Alvin and the Chipmunks: Chipwrecked
G-Force
Holes
John Carter
National Treasure: Book of Secrets
The Flintstones in Viva Rock Vegas
The Flintstones
The Santa Clause 3: The Escape Clause
Program:
function: Find
inputs: Prince of Persia: The Sands of Time
function: FilterDate
dependencies: 0
inputs: publication date
2009-06-16
=
function: Find
inputs: The Santa Clause 3: The Escape Clause
function: SelectBetween
dependencies: 1
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Prince of Persia: The Sands of Time" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2009-06-16"^^xsd:date . } UNION { ?e <pred:name> "The Santa Clause 3: The Escape Clause" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Santa Clause 3: The Escape Clause