I'm trying to convert some law texts into relational tables. I've exhausted all online resources that's why I decided to ask this question for I'm clueless about what to do next.
I have a requirement that's saved to db that follows this structure:
Text Law have many requirement but each requirement can be anywhere & any item (Title -> Chapter -> Section -> Subsection -> Article -> (requirement) )
   Exemple 1:
Title 1
  Article 1
   requirement 1
   requirement 2
   requirement 3
   Chapter 1
       requirement 4
   Chapter 2
       Article 2
           requirement 5
           Section 1
               Subsection 1
                   requirement 6
Exemple 2:
   requirement 1
Section 1
   requirement 2
   Article 1
       requirement 3
       requirement 4
       requirement 5
 Section 2
       requirement 6
       requirement 7
       Article 2
           requirement 8
           requirement 9
 
     
    