Question: Which is longer, Serpico, which ended 1977-01-28, or Beverly Hills, 90210?
Choices: Serpico
Phineas and Ferb
Seinfeld
Robot Chicken
Saturday Night's Main Event
Game of Thrones
Six Feet Under
Bleak House
American Horror Story
Dancing with the Stars
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Serpico" . ?e <end_time> ?pv_1 . ?pv_1 <pred:date> "1977-01-28"^^xsd:date . } UNION { ?e <pred:name> "Beverly Hills, 90210" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Serpico
function: FilterDate
dependencies: 0
inputs: end time
1977-01-28
=
function: Find
inputs: Beverly Hills, 90210
function: SelectBetween
dependencies: 1
2
inputs: duration
greater
Answer: Serpico