def get_data(query_result):
    """
    Retrive lists of SMILES, compound unique ids and parameters from SQL query result
    Args:
        query_result: result for SQL query containing molecular information and property

    Returns: lists of smiles, compound uIDs and parameters

    """
    smiles = [item[1].rstrip() for item in query_result]
    compounds = [item[2] for item in query_result]
    gaps = [item[-1] for item in query_result]
    return smiles, compounds, gaps