code: def load_data(fname):
      
      print('Loading ' + fname + ' to redis')
      r = redis.StrictRedis(host = '127.0.0.1', port = 6379, db = 0);
      with open(fname, 'r') as f:
          for line_num, row in enumerate(f): 
              if row.strip('') != '':
                  if line_num < 100000000:
                      l_key, l_val = parse_n3(row, 'csv')
                      if line_num % 1000 == 0: 
                          print('loading line #', line_num, 'key=', l_key, ' = ', l_val)
                      if l_key != '':
                          r.set(l_key, l_val)
docs: loads previously exported CSV file to redis database