Knowledge representation and behavior understanding with pre-trained language models