Question: Which film has the shorter running time, Cleopatra (released on 1970-01-01) or Priest (produced by BBC Films)?
Choices:
A Prairie Home Companion
Rebecca
The Towering Inferno
Pleasantville
Training Day
Priest
Curse of the Golden Flower
Cleopatra
The Hunchback of Notre Dame
Talk to Her
Answer: Priest
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cleopatra" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1970-01-01"^^xsd:date . } UNION { ?e <pred:name> "Priest" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "BBC Films" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Cleopatra
function: FilterDate
dependencies: 0
inputs: publication date
1970-01-01
=
function: Find
inputs: BBC Films
function: Relate
dependencies: 2
inputs: production company
backward
function: Find
inputs: Priest
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
less