Question: Which is longer, Jane Eyre published on 1944-01-01 or All the King's Men that received the National Film Registry?
Choices:
Training Day
Jane Eyre
The Towering Inferno
A Prairie Home Companion
All the King's Men
Pleasantville
The Hunchback of Notre Dame
Rebecca
The Fifth Element
Curse of the Golden Flower
Answer: All the King's Men
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jane Eyre" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1944-01-01"^^xsd:date . } UNION { ?e <pred:name> "All the King's Men" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "National Film Registry" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Jane Eyre
function: FilterDate
dependencies: 0
inputs: publication date
1944-01-01
=
function: Find
inputs: National Film Registry
function: Relate
dependencies: 2
inputs: award received
backward
function: Find
inputs: All the King's Men
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
greater