How to Integrate Dialog Task and KG

Hello Team,

Have added the below column’s in data table(Which were added using api)
Category
SubCategory_1
SubCategory_2
SubCategory_3
Questions

How can we define dialog flow in top down approach where one by one user has to first choose Category, SubCategory, etc
And Responses for Specific Category/Sub Category Can be fetched through KG)

1)Category
2)SubCategory_1
3)SubCategory_2
4)SubCategory_3
5)Questions