Question: Does Titanic (the one whose publication date is 1996-01-01) or Sonic the Hedgehog (the one whose publication date is 1993-01-01) have less duration ?
Choices:
Tiny Toon Adventures
The Venture Bros.
Sonic the Hedgehog
The Cleveland Show
Batman Beyond
Robot Chicken
South Park
Phineas and Ferb
American Dad!
Aladdin
Program:
function: Find
inputs: Titanic
function: FilterDate
dependencies: 0
inputs: publication date
1996-01-01
=
function: Find
inputs: Sonic the Hedgehog
function: FilterDate
dependencies: 2
inputs: publication date
1993-01-01
=
function: SelectBetween
dependencies: 1
3
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Titanic" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1996-01-01"^^xsd:date . } UNION { ?e <pred:name> "Sonic the Hedgehog" . ?e <publication_date> ?pv_2 . ?pv_2 <pred:date> "1993-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Sonic the Hedgehog