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