Question: Does Savannah whose start date is 1996-01-21 or Sleepy Hollow whose start date is 2013-09-16 have more episodes?
Choices:
Sleepy Hollow
Dancing with the Stars
Phineas and Ferb
Six Feet Under
Savannah
Bleak House
Robot Chicken
Saturday Night's Main Event
Game of Thrones
American Horror Story
Answer: Sleepy Hollow
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Savannah" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> "1996-01-21"^^xsd:date . } UNION { ?e <pred:name> "Sleepy Hollow" . ?e <start_time> ?pv_2 . ?pv_2 <pred:date> "2013-09-16"^^xsd:date . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Savannah
function: FilterDate
dependencies: 0
inputs: start time
1996-01-21
=
function: Find
inputs: Sleepy Hollow
function: FilterDate
dependencies: 2
inputs: start time
2013-09-16
=
function: SelectBetween
dependencies: 1
3
inputs: number of episodes
greater