Question: Which movie is shorter, TMNT (the one whose publication date is 2007-03-23) or Cars (the one that received 2007 Grammy Awards)?
Choices: Shrek 2
Aladdin
TMNT
WALL·E
Winnie the Pooh
Renaissance
Peter Pan
Beauty and the Beast
Cars
The Rescuers
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "TMNT" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2007-03-23"^^xsd:date . } UNION { ?e <pred:name> "Cars" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "2007 Grammy Awards" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: TMNT
function: FilterDate
dependencies: 0
inputs: publication date
2007-03-23
=
function: Find
inputs: 2007 Grammy Awards
function: Relate
dependencies: 2
inputs: award received
backward
function: Find
inputs: Cars
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
less
Answer: TMNT