def _include_exclude_list(include, exclude):
    """
    create the list of queries that would be checked for include or exclude
    """
    keys = []
    if include:
        for item in include:
            keys.append((item, 'included'))
    if exclude:
        for item in exclude:
            keys.append((item, 'excluded'))

    return keys