Question: Which is longer, TMNT published on 2008-02-08 or Chicken Little that stars voice actor Zach Braff?
Choices:
Beauty and the Beast
Winnie the Pooh
Chicken Little
The Rescuers
Lilo & Stitch
Peter Pan
Shrek 2
Aladdin
TMNT
Renaissance
Answer: TMNT
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "TMNT" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2008-02-08"^^xsd:date . } UNION { ?e <pred:name> "Chicken Little" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> "Zach Braff" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: TMNT
function: FilterDate
dependencies: 0
inputs: publication date
2008-02-08
=
function: Find
inputs: Zach Braff
function: Relate
dependencies: 2
inputs: voice actor
backward
function: Find
inputs: Chicken Little
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
greater