Question: Which movie is shorter, Christopher Columbus (the one whose publication date is 1923-01-01) or Troy (the one that origins from Malta)?
Choices: Talk to Her
Curse of the Golden Flower
The Hunchback of Notre Dame
Troy
Pleasantville
A Prairie Home Companion
The Fifth Element
Christopher Columbus
Training Day
The Towering Inferno
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Christopher Columbus" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1923-01-01"^^xsd:date . } UNION { ?e <pred:name> "Troy" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "Malta" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Christopher Columbus
function: FilterDate
dependencies: 0
inputs: publication date
1923-01-01
=
function: Find
inputs: Malta
function: Relate
dependencies: 2
inputs: country of origin
backward
function: Find
inputs: Troy
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
less
Answer: Christopher Columbus