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