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