Question: Does the single-season Training Day or Pretty Little Liars, which concluded its run on 2017-06-27, have the lower episode tally?
Choices: Bleak House
Pretty Little Liars
Six Feet Under
American Horror Story
Dancing with the Stars
Training Day
Robot Chicken
Saturday Night's Main Event
Phineas and Ferb
Seinfeld
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Training Day" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "1"^^xsd:double . } UNION { ?e <pred:name> "Pretty Little Liars" . ?e <end_time> ?pv_2 . ?pv_2 <pred:date> "2017-06-27"^^xsd:date . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Training Day
function: FilterNum
dependencies: 0
inputs: number of seasons
1
=
function: Find
inputs: Pretty Little Liars
function: FilterDate
dependencies: 2
inputs: end time
2017-06-27
=
function: SelectBetween
dependencies: 1
3
inputs: number of episodes
less
Answer: Training Day