Question: Which is longer, The Witches of Eastwick, published October 29, 1987 or Styx?
Choices:
Styx
Training Day
The Towering Inferno
The Fifth Element
A Prairie Home Companion
Curse of the Golden Flower
Talk to Her
The Witches of Eastwick
Pleasantville
Rebecca
Program:
function: Find
inputs: The Witches of Eastwick
function: FilterDate
dependencies: 0
inputs: publication date
1987-10-29
=
function: Find
inputs: Styx
function: FilterStr
dependencies: 2
inputs: title
Styx
function: SelectBetween
dependencies: 1
3
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Witches of Eastwick" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1987-10-29"^^xsd:date . } UNION { ?e <pred:name> "Styx" . ?e <title> ?pv_2 . ?pv_2 <pred:value> "Styx" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Witches of Eastwick