Artificial intelligence system based on a dynamic rule-based engine operated on a database
Published 2025-07-17
Keywords
- rule handler,
- artificial intelligence,
- database
How to Cite
Copyright (c) 2025 Tonáhtiu Arturo Ramírez-Romero, René Baltazar Jiménez-Ruíz, Julián Patiño-Ortiz, Héctor Manuel Manzanilla-Granados

This work is licensed under a Creative Commons Attribution 4.0 International License.
Abstract
We present a proposal for the development of a rule handler, applicable to filtering, diagnostic, or decision-making systems. This proposal allows the management of simple or complex rules, including: database query operations, arithmetic operations, and relational operators. It accepts conjunctive and disjunctive rules. A small language is created to represent rules, which are stored in a database and can therefore grow dynamically. The handler is used as a tool for other developments that require this functionality, and the final product is a library in PHP.
Downloads
References
- Aguilera-Venegas, G., Roanes-Lozano, E., Rojo-Martínez, G., & Galán-García, J. L. (2023). A proposal of a mixed diagnostic system based on decision trees and probabilistic experts rules. Journal of Computational and Applied Mathematics, 427, 1-15. https://doi.org/10.1016/j.cam.2023.115130
- Aspin, A. (2022). Querying MariaDB: Use SQL Operations, Data Extraction, and Custom Queries to Make your MariaDB Database Analytics more Accessible. USA: BPB Publications.
- Behlendorf, B., McCool, R., Fielding, R., & Hartill, R. (2025). Apache HTTPD. Obtenido de HTTP Server Project: https://httpd.apache.org/
- Font Fernández, J. M. (2008). Sistemas de representación de conocimiento basados en reglas. (Tesis de maestría). Universidad Politécnica de Madrid, España.
- Fuentes Arteaga, D., & Miranda Quintero, D. A. (2024). Sistema WEB para la administración de incidencias del personal, adaptable a diversos tipos de organización. (Trabajo terminal - Tesis). Escuela Superior de Cómputo, Instituto Politécnico Nacional, Ciudad de México.
- Grippa, V., & Kuzmichev, S. (2021). Learning MySQL: Get a Handle on Your Data. Estados Unidos de Norteamérica: O'Reilly.
- Hou, B., Xue, M., Liu, J., & Wu, Z. (2025). Multi-output extended belief rule-base system and its parameter learning schemes. Applied Soft Computing, 170, 1-20, https://doi.org/10.1016/j.asoc.2024.112687
- Laird, J. (2025). The Soar cognitive architecture. Recuperado de https://web.eecs.umich.edu/~soar/ijcai16/Tutorial-2016-basic.pdf
- Lerdof, R., Suraski, Z., & Gutmans, A. (2025). PHP. Obtenido de PHP: https://www.php.net/
- Lyndon Johnson Space Center (NASA). (2025). CLIPS Rule Based Programming Language. Obtenido de https://sourceforge.net/projects/clipsrules/
- Mariscal Avendaño, I., & Mendoza Ruíz, G. (2021). Sistema experto para la detección de padecimientos de la columna vertebral mediante reconocimiento de imágenes y procesamiento del historial clínico. (Trabajo terminal - Tesis). Escuela Superior de Cómputo, Instituto Politecnico Nacional. Ciudad de México.
- Martinez-Llario, J., Coll, E., Núñez-Andrés, M., & Femenia-Ribera, C. (2017). Rule-based topology system for spatial databases to validate complex geographic datasets. Computers & Geosciences, 103, 122-132. https://doi.org/10.1016/j.cageo.2017.03.013
- Orta Cisneros, S., Cisneros Palacios, J. C., & Sandoval Lluvias, R. D. (2022). Sistema experto web aplicado a orientación vocacional para alumnos aspirantes al IPN en nivel Superior. (Trabajo terminal - Tesis). Escuela Superior de Cómputo, Instituto Politécnico Nacional. Ciudad de México.
- Pawuś, D., Paszkiel, S., & Porażko, T. (2025). Expert system supporting automatic risk classification and management in idiopathic membranous nephropathy based on rule sets and machine learning. Biomedical Signal Processing and Control, 109, 1-21. https://doi.org/10.1016/j.bspc.2025.107989
- Proctor, M., Verlaenen, K., & Tirelli, E. (2025). Drools. Obtenido de Drools: https://www.drools.org/
- Ramirez Romero, T. A. (2013). Sistema computacional para la administración y operación de reglas de diverso origen, implantado sobre bases de datos abierta. Ciudad de México: Instituto Politecnico Nacional, Tesis doctoral. Recuperado de https://acortar.link/uj9ay0
- Sabas González, J. F. (2019). Sistema experto para la detección de transacciones bancarias sospechosas de lavado de dinero. (Tesis doctoral). Ciudad de México: Escuela Superior de Ingeniería Mecánica y Eléctrica, Instituto Politécnico Nacional.
- Janes, M., & Garcia, N. (2025). Sandia Labs news. Obtenido de Jess lives: Latest version of popular productivity-boosting software tool is released for licensing. Recuperado de Sandia National Laboratories. https://www.sandia.gov/labnews/2006/12/08/061208-3/
- Santander - Open Academy. (2023). Sistemas Expertos: el impulso de la Inteligencia Artificial . Obtenido de https://www.santanderopenacademy.com/es/blog/sistemas-expertos.html
- Smirnova, S., & Tezuysal, A. (2022). MySQL Cookbook: Solutions for Database Developers and Administrators. Estados Unidos: O'Reilly.
- Solis, A. (2022). “Nephro-healthcare” Aplicación móvil de apoyo para personas con Insuficiencia Renal Crónica. (Trabajo terminal - Tesis). Escuela Superior de Cómputo, Instituto Politécnico Nacional. Ciudad de México.
- Tchuente, D., Lonlac, J., & Kamsu-Foguem, B. (2024). A methodological and theoretical framework for implementing explainable artificial intelligence (XAI) in business applications. Computers in Industry, 155, 1-10. https://doi.org/10.1016/j.compind.2023.104044
- Wang, W., Yang, M., & Seong, P. H. (2016). Development of a rule-based diagnostic platform on an object-oriented expert system shell. Annals of Nuclear Energy, 88, 252-264. https://doi.org/10.1016/j.anucene.2015.11.008
- Widenius, M. (2025). MariaDB Foundation. Obtenido de MariaDB: https://mariadb.org/
- Widenius, M., Axmark, D., & Larsson, A. (2025). MySQL. Obtenido de MySQL: https://www.mysql.com/
- Zolfagharnasab, M. H., Damari, S., Soltani, M., & Ng, A. (2025). A novel rule-based expert system for early diagnosis of bipolar and Major Depressive Disorder. Smart Health, 35, 1-13. https://doi.org/10.1016/j.smhl.2024.100525