Question: Does Walt Disney Pictures' production of A Bug's Life or The Incredibles, published on 2004-11-05, have the shorter run-time?
Choices:
Shrek 2
Beauty and the Beast
Winnie the Pooh
Aladdin
A Bug's Life
The Incredibles
WALL·E
The Rescuers
Peter Pan
Renaissance
Answer: A Bug's Life
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "A Bug's Life" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Walt Disney Pictures" . } UNION { ?e <pred:name> "The Incredibles" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2004-11-05"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Walt Disney Pictures
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: A Bug's Life
function: And
dependencies: 1
2
function: Find
inputs: The Incredibles
function: FilterDate
dependencies: 4
inputs: publication date
2004-11-05
=
function: SelectBetween
dependencies: 3
5
inputs: duration
less