add query function in Property class.