1998, the public house was demolished, but the house was not changed (it was a self-managed public house), and then a resettlement house was compensated, where my grandparents and my parents lived?

You can consult the Housing Authority specifically and ask whether the nature of the house belongs to individuals or collectives. If public houses can be bought and sold, paying a certain amount can be converted into individual ownership (big property rights). If the house is demolished and resettled, it is not necessary. If the demolition is a small property right, then there is no legal sale, and the property law does not recognize it.