Question: Which movie is longer, Naruto the Movie: Legend of the Stone of Gelel or TMNT (the one whose publication date is 2007-09-13)?
Choices:
TMNT
Winnie the Pooh
Beauty and the Beast
Shrek 2
Naruto the Movie: Legend of the Stone of Gelel
Peter Pan
The Rescuers
Renaissance
Lilo & Stitch
WALL·E
Answer: Naruto the Movie: Legend of the Stone of Gelel
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Naruto the Movie: Legend of the Stone of Gelel" . } UNION { ?e <pred:name> "TMNT" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2007-09-13"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Naruto the Movie: Legend of the Stone of Gelel
function: Find
inputs: TMNT
function: FilterDate
dependencies: 1
inputs: publication date
2007-09-13
=
function: SelectBetween
dependencies: 0
2
inputs: duration
greater