Question: Which is shorter, action film Elektra or Dumb and Dumber published on 1995-04-06?
Choices: Elektra
The Towering Inferno
Curse of the Golden Flower
The Hunchback of Notre Dame
Dumb and Dumber
Pleasantville
Rebecca
The Fifth Element
Talk to Her
Training Day
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Elektra" . ?e <genre> ?e_1 . ?e_1 <pred:name> "action film" . } UNION { ?e <pred:name> "Dumb and Dumber" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1995-04-06"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: action film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Elektra
function: And
dependencies: 1
2
function: Find
inputs: Dumb and Dumber
function: FilterDate
dependencies: 4
inputs: publication date
1995-04-06
=
function: SelectBetween
dependencies: 3
5
inputs: duration
less
Answer: Elektra