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