1. A computer program product for generating test data, the computer program product comprising: one or more computer-readable storage media and program instructions stored on at least one of the one or more computer-readable storage media, the program instructions comprising: program instructions to receive a corpus of sample documents associated with a knowledge domain, wherein each sample document of the corpus includes unstructured information; program instructions to identify a sample document of the corpus of sample documents; program instructions to identify that the knowledge domain of the sample document is associated with a database, wherein the database contains resources relevant to the knowledge domain including, at least, a plurality of annotators associated with the knowledge domain and a knowledge domain specific dictionary; program instructions to annotate the sample document using the plurality of annotators associated with the knowledge domain to produce annotations associated with the sample document; program instructions to determine a plurality of patterns in the sample document based on the annotations, wherein each pattern comprises a combination of annotations in a sequence; program instructions to populate a template using the at least one of the plurality of patterns; and program instructions to vary parts of the at least one of the plurality of patterns in the template to generate test data, wherein varying the at least one of the plurality of patterns comprises identifying portions of data from the knowledge domain specific dictionary corresponding to an annotation of the at least one of the plurality of patterns and inserting a portion of data from the knowledge domain specific dictionary corresponding to the annotation into the at least one of the plurality of patterns based on the sequence of the combination of annotations.
1. A computer program product for generating test data, the computer program product comprising: one or more computer-readable storage media and program instructions stored on at least one of the one or more computer-readable storage media, the program instructions comprising: program instructions to receive a corpus of sample documents associated with a knowledge domain, wherein each sample document of the corpus includes unstructured information; program instructions to identify a sample document of the corpus of sample documents; program instructions to identify that the knowledge domain of the sample document is associated with a database, wherein the database contains resources relevant to the knowledge domain including, at least, a plurality of annotators associated with the knowledge domain and a knowledge domain specific dictionary; program instructions to annotate the sample document using the plurality of annotators associated with the knowledge domain to produce annotations associated with the sample document; program instructions to determine a plurality of patterns in the sample document based on the annotations, wherein each pattern comprises a combination of annotations in a sequence; program instructions to populate a template using the at least one of the plurality of patterns; and program instructions to vary parts of the at least one of the plurality of patterns in the template to generate test data, wherein varying the at least one of the plurality of patterns comprises identifying portions of data from the knowledge domain specific dictionary corresponding to an annotation of the at least one of the plurality of patterns and inserting a portion of data from the knowledge domain specific dictionary corresponding to the annotation into the at least one of the plurality of patterns based on the sequence of the combination of annotations. 4. The computer program product of claim 1 , wherein the portion of data is randomly selected from the portions of data from the knowledge domain specific dictionary corresponding to the annotation.