Question: Tell me the one with a smaller number of episodes, The Mary Tyler Moore Show or Chicago Fire (which has a start time of 2012-10-10)
Choices: The Mary Tyler Moore Show
Robot Chicken
American Horror Story
Six Feet Under
Saturday Night's Main Event
Bleak House
Chicago Fire
Game of Thrones
Seinfeld
Dancing with the Stars
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Mary Tyler Moore Show" . } UNION { ?e <pred:name> "Chicago Fire" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> "2012-10-10"^^xsd:date . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: The Mary Tyler Moore Show
function: Find
inputs: Chicago Fire
function: FilterDate
dependencies: 1
inputs: start time
2012-10-10
=
function: SelectBetween
dependencies: 0
2
inputs: number of episodes
less
Answer: Chicago Fire