摘要 |
A computer-implemented method is used to determine a hierarchical structure of parent-child relationships of one of sets of electronic documents stored in a relational database. The method involves repetitive execution the step of identifying a child set of electronic documents, wherein each of the electronic documents of the child set has the same hierarchy level in said hierarchical structure and a respective parent-child relationship with one of the electronic documents of a parent set of electronic documents, wherein each of the electronic documents of the parent set has a hierarchy level being one level higher in said hierarchical structure than the hierarchy level of the electronic document of the child set. The repetitive execution of the identifying of the child set is continued until the execution of the identifying of the child set results in an empty child set. The parent set consists of the starting electronic document of said set of the electronic documents when the identifying of the child set is executed for the first time. The child set of the current repetition and the parent set of the next following repetition are the same. |