Question: Is the run-time lengthier for The Incredibles, issued on 2004-12-09, or Kung Fu Panda, released in Colombia?
Choices:
Lilo & Stitch
Aladdin
The Incredibles
Beauty and the Beast
Kung Fu Panda
Peter Pan
The Rescuers
WALL·E
Shrek 2
Renaissance
Program:
function: Find
inputs: The Incredibles
function: FilterDate
dependencies: 0
inputs: publication date
2004-12-09
=
function: Find
inputs: Colombia
function: Relate
dependencies: 2
inputs: film release region
backward
function: Find
inputs: Kung Fu Panda
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Incredibles" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2004-12-09"^^xsd:date . } UNION { ?e <pred:name> "Kung Fu Panda" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Colombia" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Incredibles