Question: Which is longer, Wuthering Heights with a 104 minute run time or The Last of the Mohicans published on 1936-01-01?
Choices: The Towering Inferno
Rebecca
The Fifth Element
A Prairie Home Companion
Training Day
The Last of the Mohicans
Wuthering Heights
Talk to Her
Curse of the Golden Flower
The Hunchback of Notre Dame
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Wuthering Heights" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "104"^^xsd:double . } UNION { ?e <pred:name> "The Last of the Mohicans" . ?e <publication_date> ?pv_2 . ?pv_2 <pred:date> "1936-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Wuthering Heights
function: FilterNum
dependencies: 0
inputs: duration
104 minute
=
function: Find
inputs: The Last of the Mohicans
function: FilterDate
dependencies: 2
inputs: publication date
1936-01-01
=
function: SelectBetween
dependencies: 1
3
inputs: duration
greater
Answer: Wuthering Heights