Question: Which one of these titles—North or Tabu (released on 2012-12-20)—is longer?
Choices:
A Prairie Home Companion
The Hunchback of Notre Dame
Pleasantville
The Towering Inferno
Curse of the Golden Flower
Rebecca
The Fifth Element
Talk to Her
North
Tabu
Program:
function: Find
inputs: Tabu
function: FilterDate
dependencies: 0
inputs: publication date
2012-12-20
=
function: Find
inputs: North
function: SelectBetween
dependencies: 1
2
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tabu" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2012-12-20"^^xsd:date . } UNION { ?e <pred:name> "North" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Tabu