Question: Which show had fewer seasons, Working Girl (the one whose end time is 1990-08-27) or Sesame Street?
Choices: Dancing with the Stars
Phineas and Ferb
Seinfeld
Six Feet Under
American Horror Story
Sesame Street
Working Girl
Game of Thrones
Saturday Night's Main Event
Robot Chicken
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Working Girl" . ?e <end_time> ?pv_1 . ?pv_1 <pred:date> "1990-08-27"^^xsd:date . } UNION { ?e <pred:name> "Sesame Street" . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Working Girl
function: FilterDate
dependencies: 0
inputs: end time
1990-08-27
=
function: Find
inputs: Sesame Street
function: SelectBetween
dependencies: 1
2
inputs: number of seasons
less
Answer: Working Girl