Question: Between Sailor Moon S: The Movie or Renaissance, released on 2006-01-01, which is shorter?
Choices:
Shrek 2
Lilo & Stitch
Winnie the Pooh
Beauty and the Beast
WALL·E
Renaissance
The Rescuers
Sailor Moon S: The Movie
Aladdin
Peter Pan
Answer: Sailor Moon S: The Movie
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sailor Moon S: The Movie" . } UNION { ?e <pred:name> "Renaissance" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2006-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Sailor Moon S: The Movie
function: Find
inputs: Renaissance
function: FilterDate
dependencies: 1
inputs: publication date
2006-01-01
=
function: SelectBetween
dependencies: 0
2
inputs: duration
less