Question: Is the running time longer for Blues Brothers 2000, published on 1998-01-01, or Brothers, published on 2005-03-31?
Choices:
The Fifth Element
The Towering Inferno
Training Day
Rebecca
The Hunchback of Notre Dame
Pleasantville
Blues Brothers 2000
Brothers
Curse of the Golden Flower
A Prairie Home Companion
Answer: Blues Brothers 2000
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Blues Brothers 2000" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1998-01-01"^^xsd:date . } UNION { ?e <pred:name> "Brothers" . ?e <publication_date> ?pv_2 . ?pv_2 <pred:date> "2005-03-31"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Blues Brothers 2000
function: FilterDate
dependencies: 0
inputs: publication date
1998-01-01
=
function: Find
inputs: Brothers
function: FilterDate
dependencies: 2
inputs: publication date
2005-03-31
=
function: SelectBetween
dependencies: 1
3
inputs: duration
greater