Question: Which is longer, Jaws released in West Germany or Glory published on 1956-01-01?
Choices:
The Fifth Element
Jaws
A Prairie Home Companion
Curse of the Golden Flower
The Hunchback of Notre Dame
Rebecca
Pleasantville
Training Day
Glory
The Towering Inferno
Program:
function: Find
inputs: West Germany
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Jaws
function: And
dependencies: 1
2
function: Find
inputs: Glory
function: FilterDate
dependencies: 4
inputs: publication date
1956-01-01
=
function: SelectBetween
dependencies: 3
5
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jaws" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "West Germany" . } UNION { ?e <pred:name> "Glory" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1956-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Jaws