Question: Which is longer, Vanity Fair published on 1923-03-25 or Dragon Ball Z: Dead Zone?
Choices:
Pleasantville
Talk to Her
The Fifth Element
A Prairie Home Companion
Dragon Ball Z: Dead Zone
Vanity Fair
The Towering Inferno
Curse of the Golden Flower
Rebecca
Training Day
Program:
function: Find
inputs: Vanity Fair
function: FilterDate
dependencies: 0
inputs: publication date
1923-03-25
=
function: Find
inputs: Dragon Ball Z: Dead Zone
function: SelectBetween
dependencies: 1
2
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Vanity Fair" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1923-03-25"^^xsd:date . } UNION { ?e <pred:name> "Dragon Ball Z: Dead Zone" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Vanity Fair