An open source lib where I can type up some text configuration, hook it up to a sql database, and get a nice looking generated form (for internal surveys in my case).
Airtable is the closest to what you are saying because it has data relationships. However, what did you find insufficient about Google Forms or similar?
Check out https://lowdefy.com/ they even have a sample survey app as one of their examples.