Building the knowledge graph
Entities from a fixed lexicon and co-occurrence edges.
Eight interactive labs: text chunking, embeddings, semantic search, vector databases, the RAG pipeline, advanced retrieval, chat with your documents and evaluation, plus an assistant builder for your own documents and experiments that run in the browser.
Build a knowledge graph from the passages, retrieve locally through entities and detect communities, in a transparent educational simulation.
Entities from a fixed lexicon and co-occurrence edges.
From the question's entities to their neighbours to the passages.
Label propagation to find communities and the member list of each.
GraphRAG extracts entities and relations from documents to build a knowledge graph, then uses it for local retrieval (from the question's entities to their neighbours) or for global questions through community summaries. In this plugin the extraction uses a fixed lexicon, not a language model.
Read the lesson| Algorithm / concept | Lab | Nature | Complexity | Note |
|---|---|---|---|---|
| Lexicon entity extraction | GraphRAG Lab | Educational simulation | O(n·e) | 22 entities with Arabic/English forms; not NER. |
| Co-occurrence graph | GraphRAG Lab | Educational simulation | O(n·e²) | An edge for each entity pair in one passage, weighted by count. |
| Label propagation | GraphRAG Lab | Educational simulation | O(it·E) | Deterministic community detection by weighted neighbour voting. |
| Local graph search | GraphRAG Lab | Educational simulation | O(E) | From the question's entities to their neighbours to their passages. |
Sections
No section has this name. Press “Search” to search all site content.
Favourites
My results & certificates
My academy progressMy quiz resultsKids’ progressAcademy certificatesQuiz certificatesStart any lesson or quiz and it will show up here so you can get back to it quickly.
Settings
I am RAG Mentor. Ask me about chunking, embeddings, vector databases, the RAG pipeline and evaluation, or ask me to explain your experiment results.
Database mode: answers from the lab content on this site's server, with no external service; your conversation is not stored.
The assistant can make mistakes, so check the attached sources.
Welcome! I am Dr. Alaa Taima, and this is my smart assistant on “Deep Learning in Arabic”. Ask it about any term or topic in artificial intelligence, and it will answer from the site's content with links to the sources.
Enter to send · Shift + Enter for a new line · The assistant can make mistakes, so check the sources.