Question: Which one has more running time between TMNT (the one released in 2007-04-12) and Peter Pan (the one released in 1953-12-22)?
Choices:
Shrek 2
TMNT
Renaissance
Lilo & Stitch
The Rescuers
Peter Pan
Aladdin
Winnie the Pooh
WALL·E
Beauty and the Beast
Answer: TMNT
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "TMNT" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2007-04-12"^^xsd:date . } UNION { ?e <pred:name> "Peter Pan" . ?e <publication_date> ?pv_2 . ?pv_2 <pred:date> "1953-12-22"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: TMNT
function: FilterDate
dependencies: 0
inputs: publication date
2007-04-12
=
function: Find
inputs: Peter Pan
function: FilterDate
dependencies: 2
inputs: publication date
1953-12-22
=
function: SelectBetween
dependencies: 1
3
inputs: duration
greater