Question: Is the longer work The Boat That Rocked or Hamlet, released on 1990-01-01?
Choices:
Hamlet
The Fifth Element
Rebecca
The Towering Inferno
Training Day
Pleasantville
The Boat That Rocked
A Prairie Home Companion
Talk to Her
The Hunchback of Notre Dame
Answer: The Boat That Rocked
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Boat That Rocked" . } UNION { ?e <pred:name> "Hamlet" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1990-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Boat That Rocked
function: Find
inputs: Hamlet
function: FilterDate
dependencies: 1
inputs: publication date
1990-01-01
=
function: SelectBetween
dependencies: 0
2
inputs: duration
greater