Question: Which is longer, MASH or The Last of the Mohicans published on 1932-01-01?
Choices: The Towering Inferno
The Last of the Mohicans
Rebecca
Talk to Her
Pleasantville
The Hunchback of Notre Dame
MASH
Training Day
Curse of the Golden Flower
The Fifth Element
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "MASH" . } UNION { ?e <pred:name> "The Last of the Mohicans" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1932-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: MASH
function: Find
inputs: The Last of the Mohicans
function: FilterDate
dependencies: 1
inputs: publication date
1932-01-01
=
function: SelectBetween
dependencies: 0
2
inputs: duration
greater
Answer: The Last of the Mohicans