Question: Which has more episodes, Hill Street Blues or Oliver Twist that ended on 1985-12-29?
Choices:
Robot Chicken
Game of Thrones
Seinfeld
Hill Street Blues
American Horror Story
Saturday Night's Main Event
Oliver Twist
Six Feet Under
Phineas and Ferb
Dancing with the Stars
Program:
function: Find
inputs: Hill Street Blues
function: Find
inputs: Oliver Twist
function: FilterDate
dependencies: 1
inputs: end time
1985-12-29
=
function: SelectBetween
dependencies: 0
2
inputs: number of episodes
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hill Street Blues" . } UNION { ?e <pred:name> "Oliver Twist" . ?e <end_time> ?pv_1 . ?pv_1 <pred:date> "1985-12-29"^^xsd:date . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Hill Street Blues