Question: Which is shorter, Beauty and the Beast published on 2017-03-16 or Secretariat?
Choices:
National Treasure: Book of Secrets
The Flintstones in Viva Rock Vegas
John Carter
Beauty and the Beast
Holes
The Muppets
G-Force
Secretariat
Alvin and the Chipmunks: Chipwrecked
Old Dogs
Answer: Secretariat
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Beauty and the Beast" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2017-03-16"^^xsd:date . } UNION { ?e <pred:name> "Secretariat" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Beauty and the Beast
function: FilterDate
dependencies: 0
inputs: publication date
2017-03-16
=
function: Find
inputs: Secretariat
function: SelectBetween
dependencies: 1
2
inputs: duration
less