def METHOD_NAME(uri: str) -> soma.SparseNDArray:
    nr = 5
    nc = 3
    #   0 1 2
    # 0 . . 7
    # 1 . . .
    # 2 . . .
    # 3 . 8 .
    # 4 . . 9
    with soma.SparseNDArray.create(
        uri, type=pa.int64(), shape=[nr, nc]
    ) as sparse_nd_array:
        tensor = pa.SparseCOOTensor.from_numpy(
            data=np.asarray([7, 8, 9]),
            coords=[[0, 2], [3, 1], [4, 2]],
            shape=(nr, nc),
        )
        sparse_nd_array.write(tensor)
    return _factory.open(uri)