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