Sentimental Knowledge Graph Analysis of the COVID-19 Pandemic Based on the Official Account of Chinese Universities
Abstract
:1. Introduction
- (1)
- In this paper, the sentiment analysis model BiLSTM_LSTM (bi-directional LSTM (Long Short-Term Memory)) is constructed to improve the correct rate of sentiment tendency recognition, accurately identify the positive and negative sentiment of public comments in universities, and quantitatively determine the degree of sentiment tendency presented by students at a specific time period.
- (2)
- In this paper, the LDA (Latent Dirichlet Allocation) topic mining experimental corpus is segmented according to positive and negative sentiment as well as the development stage of the pandemic and achieves a fine-grained division of the pandemic topic comments on university official accounts to identify the hidden topic information in the positive and negative comments made by students during the pandemic and to achieve the comment topic posture measurement.
- (3)
- In this paper, we use Sankey diagrams, which can show the flow of data, to visualize the themes of the pandemic generated by the LDA topic model, to show the evolution of the themes of comment texts at different stages of COVID-19 in a time-series image, and to observe the overall dynamics of university public opinion.
- (4)
- In this paper, the flexible and efficient Neo4j graph database to achieve the knowledge storage of the official university account COVID-19 sentimental knowledge graph, organizing knowledge in the form of a graph structure.
- (5)
- The Neo4j knowledge graph built in this article uses the Cypher query language, which allows the graph databases to be efficiently queried.
2. Related Works
2.1. Sentimental Knowledge Graph
2.2. COVID-19 Analysis in Colleges and Universities
3. Models and Methods
3.1. Theoretical Model Construction
3.2. Data Collection and Pre-Processing Based on Fiddler
3.3. Sentiment Analysis of Official Account Commentary in Time Context Based on BiLSTM_LSTM
3.3.1. BiLSTM_LSTM
- Word embedding layer. The embedding layer converts each unique index into n-dimensional real-valued vectors, which are stacked together to form the embedding matrix, namely the word vector matrix [33]. The word vector matrix representation of input comment information is as follows:
- BiLSTM layer. The BiLSTM model consists of two LSTM networks capable of reading input comments from both forward and backward directions [34]. The forward LSTM processes information from left to right, while the backward LSTM processes information from right to left. The model takes into account both previous and future information, thus processing contextual information efficiently.
- LSTM layer. Unlike the BiLSTM layer, the LSTM layer does not return sequences, only the final result.
- Fully connected layer and output layer. The feature information extracted by the above process is used in the fully connected layer to generate feature values for sentiment classification. The fully connected layer acts as a classifier in the overall neural network model. The results are output in the output layer using a sigmoid activation function, which translates the output of the fully connected layer into approximate probability values for each sentiment polarity category.
3.3.2. Analysis of Students’ Emotional Evolution in Time Context
Algorithms 1. Sentence feature extraction and model construction. |
|
3.4. Analysis of Topic Content Evolution in Time Context Based on the LDA Topic Model
3.4.1. LDA Topic Model
3.4.2. Analysis of the Evolution of Topic Content in Time Context
4. Graphs and Discussion
4.1. Neo4j Graph Database Design
4.2. The Construction of Neo4j Knowledge Graph of Public Opinion in Colleges and Universities
4.3. Application of neo4j Topic-Affective Knowledge Graph
4.3.1. Sentiment Retrieval of University Official Account Comments
4.3.2. The Source Search of Security Threats in University Social Network
4.3.3. Public Opinion Monitoring of University Reviews in the COVID-19 Stage
5. Conclusions
- Theoretical contribution
- Regulatory and policy implications
- Limitations and future prospects
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
Appendix A
University Name | Article Title | Article Publication Time | Username | Comment Post Time | Comments | Likes |
---|---|---|---|---|---|---|
Peking University | General secretary Xi Jinping sent five letters to Peking University. | 18 March 2020 | The suit. | 18 March 2020 12:18 | Go China! Go Peking University! [Fist] [Fist] | 24 |
Peking University | General secretary Xi Jinping sent five letters to Peking University. | 18 March 2020 | Big North Shirakawa | 18 March 2020 12:26 | Come on [Love] You can definitely [love] The power of youth can hold up China | 34 |
Peking University | Urgent help from the Middle East! Peking University and Qatar University shared their experience in combating the pandemic through a video link. | 21 March 2020 | Chen | 21 March 2020 8:12 | “Snow melts on the Liaohe River, flowers bloom on the Rich Mountain; With the same breath and branches, looking forward to the coming of spring.” We hope to work together to stop the pandemic Looking forward to the end of the pandemic | 8 |
Peking University | Urgent help from the Middle East! Peking University and Qatar University shared their experience in combating the pandemic through a video link | 21 March 2020 | EASYMONEY | 21 March 2020 9:34 | Hope everyone is safe | 11 |
Peking University | Peking University academicians, professors, outstanding students on TV together, come to watch this immortal class meeting! | 24 March 2020 | Wang xi | 24 March 2020 20:41 | Peking University is really full of talents. I hope I can meet with Peking University in 2022 | 20 |
Peking University | Peking University academicians, professors, outstanding students on TV together, come to watch this immortal class meeting! | 24 March 2020 | ASe thé vert | 24 March 2020 20:45 | Every flower of Peking University blooms and dedicates in its proper place | 14 |
Entity Type | Meaning | Number of Entities | Example |
---|---|---|---|
school | University name | 10 | Tsinghua University |
article | Article title | 1163 | The Peking University research team has for the first time confirmed that human respiration is an important emission transmission mode of novel coronavirus |
comment | Article comments | 22,134 | We 60 million people in Hubei sincerely thank you! |
topic | Comment topic | 40 | Hero triumph |
stage | Pandemic stage | 4 | Initial containment period of the pandemic |
Entity Relationship Type | Meaning | Number of Relationships | Example |
---|---|---|---|
Publish | Universities publish articles | 2326 | Wuhan University|Publish|Official announcement! Announcement of the campus policy during the opening of Wuhan University |
Belong_to | The publishing time of the article belongs to the stage | 2326 | Zhejiang University held the 36th Teacher’s Day and Advanced Commendation Meeting|Belong_to|Normalization period for pandemic prevention and control |
article_P_comment | Positive comments in the article | 22,828 | Peking University, on the front line!|Positive_expression|Come on, Wuhan, Come on, Peking University |
article_N_comment | Negative comments in the article | 21,414 | A message from Peking University Senior three students: Adolescence has a period; we will not see each other!|Negative_expression|Guard against arrogance and rashness, do not forget your original intention, only 123 days left, coming to you! |
stage_P_comment | Comments on positive guidance during the pandemic stage | 22,828 | Initial containment period of the pandemic|Positive_guidance|I hope that the pandemic will end soon and every Chinese will be safe and happy |
stage_N_comment | Comments on the negative impact of the pandemic stage | 21,440 | Initial containment period of the pandemic|Negative_impact|A tribute to the retrograde heroes of Peking University, the responsibility of the country and the nation. |
Comment_topic | Topics mined from comments | 225,868 | Resolutely implement!|Mining|Schools obey uniform arrangements |
References
- WeChat Official Accounts. Available online: https://mp.weixin.qq.com (accessed on 20 November 2021).
- Chen, X.; He, Y. Research on negative network public opinion communication in universities based on the motivation theory under the new media environment. J. High. Educ. Manag. 2020, 14, 105–116. [Google Scholar] [CrossRef]
- Huang, S.; Si, W.; Mu, T. Innovation and Research of Online Public Opinion Control and Guidance Mechanism in Universities in the Self-media Era. Inf. Sci. 2021, 39, 62–67+91. [Google Scholar]
- Kuru Alici, N.; Ozturk Copur, E. Anxiety and fear of COVID-19 among nursing students during the COVID-19 pandemic: A descriptive correlation study. Perspect. Psychiatr. Care 2021. Advance online publication. [Google Scholar] [CrossRef]
- Zhang, C.; Ma, X.; Zhou, Y.; Guo, R. Analysis of Public Opinion Evolution in COVID-19 Pandemic from a Perspective of Sentiment Variation. J. Geo-Inf. Sci. 2021, 23, 341–350. [Google Scholar]
- Imamah; Rachman, F. Twitter Sentiment Analysis of COVID-19 Using Term Weighting TF-IDF And Logistic Regresion. In Proceedings of the 2020 6th Information Technology International Seminar (ITIS), Surabaya, Indonesia, 14–16 October 2020; pp. 238–242. [Google Scholar]
- Wu, J. Construct a Knowledge Graph for China Coronavirus (COVID-19) Patient Information Tracking. Risk Manag. Healthc. Policy 2021, 14, 4321–4337. [Google Scholar] [CrossRef] [PubMed]
- Fatani, T.H. Student satisfaction with videoconferencing teaching quality during the COVID-19 pandemic. BMC Med. Educ. 2020, 20, 396. [Google Scholar] [CrossRef]
- Tasso, A.F.; Sahin, N.H.; San Roman, G.J. COVID-19 Disruption on College Students: Academic and Socioemotional Implications. Psychol. Trauma-Theory Res. Pract. Policy 2021, 13, 9–15. [Google Scholar] [CrossRef]
- Ma, T. The Influence of Emergency Network Public Opinion on Ideological and Political Education in Colleges and Universities and Its Countermeasures—Taking the“COVID-19”Network Public Opinion as an Example. Educ. Explor. 2020, 53–57. [Google Scholar]
- Wang, Q.; Mao, Z.; Wang, B.; Guo, L. Knowledge Graph Embedding: A Survey of Approaches and Applications. IEEE Trans. Knowl. Data Eng. 2017, 29, 2724–2743. [Google Scholar] [CrossRef]
- You, L.; Lang, Y. Construction and Query Application of Emotion Knowledge Graph Based on Semantic Analysis of Product Reviews. Inf. Stud. Theory Appl. 2018, 41, 132–136. [Google Scholar] [CrossRef]
- Xu, Z.; Yu, Z.; Dong, Y.; Yan, W. Research on Constructing the Knowledge Graph Based on Emotional Analysis of Film Review. Comput. Simul. 2020, 37, 424–430. [Google Scholar]
- Li, J. The Study of Emotional Map of University Public Opinion Users in social media: A Case of “Anti-academic Misconduct” in Sina Weibo. Inf. Sci. 2020, 38, 100–104. [Google Scholar] [CrossRef]
- Xie, T.; Yang, Y.; Li, Q.; Liu, X.; Wang, H. Knowledge Graph Construction for Intelligent Analysis of Social Networking User Opinion. In Proceedings of the International Conference on e-Business Engineering, Cham, Germany, 19–21 October 2020; pp. 236–247. [Google Scholar]
- Kumar, A.; Kawahara, D.; Kurohashi, S. Knowledge-enriched Two-layered Attention Network for Sentiment Analysis. arXiv 2018, arXiv:1805.07819v4. [Google Scholar]
- Lin, S.; Lin, S.; Wei, J.; Wu, Y.; Liao, X. Emotional classification of combining knowledge graph. J. Fuzhou Univ. (Nat. Sci. Ed.) 2020, 48, 269–275. [Google Scholar]
- Han, W.; Xu, L.; Niu, A.; Jing, Y.; Qin, W.; Zhang, J.; Jing, X.; Wang, Y. Online-Based Survey on College Students’ Anxiety During COVID-19 Outbreak. Psychol. Res. Behav. Manag. 2021, 14, 385–392. [Google Scholar] [CrossRef] [PubMed]
- Liu, Q. Challenges and Responses of Online Public Opinion Guidance in Universities during Epidemic Prevention and Control. Cuanbo Yu Banq. 2020, 185–188. [Google Scholar] [CrossRef]
- Mukhtar, K.; Javed, K.; Arooj, M.; Sethi, A. Advantages, Limitations and Recommendations for online learning during COVID-19 pandemic era. Pak. J. Med. Sci. 2020, 36, S27–S31. [Google Scholar] [CrossRef]
- Sorour, S.E.; Kamel, T.M.; Abdelkader, H.E. A Hybrid Virtual Cloud Learning Model during the COVID-19 Pandemic. CMC-Comput. Mater. Contin. 2021, 66, 2671–2689. [Google Scholar] [CrossRef]
- Lu, K.; Zhao, L. Analysis and Enlightenment of Public Opinion on Education in Public Emergencies —Taking the Public Opinion on Education in Beijing During the COVID-19 Epidemic for Example. Educ. Meas. Eval. 2020, 15–22. [Google Scholar] [CrossRef]
- Yao, L.; Yang, Q.; Miao, L. Public Opinion Events of University Online Teaching: An Analysis with Text Mining from New Media. J. Hulunbeier Univ. 2020, 28, 114–119. [Google Scholar]
- Li, S.; Zhao, Z.; Hu, R.; Li, W.; Liu, T.; Du, X. Analogical Reasoning on Chinese Morphological and Semantic Relations. In Proceedings of the Meeting of the Association for Computational Linguistics, Melbourne, Australia, 15–20 July 2018; pp. 138–143. [Google Scholar]
- ChineseNlpCorpus. Available online: https://github.com/SophonPlus/ChineseNlpCorpus/ (accessed on 20 November 2021).
- Chinese Data Preprocessing Materials. Available online: https://github.com/procectcollection/Chinese (accessed on 20 November 2021).
- The State Council Information Office of the People’s Republic of China. Fighting COVID-19 China in Action; Foreign Languages Press: Beijing, China, 2020. [Google Scholar]
- Fiddler. Available online: https://www.telerik.com/fiddler (accessed on 20 November 2021).
- Sharfuddin, A.A.; Tihami, M.N.; Islam, M.S. A Deep Recurrent Neural Network with BiLSTM model for Sentiment Classification. In Proceedings of the 2018 International Conference on Bangla Speech and Language Processing (ICBSLP), Sylhet, Bangladesh, 21–22 September 2018; pp. 1–4. [Google Scholar]
- Xu, G.; Meng, Y.; Qiu, X.; Yu, Z.; Wu, X. Sentiment Analysis of Comment Texts Based on BiLSTM. IEEE Access 2019, 7, 51522–51532. [Google Scholar] [CrossRef]
- Kumar, V.; Reforgiato Recupero, D.; Riboni, D.; Helaoui, R. Ensembling Classical Machine Learning and Deep Learning Approaches for Morbidity Identification From Clinical Notes. IEEE Access 2020, 9, 7107–7126. [Google Scholar] [CrossRef]
- Elfaik, H.; Nfaoui, E.H. Combining Context-Aware Embeddings and an Attentional Deep Learning Model for Arabic Affect Analysis on Twitter. IEEE Access 2021, 9, 111214–111230. [Google Scholar] [CrossRef]
- Hameed, Z.; Zapirain, B.G. Sentiment classification using a single-layered BiLSTM model. IEEE Access 2020, 8, 73992–74001. [Google Scholar] [CrossRef]
- Hameed, Z.; Garcia-Zapirain, B.; Ruiz, I.O. A computationally efficient BiLSTM based approach for the binary sentiment classification. In Proceedings of the 2019 IEEE International Symposium on Signal Processing and Information Technology (ISSPIT), Ajman, United Arab Emirates, 10–12 December 2019. [Google Scholar]
- Du, H.S.; Zhan, B.; Xu, J.; Yang, X. The influencing mechanism of multi-factors on green investments: A hybrid analysis. J. Clean. Prod. 2019, 239, 117977. [Google Scholar] [CrossRef]
- Fei, X. An LDA based model for semantic annotation of Web English educational resources. J. Intell. Fuzzy Syst. 2021, 40, 3445–3454. [Google Scholar] [CrossRef]
- Song, C.; Guo, C.; Hunt, K.; Zhuang, J. An Analysis of Public Opinions Regarding Take-Away Food Safety: A 2015–2018 Case Study on Sina Weibo. Foods 2020, 9, 511. [Google Scholar] [CrossRef] [Green Version]
- Tan, X.; Zhuang, M.; Lu, X.; Mao, T. An Analysis of the Emotional Evolution of Large-Scale Internet Public Opinion Events Based on the BERT-LDA Hybrid Model. IEEE Access 2021, 9, 15860–15871. [Google Scholar] [CrossRef]
- Neo4j. Available online: https://neo4j.com/ (accessed on 20 November 2021).
Layer (Type) | Output Shape | Param # |
---|---|---|
embedding (Embedding) | (None, 113, 300) | 15,000,000 |
bidirectional (Bidirectional) | (None, 113, 128) | 186,880 |
lstm_1 (LSTM) | (None, 16) | 9280 |
dense (Dense) | (None, 1) | 17 |
Total params: 15,196,177 | ||
Trainable params: 196,177 | ||
Non-trainable params: 15,000,000 |
Comments | Sentiment Value | Sentiment Classification |
---|---|---|
Tsinghua University! How many people’s faith! | 0.020796925 | 0 |
The little brothers and sisters who have studied well are all so good-looking [eat melon] | 0.9867792 | 1 |
Different departure, the same belief: unremitting self-improvement | 0.001008 | 0 |
When I was an intern in ICU, I had a close relationship with Brother Ding. I am a gentle and considerate doctor. I pay tribute to my seniors and learn from them. | 0.704895 | 1 |
Return is still a boy [strong] [strong] [strong] [strong] [strong] | 0.860122 | 1 |
I envy | 0.000978112 | 0 |
TOPIC1 | TOPIC2 | TOPIC3 | |||
---|---|---|---|---|---|
Give a like | 127.3196 | South China Normal University | 66.1488 | Tsinghua | 74.43001 |
Beihang University | 94.66321 | Pandemic | 64.99213 | See | 36.84994 |
Love | 85.02743 | Student | 47.41485 | Miss | 36.34968 |
Teacher | 85.02378 | Take on | 45.90197 | Salute | 35.44682 |
Wuhan University | 83.02523 | Together | 30.76216 | Safety | 34.50235 |
Zhejiang University | 70.51457 | Country | 27.04597 | Hope | 30.35487 |
Great | 56.31093 | Good job | 22.38388 | School opens | 28.34165 |
School | 55.97728 | Awesome | 21.37601 | Learning | 28.14177 |
Alma mater | 49.29518 | Society | 20.35642 | Return | 26.83747 |
Alumni | 36.29545 | Big love | 19.51961 | Graduation | 25.70739 |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2021 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Li, X.; Li, Z.; Tian, Y. Sentimental Knowledge Graph Analysis of the COVID-19 Pandemic Based on the Official Account of Chinese Universities. Electronics 2021, 10, 2921. https://doi.org/10.3390/electronics10232921
Li X, Li Z, Tian Y. Sentimental Knowledge Graph Analysis of the COVID-19 Pandemic Based on the Official Account of Chinese Universities. Electronics. 2021; 10(23):2921. https://doi.org/10.3390/electronics10232921
Chicago/Turabian StyleLi, Xiaolin, Zhiyi Li, and Yahe Tian. 2021. "Sentimental Knowledge Graph Analysis of the COVID-19 Pandemic Based on the Official Account of Chinese Universities" Electronics 10, no. 23: 2921. https://doi.org/10.3390/electronics10232921
APA StyleLi, X., Li, Z., & Tian, Y. (2021). Sentimental Knowledge Graph Analysis of the COVID-19 Pandemic Based on the Official Account of Chinese Universities. Electronics, 10(23), 2921. https://doi.org/10.3390/electronics10232921