Question: Which one has the shorter duration, coming home that was published on 2003-01-08 or Invincible that comes from the UK?
Choices: The Challenge
The Goodbye Girl
Shackleton
A Christmas Carol
Invincible
All Quiet on the Western Front
Coming Home
A Streetcar Named Desire
The Music Man
The Three Musketeers
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Invincible" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "United Kingdom" . } UNION { ?e <pred:name> "Coming Home" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2003-01-08"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Invincible
function: And
dependencies: 1
2
function: Find
inputs: Coming Home
function: FilterDate
dependencies: 4
inputs: publication date
2003-01-08
=
function: SelectBetween
dependencies: 3
5
inputs: duration
less
Answer: Coming Home