Question: Does Parks and Recreation or Charlie's Angels, (the one whose end time is 2011-11-10), have the fewer number of episodes?
Choices:
Parks and Recreation
Seinfeld
Six Feet Under
Dancing with the Stars
Charlie's Angels
Saturday Night's Main Event
Robot Chicken
American Horror Story
Bleak House
Game of Thrones
Answer: Charlie's Angels
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Parks and Recreation" . } UNION { ?e <pred:name> "Charlie's Angels" . ?e <end_time> ?pv_1 . ?pv_1 <pred:date> "2011-11-10"^^xsd:date . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Parks and Recreation
function: Find
inputs: Charlie's Angels
function: FilterDate
dependencies: 1
inputs: end time
2011-11-10
=
function: SelectBetween
dependencies: 0
2
inputs: number of episodes
less