Question: Which is shorter, Cinderella published on 1997-11-16 or Men in Black produced by Jules White?
Choices:
Cinderella
Talk to Her
Rebecca
A Prairie Home Companion
The Hunchback of Notre Dame
Men in Black
The Towering Inferno
Pleasantville
Curse of the Golden Flower
The Fifth Element
Program:
function: Find
inputs: Cinderella
function: FilterDate
dependencies: 0
inputs: publication date
1997-11-16
=
function: Find
inputs: Jules White
function: Relate
dependencies: 2
inputs: producer
backward
function: Find
inputs: Men in Black
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cinderella" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1997-11-16"^^xsd:date . } UNION { ?e <pred:name> "Men in Black" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Jules White" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Men in Black