Question: Which is longer, Crouching Tiger, Hidden Dragon or Chocolat published on 2016-11-11?
Choices:
Chocolat
Training Day
The Towering Inferno
Talk to Her
Pleasantville
Curse of the Golden Flower
Crouching Tiger, Hidden Dragon
Rebecca
The Hunchback of Notre Dame
The Fifth Element
Program:
function: Find
inputs: Crouching Tiger, Hidden Dragon
function: Find
inputs: Chocolat
function: FilterDate
dependencies: 1
inputs: publication date
2016-11-11
=
function: SelectBetween
dependencies: 0
2
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Crouching Tiger, Hidden Dragon" . } UNION { ?e <pred:name> "Chocolat" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2016-11-11"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Crouching Tiger, Hidden Dragon