Question: Does Cars (the one whose release region is Mexico) or Shark Tale (the one whose publication date is 2004-10-14) have less duration?
Choices:
Lilo & Stitch
The Rescuers
Shark Tale
WALL·E
Cars
Renaissance
Aladdin
Beauty and the Beast
Winnie the Pooh
Shrek 2
Program:
function: Find
inputs: Mexico
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Cars
function: And
dependencies: 1
2
function: Find
inputs: Shark Tale
function: FilterDate
dependencies: 4
inputs: publication date
2004-10-14
=
function: SelectBetween
dependencies: 3
5
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cars" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Mexico" . } UNION { ?e <pred:name> "Shark Tale" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2004-10-14"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Shark Tale