code: def connectChunk(key, chunk):
      
      upLinks = []
      schunk = chunk[0].strip().split()
  
      for idx in range(4, len(schunk)):
          upLinks.append(schunk[idx])
  
      result = {'link': schunk[1],
                'downLink': schunk[2],
                'numUpLinks': schunk[3],
                'upLinks': upLinks}
  
      return result
docs: Parse Card Chunk Method