Question: Is the run-time longer for Yellow Submarine, released in the USA, or The Fugitive, released on 1993-08-06?
Choices:
A Prairie Home Companion
The Towering Inferno
The Fifth Element
Rebecca
Yellow Submarine
Pleasantville
Curse of the Golden Flower
The Fugitive
Training Day
The Hunchback of Notre Dame
Answer: The Fugitive
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Yellow Submarine" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "United States of America" . } UNION { ?e <pred:name> "The Fugitive" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1993-08-06"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Yellow Submarine
function: And
dependencies: 1
2
function: Find
inputs: The Fugitive
function: FilterDate
dependencies: 4
inputs: publication date
1993-08-06
=
function: SelectBetween
dependencies: 3
5
inputs: duration
greater