Question: Which one has more duration, Speed 2: Cruise Control or Barcelona (the one whose publication date is 1995-06-01)
Choices:
Speed 2: Cruise Control
Barcelona
The Fifth Element
Talk to Her
The Towering Inferno
A Prairie Home Companion
Curse of the Golden Flower
Training Day
Rebecca
Pleasantville
Program:
function: Find
inputs: Speed 2: Cruise Control
function: Find
inputs: Barcelona
function: FilterDate
dependencies: 1
inputs: publication date
1995-06-01
=
function: SelectBetween
dependencies: 0
2
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Speed 2: Cruise Control" . } UNION { ?e <pred:name> "Barcelona" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1995-06-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Speed 2: Cruise Control