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