Question: Which is shorter, I Know Who Killed Me or Caravaggio published on 1987-01-22?
Choices:
Talk to Her
Caravaggio
Training Day
The Fifth Element
I Know Who Killed Me
Curse of the Golden Flower
The Hunchback of Notre Dame
Rebecca
The Towering Inferno
Pleasantville
Program:
function: Find
inputs: I Know Who Killed Me
function: Find
inputs: Caravaggio
function: FilterDate
dependencies: 1
inputs: publication date
1987-01-22
=
function: SelectBetween
dependencies: 0
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "I Know Who Killed Me" . } UNION { ?e <pred:name> "Caravaggio" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1987-01-22"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Caravaggio