Question: Which movie is longer, Mickey's Magical Christmas: Snowed in at the House of Mouse or Tuvalu (the one whose publication date is 1999-01-01)?
Choices:
A Prairie Home Companion
Training Day
Talk to Her
The Towering Inferno
The Hunchback of Notre Dame
Rebecca
Tuvalu
Pleasantville
Mickey's Magical Christmas: Snowed in at the House of Mouse
The Fifth Element
Answer: Tuvalu
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mickey's Magical Christmas: Snowed in at the House of Mouse" . } UNION { ?e <pred:name> "Tuvalu" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1999-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Mickey's Magical Christmas: Snowed in at the House of Mouse
function: Find
inputs: Tuvalu
function: FilterDate
dependencies: 1
inputs: publication date
1999-01-01
=
function: SelectBetween
dependencies: 0
2
inputs: duration
greater