Question: Is the run time shorter for Metropolis (published 2001-01-01) or Ice Age: Dawn of the Dinosaurs (published 2009-07-01)?
Choices: Beauty and the Beast
Shrek 2
Aladdin
Peter Pan
Lilo & Stitch
Metropolis
Renaissance
Ice Age: Dawn of the Dinosaurs
WALL·E
Winnie the Pooh
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Metropolis" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2001-01-01"^^xsd:date . } UNION { ?e <pred:name> "Ice Age: Dawn of the Dinosaurs" . ?e <publication_date> ?pv_2 . ?pv_2 <pred:date> "2009-07-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Metropolis
function: FilterDate
dependencies: 0
inputs: publication date
2001-01-01
=
function: Find
inputs: Ice Age: Dawn of the Dinosaurs
function: FilterDate
dependencies: 2
inputs: publication date
2009-07-01
=
function: SelectBetween
dependencies: 1
3
inputs: duration
less
Answer: Ice Age: Dawn of the Dinosaurs