Question: Which is longer in duration, The Green Hornet (released on 1966-09-09) or Seinfeld?
Choices:
Seinfeld
Six Feet Under
Robot Chicken
Phineas and Ferb
Game of Thrones
Babylon 5
The Green Hornet
Dancing with the Stars
American Horror Story
Saturday Night's Main Event
Answer: The Green Hornet
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Green Hornet" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> "1966-09-09"^^xsd:date . } UNION { ?e <pred:name> "Seinfeld" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Green Hornet
function: FilterDate
dependencies: 0
inputs: start time
1966-09-09
=
function: Find
inputs: Seinfeld
function: SelectBetween
dependencies: 1
2
inputs: duration
greater