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