Question: Which is shorter, Styx published on 2018-09-13 or Paterson whose exploitation visa number is 145464?
Choices:
A Prairie Home Companion
Pleasantville
Styx
The Hunchback of Notre Dame
Curse of the Golden Flower
Paterson
Training Day
Talk to Her
The Towering Inferno
The Fifth Element
Answer: Styx
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Styx" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2018-09-13"^^xsd:date . } UNION { ?e <pred:name> "Paterson" . ?e <exploitation_visa_number> ?pv_2 . ?pv_2 <pred:value> "145464" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Styx
function: FilterDate
dependencies: 0
inputs: publication date
2018-09-13
=
function: Find
inputs: Paterson
function: FilterStr
dependencies: 2
inputs: exploitation visa number
145464
function: SelectBetween
dependencies: 1
3
inputs: duration
less