from typing import List


def create_corpus_from_document_query_lists(document_list: List[str], query_list: List[List[str]]) -> List[str]:
    """
    Creates corpus from document and query lists.
    :param document_list: document list
    :param query_list: query list
    :return: corpus
    """
    # flattened lines of text
    corpus = []
    corpus.extend(document_list)
    for querries in query_list:
        corpus.extend(querries)
    return corpus