Question: Which movie is longer, Seabiscuit or Romeo and Juliet (the one whose publication date is 1916-01-01)?
Choices:
Pleasantville
Rebecca
The Hunchback of Notre Dame
The Fifth Element
Seabiscuit
Curse of the Golden Flower
Training Day
Romeo and Juliet
The Towering Inferno
Talk to Her
Program:
function: Find
inputs: Seabiscuit
function: Find
inputs: Romeo and Juliet
function: FilterDate
dependencies: 1
inputs: publication date
1916-01-01
=
function: SelectBetween
dependencies: 0
2
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Seabiscuit" . } UNION { ?e <pred:name> "Romeo and Juliet" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1916-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Seabiscuit