Question: Which film has the longer runtime, Metropolis (released on 2002-10-31) or Ice Age: Continental Drift?
Choices:
Renaissance
Aladdin
Metropolis
Beauty and the Beast
Ice Age: Continental Drift
Peter Pan
Winnie the Pooh
WALL·E
Lilo & Stitch
The Rescuers
Answer: Metropolis
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Metropolis" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2002-10-31"^^xsd:date . } UNION { ?e <pred:name> "Ice Age: Continental Drift" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Metropolis
function: FilterDate
dependencies: 0
inputs: publication date
2002-10-31
=
function: Find
inputs: Ice Age: Continental Drift
function: SelectBetween
dependencies: 1
2
inputs: duration
greater