Question: Does Get Shorty (the one whose publication date is 1996-02-29) or 50 First Dates have greater duration?
Choices:
The Towering Inferno
The Fifth Element
Get Shorty
Curse of the Golden Flower
Training Day
Pleasantville
The Hunchback of Notre Dame
A Prairie Home Companion
Rebecca
Talk to Her
Answer: Get Shorty
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Get Shorty" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1996-02-29"^^xsd:date . } UNION { ?e <pred:name> "50 First Dates" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Get Shorty
function: FilterDate
dependencies: 0
inputs: publication date
1996-02-29
=
function: Find
inputs: 50 First Dates
function: SelectBetween
dependencies: 1
2
inputs: duration
greater