Question: Which movie is longer, The Chronicles of Narnia: The Lion, the Witch and the Wardrobe (the one that was nominated for Saturn Award for Best Costume) or Prince of Persia: The Sands of Time (the one whose publication date is 2010-08-05)?
Choices:
Old Dogs
The Flintstones
G-Force
Alvin and the Chipmunks: Chipwrecked
Holes
The Flintstones in Viva Rock Vegas
John Carter
The Muppets
The Chronicles of Narnia: The Lion, the Witch and the Wardrobe
Prince of Persia: The Sands of Time
Answer: The Chronicles of Narnia: The Lion, the Witch and the Wardrobe
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Chronicles of Narnia: The Lion, the Witch and the Wardrobe" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Saturn Award for Best Costume" . } UNION { ?e <pred:name> "Prince of Persia: The Sands of Time" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2010-08-05"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Saturn Award for Best Costume
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: The Chronicles of Narnia: The Lion, the Witch and the Wardrobe
function: And
dependencies: 1
2
function: Find
inputs: Prince of Persia: The Sands of Time
function: FilterDate
dependencies: 4
inputs: publication date
2010-08-05
=
function: SelectBetween
dependencies: 3
5
inputs: duration
greater