Question: Which show has fewer episodes, Charlie's Angels (the one whose start time is 2011-09-22) or Boardwalk Empire?
Choices:
Seinfeld
Phineas and Ferb
Saturday Night's Main Event
Six Feet Under
Bleak House
American Horror Story
Dancing with the Stars
Boardwalk Empire
Robot Chicken
Charlie's Angels
Program:
function: Find
inputs: Charlie's Angels
function: FilterDate
dependencies: 0
inputs: start time
2011-09-22
=
function: Find
inputs: Boardwalk Empire
function: SelectBetween
dependencies: 1
2
inputs: number of episodes
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Charlie's Angels" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> "2011-09-22"^^xsd:date . } UNION { ?e <pred:name> "Boardwalk Empire" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Charlie's Angels