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