1.4 Stable
This repository contains projects related to Knowledge Engineering, developed as part of different topics. Below is a description of the projects included in each thematic folder:
This folder contains a data analytics project that uses a CSV file with information about cyberattacks. The goal of the project is to extract insights and display them in an interactive dashboard developed with Streamlit.
ciberataques.csv: Dataset with information about cyberattacks.dashboard.py: Python script that generates the interactive dashboard using Streamlit.
-
Install the required dependencies by running:
pip install -r requirements.txt
-
Run the dashboard with:
streamlit run dashboard.py
This project uses Prolog to implement a rule-based movie recommendation system. The system recommends movies based on user preferences.
recomendador.pl: Prolog file containing the rules and knowledge base for recommendations.
-
Open the
recomendador.plfile in a Prolog interpreter. -
Make queries to get recommendations, for example:
?- recomendar_pelicula(action, Recommendation).
This folder contains a project that implements a family tree using Prolog and the PySWIP library to integrate it with Python. The system allows queries about family relationships.
arbol_genealogico.pl: Prolog file with the knowledge base of the family tree.consultas.py: Python script that uses PySWIP to query the family tree.
-
Install PySWIP by running:
pip install pyswip
-
Run the query script with:
python consultas.py
- Python 3.8 or higher
- Prolog (SWI-Prolog recommended)
- Additional libraries specified in the
requirements.txtfiles of each project.
Made with ❤️ for Alejandro Barrientos Escalante and ESCALIA Corporation