Question: Which is longer, The English Patient or Havana published on 1990-01-01?
Choices:
A Prairie Home Companion
Talk to Her
Training Day
Havana
The Hunchback of Notre Dame
The Fifth Element
Curse of the Golden Flower
The Towering Inferno
The English Patient
Rebecca
Answer: The English Patient
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The English Patient" . } UNION { ?e <pred:name> "Havana" . ?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 English Patient
function: Find
inputs: Havana
function: FilterDate
dependencies: 1
inputs: publication date
1990-01-01
=
function: SelectBetween
dependencies: 0
2
inputs: duration
greater