8. A computer system for the automatic creation of mapping definitions, the computer system comprising: one or more computer processors; one or more computer readable storage media; program instructions stored on the computer readable storage media for execution by at least one of the one or more computer processors, the program instructions comprising: program instructions to analyze an external data structure, wherein the external data structure has one or more elements; program instructions to determine a path length and a number of occurrences for each element of a first set of elements of the one or more elements; program instructions to generate at least one query statement for the first set of elements; and program instructions to generate mapping definitions based, at least in part, on the at least one generated query statement and the path length of each element of the first set of elements.
8. A computer system for the automatic creation of mapping definitions, the computer system comprising: one or more computer processors; one or more computer readable storage media; program instructions stored on the computer readable storage media for execution by at least one of the one or more computer processors, the program instructions comprising: program instructions to analyze an external data structure, wherein the external data structure has one or more elements; program instructions to determine a path length and a number of occurrences for each element of a first set of elements of the one or more elements; program instructions to generate at least one query statement for the first set of elements; and program instructions to generate mapping definitions based, at least in part, on the at least one generated query statement and the path length of each element of the first set of elements. 13. The computer system of claim 8 , further comprising program instructions to: receive input identifying a second set of elements of the one or more elements of the external data structure, where the second set of elements is mutually exclusive of the first set of elements.