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