Question: Which one has more seasons between The Missing (the one started in 2014-10-28) and Lou Grant?
Choices:
Bleak House
The Missing
Six Feet Under
Lou Grant
Game of Thrones
Dancing with the Stars
Robot Chicken
Phineas and Ferb
Seinfeld
American Horror Story
Answer: Lou Grant
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Missing" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> "2014-10-28"^^xsd:date . } UNION { ?e <pred:name> "Lou Grant" . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Missing
function: FilterDate
dependencies: 0
inputs: start time
2014-10-28
=
function: Find
inputs: Lou Grant
function: SelectBetween
dependencies: 1
2
inputs: number of seasons
greater