Question: Does Singapore (that originates in the United States of America) or Dressed to Kill (whose release date is 1946-01-01) have the shorter runtime?
Choices:
The Fifth Element
Pleasantville
The Towering Inferno
Curse of the Golden Flower
Training Day
Dressed to Kill
Talk to Her
Rebecca
The Hunchback of Notre Dame
A Prairie Home Companion
Answer: Dressed to Kill
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Singapore" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "United States of America" . } UNION { ?e <pred:name> "Dressed to Kill" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1946-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Singapore
function: And
dependencies: 1
2
function: Find
inputs: Dressed to Kill
function: FilterDate
dependencies: 4
inputs: publication date
1946-01-01
=
function: SelectBetween
dependencies: 3
5
inputs: duration
less