Question: Which is shorter: The Proposal, published on 2018-04-22, or the work titled Tehran ?
Choices:
Talk to Her
The Hunchback of Notre Dame
The Towering Inferno
Tehran
A Prairie Home Companion
Curse of the Golden Flower
The Fifth Element
Rebecca
The Proposal
Pleasantville
Program:
function: Find
inputs: The Proposal
function: FilterDate
dependencies: 0
inputs: publication date
2018-04-22
=
function: Find
inputs: Tehran
function: FilterStr
dependencies: 2
inputs: title
Tehran
function: SelectBetween
dependencies: 1
3
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Proposal" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2018-04-22"^^xsd:date . } UNION { ?e <pred:name> "Tehran" . ?e <title> ?pv_2 . ?pv_2 <pred:value> "Tehran" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Proposal