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
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
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
Answer: Charlie's Angels