Question: Is the longer work Kung Fu Panda 2, released on  2011-05-22, or Mobile Suit Gundam: Char's Counterattack?
Choices:
Kung Fu Panda 2
Shrek 2
Lilo & Stitch
WALL·E
Mobile Suit Gundam: Char's Counterattack
Winnie the Pooh
Aladdin
The Rescuers
Beauty and the Beast
Renaissance
Answer: Mobile Suit Gundam: Char's Counterattack
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kung Fu Panda 2" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2011-05-22"^^xsd:date . } UNION { ?e <pred:name> "Mobile Suit Gundam: Char's Counterattack" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Kung Fu Panda 2
function: FilterDate
dependencies: 0
inputs: publication date
2011-05-22
=
function: Find
inputs: Mobile Suit Gundam: Char's Counterattack
function: SelectBetween
dependencies: 1
2
inputs: duration
greater