Question: Is The 40-Year-Old Virgin or Arizona that was published on 1918-01-01 longer?
Choices:
Arizona
The Towering Inferno
Curse of the Golden Flower
Training Day
The 40-Year-Old Virgin
The Hunchback of Notre Dame
Pleasantville
The Fifth Element
Rebecca
Talk to Her
Answer: The 40-Year-Old Virgin
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The 40-Year-Old Virgin" . } UNION { ?e <pred:name> "Arizona" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1918-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The 40-Year-Old Virgin
function: Find
inputs: Arizona
function: FilterDate
dependencies: 1
inputs: publication date
1918-01-01
=
function: SelectBetween
dependencies: 0
2
inputs: duration
greater