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