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