Question Answering Chatbot using Ontology for History of the Sumedang Larang Kingdom using Cosine Similarity as Similarity Measure
DOI:
https://doi.org/10.30865/mib.v6i4.4530Keywords:
Question Answering, Ontology, Sumedang Larang Kingdom, Cosine SimilarityAbstract
Information can also be a means of learning for humans. Including information about history because history can be a means of learning for the younger generation to appreciate the nation's culture and build national identity. In the past, the Sumedang Larang kingdom was one of the many kingdoms in West Java, Indonesia, that could be used as much information as a lesson. Technological developments make more and more information available for study. We need the proper means to find the information we need. This study aims to build a Question Answering (QA) system to create a means for the younger generation to be more familiar with the history of the kingdom in the past. The QA system offers an information retrieval system that is easy to access and can immediately provide the answers we need. This QA system was built using ontology as a knowledge base and cosine similarity to determine the similarity between user questions and the dataset. The QA system that has been built is tested by providing a set of questions so that the system's performance can be measured, and the results of system testing get a precision value of 70% and a recall value of 90%.References
F. Zhu, W. Lei, C. Wang, J. Zheng, S. Poria, and T.-S. Chua, “Retrieving and Reading: A Comprehensive Survey on Open-domain Question Answering,†Jan. 2021, [Online]. Available: http://arxiv.org/abs/2101.00774
M. A. Calijorne Soares and F. S. Parreiras, “A literature review on question answering techniques, paradigms and systems,†Journal of King Saud University - Computer and Information Sciences, vol. 32, no. 6. King Saud bin Abdulaziz University, pp. 635–646, Jul. 01, 2020. doi: 10.1016/j.jksuci.2018.08.005.
A. Abdi, N. Idris, and Z. Ahmad, “QAPD: An ontology-based question answering system in the physics domain,†Soft Computing, vol. 22, no. 1, pp. 213–230, Jan. 2018, doi: 10.1007/s00500-016-2328-2.
L. Yang, K. Cormican, and M. Yu, “Ontology Learning for Systems Engineering Body of Knowledge,†IEEE Transactions on Industrial Informatics, vol. 17, no. 2, pp. 1039–1047, Feb. 2021, doi: 10.1109/TII.2020.2990953.
A. L. Fraga, M. Vegetti, and H. P. Leone, “Ontology-based solutions for interoperability among product lifecycle management systems: A systematic literature review,†J Ind Inf Integr, vol. 20, Dec. 2020, doi: 10.1016/j.jii.2020.100176.
M. Devi and M. Dua, “ADANS: An agriculture domain question answering system using ontologies,†2017.
A. Albarghothi, F. Khater, and K. Shaalan, “Arabic Question Answering Using Ontology,†in Procedia Computer Science, 2017, vol. 117, pp. 183–191. doi: 10.1016/j.procs.2017.10.108.
J. I. Single, J. Schmidt, and J. Denecke, “Knowledge acquisition from chemical accident databases using an ontology-based method and natural language processing,†Safety Science, vol. 129, Sep. 2020, doi: 10.1016/j.ssci.2020.104747.
A. Arbaaeen and A. Shah, “Ontology-based approach to semantically enhanced question answering for closed domain: A review,†Information (Switzerland), vol. 12, no. 5, 2021, doi: 10.3390/info12050200.
F. N. Al-Aswadi, H. Y. Chan, and K. H. Gan, “Automatic ontology construction from text: a review from shallow to deep learning trend,†Artificial Intelligence Review, vol. 53, no. 6, pp. 3901–3928, Aug. 2020, doi: 10.1007/s10462-019-09782-9.
K. Schekotihin, P. Rodler, W. Schmid, M. Horridge, and T. Tudorache, “Test-driven Ontology Development in Protégé.†[Online]. Available: http://isbi.aau.at/ontodebug
E. Amer, A. Hazem, O. Farouk, A. Louca, Y. Mohamed, and M. Ashraf, “A Proposed Chatbot Framework for COVID-19,†in 2021 International Mobile, Intelligent, and Ubiquitous Computing Conference, MIUCC 2021, May 2021, pp. 263–268. doi: 10.1109/MIUCC52538.2021.9447652.
D. Carlander-Reuterfelt, A. Carrera, C. A. Iglesias, O. Araque, J. F. S. Sanchez Rada, and S. Munoz, “JAICOB: A Data Science Chatbot,†IEEE Access, vol. 8, pp. 180672–180680, 2020, doi: 10.1109/ACCESS.2020.3024795.
H. Yuan, Y. Tang, W. Sun, and L. Liu, “A detection method for android application security based on TF-IDF and machine learning,†PLoS ONE, vol. 15, no. 9 September, Sep. 2020, doi: 10.1371/journal.pone.0238694.
K. Park, J. S. Hong, and W. Kim, “A Methodology Combining Cosine Similarity with Classifier for Text Classification,†Applied Artificial Intelligence, vol. 34, no. 5, pp. 396–411, Apr. 2020, doi: 10.1080/08839514.2020.1723868.
B. il Kwak, M. L. Han, and H. K. Kim, “Cosine similarity based anomaly detection methodology for the CAN bus,†Expert Systems with Applications, vol. 166, Mar. 2021, doi: 10.1016/j.eswa.2020.114066.
M. A. Rosid, A. S. Fitrani, I. R. I. Astutik, N. I. Mulloh, and H. A. Gozali, “Improving Text Preprocessing for Student Complaint Document Classification Using Sastrawi,†in IOP Conference Series: Materials Science and Engineering, Jul. 2020, vol. 874, no. 1. doi: 10.1088/1757-899X/874/1/012017.
S. Chakrabarti, H. N. Saha, Institute of Electrical and Electronics Engineers. Las Vegas Section, and Institute of Electrical and Electronics Engineers, IEEE CCWC-2017 : 2017 IEEE 7th Annual Computing and Communication Workshop and Conference : 09-11 January, 2017, Las Vegas, USA.
M. Uschold, “Ontology and database schema: What’s the difference?,†Applied Ontology, vol. 10, no. 3–4, pp. 243–258, Dec. 2015, doi: 10.3233/AO-150158.
Downloads
Published
Issue
Section
License

This work is licensed under a Creative Commons Attribution 4.0 International License
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under Creative Commons Attribution 4.0 International License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (Refer to The Effect of Open Access).