diff --git a/cognee.add.ipynb b/cognee.add.ipynb deleted file mode 100644 index c948512fb..000000000 --- a/cognee.add.ipynb +++ /dev/null @@ -1,137 +0,0 @@ -{ - "cells": [ - { - "cell_type": "code", - "execution_count": null, - "id": "823c799a", - "metadata": {}, - "outputs": [], - "source": [ - "from os import listdir, path\n", - "from uuid import uuid5, UUID\n", - "from cognitive_architecture import add\n", - "\n", - "data_path = path.abspath(\".data\")\n", - "pdf_files = [file for file in listdir(data_path) if path.isfile(path.join(data_path, file))]\n", - "\n", - "await add(\n", - " list(map(\n", - " lambda file_path: f\"file://{path.join(data_path, file_path)}\",\n", - " pdf_files\n", - " ))[:3],\n", - " uuid5(UUID(\"00000000-0000-0000-0000-000000000000\"), \"pdf_files_cognee\"),\n", - " \"test-dataset\"\n", - ")\n", - "\n" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "c4d5a399", - "metadata": {}, - "outputs": [], - "source": [ - "from os import listdir, path\n", - "from uuid import uuid5, UUID\n", - "from cognitive_architecture import add_dlt\n", - "\n", - "data_path = path.abspath(\".data\")\n", - "# pdf_files = [file for file in listdir(data_path) if path.isfile(path.join(data_path, file))]\n", - "\n", - "# await add_dlt(\n", - "# list(map(\n", - "# lambda file_path: f\"file://{path.join(data_path, file_path)}\",\n", - "# pdf_files\n", - "# ))[:5],\n", - "# \"pdf_files\"\n", - "# )\n", - "\n", - "results = await add_dlt(data_path, \"pravilnik.energetska_efikasnost\")\n", - "for result in results:\n", - " print(result)\n" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "47edce91", - "metadata": {}, - "outputs": [], - "source": [ - "import duckdb\n", - "from cognitive_architecture.root_dir import get_absolute_path\n", - "\n", - "dataset_name = \"pdf_files\"\n", - "\n", - "db_path = get_absolute_path(\"./data/cognee\")\n", - "db_location = db_path + \"/cognee.duckdb\"\n", - "print(db_location)\n", - "\n", - "db = duckdb.connect(db_location)\n", - "\n", - "izmene = db.sql(f\"SELECT * FROM izmene.file_metadata;\")\n", - "\n", - "print(izmene)\n", - "\n", - "pravilnik = db.sql(f\"SELECT * FROM pravilnik.file_metadata;\")\n", - "\n", - "print(pravilnik)\n", - "\n", - "\n" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "607bf624", - "metadata": {}, - "outputs": [], - "source": [ - "from os import path, listdir\n", - "from cognitive_architecture import cognify\n", - "from unstructured.cleaners.core import clean\n", - "from unstructured.partition.pdf import partition_pdf\n", - "from cognitive_architecture.utils import render_graph\n", - "\n", - "data_path = path.abspath(\".data/izmene\")\n", - "pdf_files = [file for file in listdir(data_path) if path.isfile(path.join(data_path, file))]\n", - "\n", - "with open(path.join(data_path, pdf_files[0]), mode = \"rb\") as file:\n", - " # elements = partition_pdf(file = file, strategy = \"fast\")\n", - " # text = \"\\n\".join(map(lambda element: clean(element.text), elements))\n", - "\n", - " text = \"\"\"In the nicest possible way, Britons have always been a bit silly about animals. “Keeping pets, for the English, is not so much a leisure activity as it is an entire way of life,” wrote the anthropologist Kate Fox in Watching the English, nearly 20 years ago. Our dogs, in particular, have been an acceptable outlet for emotions and impulses we otherwise keep strictly controlled – our latent desire to be demonstratively affectionate, to be silly and chat to strangers. If this seems like an exaggeration, consider the different reactions you’d get if you struck up a conversation with someone in a park with a dog, versus someone on the train.\n", - "Indeed, British society has been set up to accommodate these four-legged ambassadors. In the UK – unlike Australia, say, or New Zealand – dogs are not just permitted on public transport but often openly encouraged. Many pubs and shops display waggish signs, reading, “Dogs welcome, people tolerated”, and have treat jars on their counters. The other day, as I was waiting outside a cafe with a friend’s dog, the barista urged me to bring her inside.\n", - "For years, Britons’ non-partisan passion for animals has been consistent amid dwindling common ground. But lately, rather than bringing out the best in us, our relationship with dogs is increasingly revealing us at our worst – and our supposed “best friends” are paying the price.\n", - "As with so many latent traits in the national psyche, it all came unleashed with the pandemic, when many people thought they might as well make the most of all that time at home and in local parks with a dog. Between 2019 and 2022, the number of pet dogs in the UK rose from about nine million to 13 million. But there’s long been a seasonal surge around this time of year, substantial enough for the Dogs Trust charity to coin its famous slogan back in 1978: “A dog is for life, not just for Christmas.”\"\"\"\n", - "\n", - " graph = await cognify(text)\n", - "\n", - " graph_url = await render_graph(graph, graph_type = \"networkx\")\n", - " print(graph_url)\n" - ] - } - ], - "metadata": { - "kernelspec": { - "display_name": "Python 3 (ipykernel)", - "language": "python", - "name": "python3" - }, - "language_info": { - "codemirror_mode": { - "name": "ipython", - "version": 3 - }, - "file_extension": ".py", - "mimetype": "text/x-python", - "name": "python", - "nbconvert_exporter": "python", - "pygments_lexer": "ipython3", - "version": "3.10.13" - } - }, - "nbformat": 4, - "nbformat_minor": 5 -} diff --git a/cognee.ipynb b/cognee.ipynb new file mode 100644 index 000000000..5011b4009 --- /dev/null +++ b/cognee.ipynb @@ -0,0 +1,254 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": null, + "id": "823c799a", + "metadata": {}, + "outputs": [], + "source": [ + "from os import listdir, path\n", + "from uuid import uuid5, UUID\n", + "from cognitive_architecture import add\n", + "\n", + "data_path = path.abspath(\".data\")\n", + "pdf_files = [file for file in listdir(data_path) if path.isfile(path.join(data_path, file))]\n", + "\n", + "await add(\n", + " list(map(\n", + " lambda file_path: f\"file://{path.join(data_path, file_path)}\",\n", + " pdf_files\n", + " ))[:3],\n", + " uuid5(UUID(\"00000000-0000-0000-0000-000000000000\"), \"pdf_files_cognee\"),\n", + " \"test-dataset\"\n", + ")\n", + "\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "c4d5a399", + "metadata": {}, + "outputs": [], + "source": [ + "from os import listdir, path\n", + "from uuid import uuid5, UUID\n", + "from cognitive_architecture import add\n", + "\n", + "data_path = path.abspath(\".data\")\n", + "# pdf_files = [file for file in listdir(data_path) if path.isfile(path.join(data_path, file))]\n", + "\n", + "# await add_dlt(\n", + "# list(map(\n", + "# lambda file_path: f\"file://{path.join(data_path, file_path)}\",\n", + "# pdf_files\n", + "# ))[:5],\n", + "# \"pdf_files\"\n", + "# )\n", + "\n", + "results = await add(data_path, \"pravilnik.energetska_efikasnost\")\n", + "for result in results:\n", + " print(result)\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "47edce91", + "metadata": {}, + "outputs": [], + "source": [ + "import duckdb\n", + "from cognitive_architecture.root_dir import get_absolute_path\n", + "\n", + "dataset_name = \"pdf_files\"\n", + "\n", + "db_path = get_absolute_path(\"./data/cognee\")\n", + "db_location = db_path + \"/cognee.duckdb\"\n", + "print(db_location)\n", + "\n", + "db = duckdb.connect(db_location)\n", + "\n", + "tables = db.sql(\"SELECT DISTINCT schema_name FROM duckdb_tables();\").df()\n", + "print(list(filter(lambda table_name: table_name.endswith('staging') is False, tables.to_dict()[\"schema_name\"].values())))\n", + "\n", + "# izmene = db.sql(f\"SELECT * FROM izmene.file_metadata;\")\n", + "\n", + "# print(izmene)\n", + "\n", + "# pravilnik = db.sql(f\"SELECT * FROM pravilnik.file_metadata;\")\n", + "\n", + "# print(pravilnik)\n", + "\n", + "\n" + ] + }, + { + "cell_type": "code", + "execution_count": 1, + "id": "607bf624", + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "['pravilnik_energetska_efikasnost_sertifikati', 'pravilnik_energetska_efikasnost', 'izmene', 'pravilnik']\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "WARNING:root:File /Users/borisarzentar/Projects/Topoteretes/cognee/cognitive_architecture/data/cognee/cognee_graph.pkl not found. Initializing an empty graph." + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "LLM_CLASSIFICATION:LAYER:Laws, regulations, and legal case documents:Document:doc1\n", + "Updated Nodes: [('LLM_LAYER_CLASSIFICATION:TEXT:Document:doc1', {'data_type': 'text', 'context_name': 'TEXT', 'layer_name': 'Laws, regulations, and legal case documents'}), ('Document:doc1', {}), ('LLM_CLASSIFICATION:LAYER:Laws, regulations, and legal case documents:Document:doc1', {'data_type': 'text', 'context_name': 'TEXT', 'layer_name': 'Laws, regulations, and legal case documents'}), ('Ministry of Construction, Transport and Infrastructure - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 35c3720f-c25e-437a-815a-23ad47da0a02 - f25d6b1e-b61b-40f3-bebb-d2eb7dae14e6', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Ministry of Construction, Transport and Infrastructure', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal Structure Layer'}\", 'layer_decomposition_uuid': '35c3720f-c25e-437a-815a-23ad47da0a02', 'unique_id': 'f25d6b1e-b61b-40f3-bebb-d2eb7dae14e6', 'type': 'detail'}), ('Regulation on amendments and supplements to the Regulation on the content, manner, and procedure of preparation and how to conduct control of technical documentation according to the class and purpose of facilities - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 35c3720f-c25e-437a-815a-23ad47da0a02 - 40746e96-0590-408d-9da5-f29fa794ebf5', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Regulation on amendments and supplements to the Regulation on the content, manner, and procedure of preparation and how to conduct control of technical documentation according to the class and purpose of facilities', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal Structure Layer'}\", 'layer_decomposition_uuid': '35c3720f-c25e-437a-815a-23ad47da0a02', 'unique_id': '40746e96-0590-408d-9da5-f29fa794ebf5', 'type': 'detail'}), ('Official Gazette of RS, No. 77/2015 - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 35c3720f-c25e-437a-815a-23ad47da0a02 - 3445497e-2951-4f3b-9d62-da48682f4d4c', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Official Gazette of RS, No. 77/2015', 'category': 'document', 'memory_type': 'episodic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal Structure Layer'}\", 'layer_decomposition_uuid': '35c3720f-c25e-437a-815a-23ad47da0a02', 'unique_id': '3445497e-2951-4f3b-9d62-da48682f4d4c', 'type': 'detail'}), ('Law on Planning and Construction - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 35c3720f-c25e-437a-815a-23ad47da0a02 - 9fcc7992-2773-48ef-956b-0b6818260124', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Law on Planning and Construction', 'category': 'document', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal Structure Layer'}\", 'layer_decomposition_uuid': '35c3720f-c25e-437a-815a-23ad47da0a02', 'unique_id': '9fcc7992-2773-48ef-956b-0b6818260124', 'type': 'detail'}), ('Zorana Mihajlović, Prof. Dr. - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 35c3720f-c25e-437a-815a-23ad47da0a02 - aceadca4-454b-45b6-a487-3e639bc8c095', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Zorana Mihajlović, Prof. Dr.', 'category': 'person', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal Structure Layer'}\", 'layer_decomposition_uuid': '35c3720f-c25e-437a-815a-23ad47da0a02', 'unique_id': 'aceadca4-454b-45b6-a487-3e639bc8c095', 'type': 'detail'})]\n", + "LLM_CLASSIFICATION:LAYER:Laws, regulations, and legal case documents:Document:doc1\n", + "Updated Nodes: [('LLM_LAYER_CLASSIFICATION:TEXT:Document:doc1', {'data_type': 'text', 'context_name': 'TEXT', 'layer_name': 'Laws, regulations, and legal case documents'}), ('Document:doc1', {}), ('LLM_CLASSIFICATION:LAYER:Laws, regulations, and legal case documents:Document:doc1', {'data_type': 'text', 'context_name': 'TEXT', 'layer_name': 'Laws, regulations, and legal case documents'}), ('Ministry of Construction, Transport and Infrastructure - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 35c3720f-c25e-437a-815a-23ad47da0a02 - f25d6b1e-b61b-40f3-bebb-d2eb7dae14e6', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Ministry of Construction, Transport and Infrastructure', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal Structure Layer'}\", 'layer_decomposition_uuid': '35c3720f-c25e-437a-815a-23ad47da0a02', 'unique_id': 'f25d6b1e-b61b-40f3-bebb-d2eb7dae14e6', 'type': 'detail'}), ('Regulation on amendments and supplements to the Regulation on the content, manner, and procedure of preparation and how to conduct control of technical documentation according to the class and purpose of facilities - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 35c3720f-c25e-437a-815a-23ad47da0a02 - 40746e96-0590-408d-9da5-f29fa794ebf5', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Regulation on amendments and supplements to the Regulation on the content, manner, and procedure of preparation and how to conduct control of technical documentation according to the class and purpose of facilities', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal Structure Layer'}\", 'layer_decomposition_uuid': '35c3720f-c25e-437a-815a-23ad47da0a02', 'unique_id': '40746e96-0590-408d-9da5-f29fa794ebf5', 'type': 'detail'}), ('Official Gazette of RS, No. 77/2015 - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 35c3720f-c25e-437a-815a-23ad47da0a02 - 3445497e-2951-4f3b-9d62-da48682f4d4c', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Official Gazette of RS, No. 77/2015', 'category': 'document', 'memory_type': 'episodic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal Structure Layer'}\", 'layer_decomposition_uuid': '35c3720f-c25e-437a-815a-23ad47da0a02', 'unique_id': '3445497e-2951-4f3b-9d62-da48682f4d4c', 'type': 'detail'}), ('Law on Planning and Construction - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 35c3720f-c25e-437a-815a-23ad47da0a02 - 9fcc7992-2773-48ef-956b-0b6818260124', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Law on Planning and Construction', 'category': 'document', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal Structure Layer'}\", 'layer_decomposition_uuid': '35c3720f-c25e-437a-815a-23ad47da0a02', 'unique_id': '9fcc7992-2773-48ef-956b-0b6818260124', 'type': 'detail'}), ('Zorana Mihajlović, Prof. Dr. - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 35c3720f-c25e-437a-815a-23ad47da0a02 - aceadca4-454b-45b6-a487-3e639bc8c095', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Zorana Mihajlović, Prof. Dr.', 'category': 'person', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal Structure Layer'}\", 'layer_decomposition_uuid': '35c3720f-c25e-437a-815a-23ad47da0a02', 'unique_id': 'aceadca4-454b-45b6-a487-3e639bc8c095', 'type': 'detail'}), ('Ministry of Construction, Transport and Infrastructure - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 164e45a4-00bb-4d07-a069-3311a56e3780 - 36baf9c8-2125-4611-baef-923a2b96e5de', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Ministry of Construction, Transport and Infrastructure', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Terminology and Concepts Layer'}\", 'layer_decomposition_uuid': '164e45a4-00bb-4d07-a069-3311a56e3780', 'unique_id': '36baf9c8-2125-4611-baef-923a2b96e5de', 'type': 'detail'}), ('Rulebook on Amendments and Supplements of the Rulebook on the Content, Manner, and Procedure of Preparation and the Manner of Control of Technical Documentation According to the Class and Purpose of the Buildings - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 164e45a4-00bb-4d07-a069-3311a56e3780 - a9959179-eda0-43ce-8b71-783b4852e3f9', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Rulebook on Amendments and Supplements of the Rulebook on the Content, Manner, and Procedure of Preparation and the Manner of Control of Technical Documentation According to the Class and Purpose of the Buildings', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Terminology and Concepts Layer'}\", 'layer_decomposition_uuid': '164e45a4-00bb-4d07-a069-3311a56e3780', 'unique_id': 'a9959179-eda0-43ce-8b71-783b4852e3f9', 'type': 'detail'}), ('Official Gazette of the Republic of Serbia - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 164e45a4-00bb-4d07-a069-3311a56e3780 - 49ffb1f5-7429-4122-9205-82c9d9f27562', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Official Gazette of the Republic of Serbia', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Terminology and Concepts Layer'}\", 'layer_decomposition_uuid': '164e45a4-00bb-4d07-a069-3311a56e3780', 'unique_id': '49ffb1f5-7429-4122-9205-82c9d9f27562', 'type': 'detail'}), ('Construction permit - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 164e45a4-00bb-4d07-a069-3311a56e3780 - f93086c8-566e-41bc-b206-a87aa5506b3f', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Construction permit', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Terminology and Concepts Layer'}\", 'layer_decomposition_uuid': '164e45a4-00bb-4d07-a069-3311a56e3780', 'unique_id': 'f93086c8-566e-41bc-b206-a87aa5506b3f', 'type': 'detail'}), ('Conceptual design - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 164e45a4-00bb-4d07-a069-3311a56e3780 - ba1cb66b-aa1d-413c-a56a-54103f431359', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Conceptual design', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Terminology and Concepts Layer'}\", 'layer_decomposition_uuid': '164e45a4-00bb-4d07-a069-3311a56e3780', 'unique_id': 'ba1cb66b-aa1d-413c-a56a-54103f431359', 'type': 'detail'}), ('Execution project - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 164e45a4-00bb-4d07-a069-3311a56e3780 - 0ff044bd-8c08-46e8-8bc4-2a7506f3cf11', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Execution project', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Terminology and Concepts Layer'}\", 'layer_decomposition_uuid': '164e45a4-00bb-4d07-a069-3311a56e3780', 'unique_id': '0ff044bd-8c08-46e8-8bc4-2a7506f3cf11', 'type': 'detail'}), ('Minister Zorana Mihajlovic - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 164e45a4-00bb-4d07-a069-3311a56e3780 - 107baf39-73fa-4040-b6ee-dfe0caad0eaf', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Minister Zorana Mihajlovic', 'category': 'person', 'memory_type': 'episodic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Terminology and Concepts Layer'}\", 'layer_decomposition_uuid': '164e45a4-00bb-4d07-a069-3311a56e3780', 'unique_id': '107baf39-73fa-4040-b6ee-dfe0caad0eaf', 'type': 'detail'})]\n", + "LLM_CLASSIFICATION:LAYER:Laws, regulations, and legal case documents:Document:doc1\n", + "Updated Nodes: [('LLM_LAYER_CLASSIFICATION:TEXT:Document:doc1', {'data_type': 'text', 'context_name': 'TEXT', 'layer_name': 'Laws, regulations, and legal case documents'}), ('Document:doc1', {}), ('LLM_CLASSIFICATION:LAYER:Laws, regulations, and legal case documents:Document:doc1', {'data_type': 'text', 'context_name': 'TEXT', 'layer_name': 'Laws, regulations, and legal case documents'}), ('Ministry of Construction, Transport and Infrastructure - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 35c3720f-c25e-437a-815a-23ad47da0a02 - f25d6b1e-b61b-40f3-bebb-d2eb7dae14e6', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Ministry of Construction, Transport and Infrastructure', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal Structure Layer'}\", 'layer_decomposition_uuid': '35c3720f-c25e-437a-815a-23ad47da0a02', 'unique_id': 'f25d6b1e-b61b-40f3-bebb-d2eb7dae14e6', 'type': 'detail'}), ('Regulation on amendments and supplements to the Regulation on the content, manner, and procedure of preparation and how to conduct control of technical documentation according to the class and purpose of facilities - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 35c3720f-c25e-437a-815a-23ad47da0a02 - 40746e96-0590-408d-9da5-f29fa794ebf5', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Regulation on amendments and supplements to the Regulation on the content, manner, and procedure of preparation and how to conduct control of technical documentation according to the class and purpose of facilities', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal Structure Layer'}\", 'layer_decomposition_uuid': '35c3720f-c25e-437a-815a-23ad47da0a02', 'unique_id': '40746e96-0590-408d-9da5-f29fa794ebf5', 'type': 'detail'}), ('Official Gazette of RS, No. 77/2015 - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 35c3720f-c25e-437a-815a-23ad47da0a02 - 3445497e-2951-4f3b-9d62-da48682f4d4c', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Official Gazette of RS, No. 77/2015', 'category': 'document', 'memory_type': 'episodic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal Structure Layer'}\", 'layer_decomposition_uuid': '35c3720f-c25e-437a-815a-23ad47da0a02', 'unique_id': '3445497e-2951-4f3b-9d62-da48682f4d4c', 'type': 'detail'}), ('Law on Planning and Construction - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 35c3720f-c25e-437a-815a-23ad47da0a02 - 9fcc7992-2773-48ef-956b-0b6818260124', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Law on Planning and Construction', 'category': 'document', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal Structure Layer'}\", 'layer_decomposition_uuid': '35c3720f-c25e-437a-815a-23ad47da0a02', 'unique_id': '9fcc7992-2773-48ef-956b-0b6818260124', 'type': 'detail'}), ('Zorana Mihajlović, Prof. Dr. - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 35c3720f-c25e-437a-815a-23ad47da0a02 - aceadca4-454b-45b6-a487-3e639bc8c095', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Zorana Mihajlović, Prof. Dr.', 'category': 'person', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal Structure Layer'}\", 'layer_decomposition_uuid': '35c3720f-c25e-437a-815a-23ad47da0a02', 'unique_id': 'aceadca4-454b-45b6-a487-3e639bc8c095', 'type': 'detail'}), ('Ministry of Construction, Transport and Infrastructure - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 164e45a4-00bb-4d07-a069-3311a56e3780 - 36baf9c8-2125-4611-baef-923a2b96e5de', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Ministry of Construction, Transport and Infrastructure', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Terminology and Concepts Layer'}\", 'layer_decomposition_uuid': '164e45a4-00bb-4d07-a069-3311a56e3780', 'unique_id': '36baf9c8-2125-4611-baef-923a2b96e5de', 'type': 'detail'}), ('Rulebook on Amendments and Supplements of the Rulebook on the Content, Manner, and Procedure of Preparation and the Manner of Control of Technical Documentation According to the Class and Purpose of the Buildings - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 164e45a4-00bb-4d07-a069-3311a56e3780 - a9959179-eda0-43ce-8b71-783b4852e3f9', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Rulebook on Amendments and Supplements of the Rulebook on the Content, Manner, and Procedure of Preparation and the Manner of Control of Technical Documentation According to the Class and Purpose of the Buildings', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Terminology and Concepts Layer'}\", 'layer_decomposition_uuid': '164e45a4-00bb-4d07-a069-3311a56e3780', 'unique_id': 'a9959179-eda0-43ce-8b71-783b4852e3f9', 'type': 'detail'}), ('Official Gazette of the Republic of Serbia - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 164e45a4-00bb-4d07-a069-3311a56e3780 - 49ffb1f5-7429-4122-9205-82c9d9f27562', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Official Gazette of the Republic of Serbia', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Terminology and Concepts Layer'}\", 'layer_decomposition_uuid': '164e45a4-00bb-4d07-a069-3311a56e3780', 'unique_id': '49ffb1f5-7429-4122-9205-82c9d9f27562', 'type': 'detail'}), ('Construction permit - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 164e45a4-00bb-4d07-a069-3311a56e3780 - f93086c8-566e-41bc-b206-a87aa5506b3f', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Construction permit', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Terminology and Concepts Layer'}\", 'layer_decomposition_uuid': '164e45a4-00bb-4d07-a069-3311a56e3780', 'unique_id': 'f93086c8-566e-41bc-b206-a87aa5506b3f', 'type': 'detail'}), ('Conceptual design - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 164e45a4-00bb-4d07-a069-3311a56e3780 - ba1cb66b-aa1d-413c-a56a-54103f431359', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Conceptual design', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Terminology and Concepts Layer'}\", 'layer_decomposition_uuid': '164e45a4-00bb-4d07-a069-3311a56e3780', 'unique_id': 'ba1cb66b-aa1d-413c-a56a-54103f431359', 'type': 'detail'}), ('Execution project - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 164e45a4-00bb-4d07-a069-3311a56e3780 - 0ff044bd-8c08-46e8-8bc4-2a7506f3cf11', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Execution project', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Terminology and Concepts Layer'}\", 'layer_decomposition_uuid': '164e45a4-00bb-4d07-a069-3311a56e3780', 'unique_id': '0ff044bd-8c08-46e8-8bc4-2a7506f3cf11', 'type': 'detail'}), ('Minister Zorana Mihajlovic - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 164e45a4-00bb-4d07-a069-3311a56e3780 - 107baf39-73fa-4040-b6ee-dfe0caad0eaf', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Minister Zorana Mihajlovic', 'category': 'person', 'memory_type': 'episodic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Terminology and Concepts Layer'}\", 'layer_decomposition_uuid': '164e45a4-00bb-4d07-a069-3311a56e3780', 'unique_id': '107baf39-73fa-4040-b6ee-dfe0caad0eaf', 'type': 'detail'}), ('Pravilnik o izmenama i dopunama Pravilnika o sadržini, načinu i postupku izrade i način vršenja kontrole tehničke dokumentacije prema klasi i nameni objekata - dc903cac-4528-44c7-b1dc-ad1b54a73211 - e62655b3-205c-41d5-bbfb-ef9cb06c081e - 65de2225-9c3e-432c-b2f3-0940081753d8', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Pravilnik o izmenama i dopunama Pravilnika o sadržini, načinu i postupku izrade i način vršenja kontrole tehničke dokumentacije prema klasi i nameni objekata', 'category': 'legalDocument', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal References and Citations Layer'}\", 'layer_decomposition_uuid': 'e62655b3-205c-41d5-bbfb-ef9cb06c081e', 'unique_id': '65de2225-9c3e-432c-b2f3-0940081753d8', 'type': 'detail'}), ('Službeni glasnik RS, br. 77/2015 published on 9.9.2015 - dc903cac-4528-44c7-b1dc-ad1b54a73211 - e62655b3-205c-41d5-bbfb-ef9cb06c081e - 04a45f2b-7229-4198-a589-35dc4815eb92', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Službeni glasnik RS, br. 77/2015 published on 9.9.2015', 'category': 'publication', 'memory_type': 'episodic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal References and Citations Layer'}\", 'layer_decomposition_uuid': 'e62655b3-205c-41d5-bbfb-ef9cb06c081e', 'unique_id': '04a45f2b-7229-4198-a589-35dc4815eb92', 'type': 'detail'}), ('Zakon o planiranju i izgradnji - dc903cac-4528-44c7-b1dc-ad1b54a73211 - e62655b3-205c-41d5-bbfb-ef9cb06c081e - d17872b9-3904-412d-85a7-1d1f835bc7f5', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Zakon o planiranju i izgradnji', 'category': 'legalAct', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal References and Citations Layer'}\", 'layer_decomposition_uuid': 'e62655b3-205c-41d5-bbfb-ef9cb06c081e', 'unique_id': 'd17872b9-3904-412d-85a7-1d1f835bc7f5', 'type': 'detail'}), ('Zorana Mihajlović - dc903cac-4528-44c7-b1dc-ad1b54a73211 - e62655b3-205c-41d5-bbfb-ef9cb06c081e - e7699944-8b90-4344-b0da-94a134ffaaf7', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Zorana Mihajlović', 'category': 'person', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal References and Citations Layer'}\", 'layer_decomposition_uuid': 'e62655b3-205c-41d5-bbfb-ef9cb06c081e', 'unique_id': 'e7699944-8b90-4344-b0da-94a134ffaaf7', 'type': 'detail'})]\n", + "LLM_CLASSIFICATION:LAYER:Laws, regulations, and legal case documents:Document:doc1\n", + "Updated Nodes: [('LLM_LAYER_CLASSIFICATION:TEXT:Document:doc1', {'data_type': 'text', 'context_name': 'TEXT', 'layer_name': 'Laws, regulations, and legal case documents'}), ('Document:doc1', {}), ('LLM_CLASSIFICATION:LAYER:Laws, regulations, and legal case documents:Document:doc1', {'data_type': 'text', 'context_name': 'TEXT', 'layer_name': 'Laws, regulations, and legal case documents'}), ('Ministry of Construction, Transport and Infrastructure - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 35c3720f-c25e-437a-815a-23ad47da0a02 - f25d6b1e-b61b-40f3-bebb-d2eb7dae14e6', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Ministry of Construction, Transport and Infrastructure', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal Structure Layer'}\", 'layer_decomposition_uuid': '35c3720f-c25e-437a-815a-23ad47da0a02', 'unique_id': 'f25d6b1e-b61b-40f3-bebb-d2eb7dae14e6', 'type': 'detail'}), ('Regulation on amendments and supplements to the Regulation on the content, manner, and procedure of preparation and how to conduct control of technical documentation according to the class and purpose of facilities - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 35c3720f-c25e-437a-815a-23ad47da0a02 - 40746e96-0590-408d-9da5-f29fa794ebf5', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Regulation on amendments and supplements to the Regulation on the content, manner, and procedure of preparation and how to conduct control of technical documentation according to the class and purpose of facilities', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal Structure Layer'}\", 'layer_decomposition_uuid': '35c3720f-c25e-437a-815a-23ad47da0a02', 'unique_id': '40746e96-0590-408d-9da5-f29fa794ebf5', 'type': 'detail'}), ('Official Gazette of RS, No. 77/2015 - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 35c3720f-c25e-437a-815a-23ad47da0a02 - 3445497e-2951-4f3b-9d62-da48682f4d4c', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Official Gazette of RS, No. 77/2015', 'category': 'document', 'memory_type': 'episodic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal Structure Layer'}\", 'layer_decomposition_uuid': '35c3720f-c25e-437a-815a-23ad47da0a02', 'unique_id': '3445497e-2951-4f3b-9d62-da48682f4d4c', 'type': 'detail'}), ('Law on Planning and Construction - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 35c3720f-c25e-437a-815a-23ad47da0a02 - 9fcc7992-2773-48ef-956b-0b6818260124', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Law on Planning and Construction', 'category': 'document', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal Structure Layer'}\", 'layer_decomposition_uuid': '35c3720f-c25e-437a-815a-23ad47da0a02', 'unique_id': '9fcc7992-2773-48ef-956b-0b6818260124', 'type': 'detail'}), ('Zorana Mihajlović, Prof. Dr. - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 35c3720f-c25e-437a-815a-23ad47da0a02 - aceadca4-454b-45b6-a487-3e639bc8c095', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Zorana Mihajlović, Prof. Dr.', 'category': 'person', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal Structure Layer'}\", 'layer_decomposition_uuid': '35c3720f-c25e-437a-815a-23ad47da0a02', 'unique_id': 'aceadca4-454b-45b6-a487-3e639bc8c095', 'type': 'detail'}), ('Ministry of Construction, Transport and Infrastructure - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 164e45a4-00bb-4d07-a069-3311a56e3780 - 36baf9c8-2125-4611-baef-923a2b96e5de', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Ministry of Construction, Transport and Infrastructure', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Terminology and Concepts Layer'}\", 'layer_decomposition_uuid': '164e45a4-00bb-4d07-a069-3311a56e3780', 'unique_id': '36baf9c8-2125-4611-baef-923a2b96e5de', 'type': 'detail'}), ('Rulebook on Amendments and Supplements of the Rulebook on the Content, Manner, and Procedure of Preparation and the Manner of Control of Technical Documentation According to the Class and Purpose of the Buildings - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 164e45a4-00bb-4d07-a069-3311a56e3780 - a9959179-eda0-43ce-8b71-783b4852e3f9', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Rulebook on Amendments and Supplements of the Rulebook on the Content, Manner, and Procedure of Preparation and the Manner of Control of Technical Documentation According to the Class and Purpose of the Buildings', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Terminology and Concepts Layer'}\", 'layer_decomposition_uuid': '164e45a4-00bb-4d07-a069-3311a56e3780', 'unique_id': 'a9959179-eda0-43ce-8b71-783b4852e3f9', 'type': 'detail'}), ('Official Gazette of the Republic of Serbia - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 164e45a4-00bb-4d07-a069-3311a56e3780 - 49ffb1f5-7429-4122-9205-82c9d9f27562', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Official Gazette of the Republic of Serbia', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Terminology and Concepts Layer'}\", 'layer_decomposition_uuid': '164e45a4-00bb-4d07-a069-3311a56e3780', 'unique_id': '49ffb1f5-7429-4122-9205-82c9d9f27562', 'type': 'detail'}), ('Construction permit - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 164e45a4-00bb-4d07-a069-3311a56e3780 - f93086c8-566e-41bc-b206-a87aa5506b3f', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Construction permit', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Terminology and Concepts Layer'}\", 'layer_decomposition_uuid': '164e45a4-00bb-4d07-a069-3311a56e3780', 'unique_id': 'f93086c8-566e-41bc-b206-a87aa5506b3f', 'type': 'detail'}), ('Conceptual design - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 164e45a4-00bb-4d07-a069-3311a56e3780 - ba1cb66b-aa1d-413c-a56a-54103f431359', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Conceptual design', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Terminology and Concepts Layer'}\", 'layer_decomposition_uuid': '164e45a4-00bb-4d07-a069-3311a56e3780', 'unique_id': 'ba1cb66b-aa1d-413c-a56a-54103f431359', 'type': 'detail'}), ('Execution project - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 164e45a4-00bb-4d07-a069-3311a56e3780 - 0ff044bd-8c08-46e8-8bc4-2a7506f3cf11', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Execution project', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Terminology and Concepts Layer'}\", 'layer_decomposition_uuid': '164e45a4-00bb-4d07-a069-3311a56e3780', 'unique_id': '0ff044bd-8c08-46e8-8bc4-2a7506f3cf11', 'type': 'detail'}), ('Minister Zorana Mihajlovic - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 164e45a4-00bb-4d07-a069-3311a56e3780 - 107baf39-73fa-4040-b6ee-dfe0caad0eaf', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Minister Zorana Mihajlovic', 'category': 'person', 'memory_type': 'episodic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Terminology and Concepts Layer'}\", 'layer_decomposition_uuid': '164e45a4-00bb-4d07-a069-3311a56e3780', 'unique_id': '107baf39-73fa-4040-b6ee-dfe0caad0eaf', 'type': 'detail'}), ('Pravilnik o izmenama i dopunama Pravilnika o sadržini, načinu i postupku izrade i način vršenja kontrole tehničke dokumentacije prema klasi i nameni objekata - dc903cac-4528-44c7-b1dc-ad1b54a73211 - e62655b3-205c-41d5-bbfb-ef9cb06c081e - 65de2225-9c3e-432c-b2f3-0940081753d8', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Pravilnik o izmenama i dopunama Pravilnika o sadržini, načinu i postupku izrade i način vršenja kontrole tehničke dokumentacije prema klasi i nameni objekata', 'category': 'legalDocument', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal References and Citations Layer'}\", 'layer_decomposition_uuid': 'e62655b3-205c-41d5-bbfb-ef9cb06c081e', 'unique_id': '65de2225-9c3e-432c-b2f3-0940081753d8', 'type': 'detail'}), ('Službeni glasnik RS, br. 77/2015 published on 9.9.2015 - dc903cac-4528-44c7-b1dc-ad1b54a73211 - e62655b3-205c-41d5-bbfb-ef9cb06c081e - 04a45f2b-7229-4198-a589-35dc4815eb92', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Službeni glasnik RS, br. 77/2015 published on 9.9.2015', 'category': 'publication', 'memory_type': 'episodic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal References and Citations Layer'}\", 'layer_decomposition_uuid': 'e62655b3-205c-41d5-bbfb-ef9cb06c081e', 'unique_id': '04a45f2b-7229-4198-a589-35dc4815eb92', 'type': 'detail'}), ('Zakon o planiranju i izgradnji - dc903cac-4528-44c7-b1dc-ad1b54a73211 - e62655b3-205c-41d5-bbfb-ef9cb06c081e - d17872b9-3904-412d-85a7-1d1f835bc7f5', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Zakon o planiranju i izgradnji', 'category': 'legalAct', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal References and Citations Layer'}\", 'layer_decomposition_uuid': 'e62655b3-205c-41d5-bbfb-ef9cb06c081e', 'unique_id': 'd17872b9-3904-412d-85a7-1d1f835bc7f5', 'type': 'detail'}), ('Zorana Mihajlović - dc903cac-4528-44c7-b1dc-ad1b54a73211 - e62655b3-205c-41d5-bbfb-ef9cb06c081e - e7699944-8b90-4344-b0da-94a134ffaaf7', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Zorana Mihajlović', 'category': 'person', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal References and Citations Layer'}\", 'layer_decomposition_uuid': 'e62655b3-205c-41d5-bbfb-ef9cb06c081e', 'unique_id': 'e7699944-8b90-4344-b0da-94a134ffaaf7', 'type': 'detail'}), ('Ministar građevinarstva, saobraćaja i infrastrukture - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 27555393-566c-47fc-9711-3789c2fd270b - 4298cf5e-764f-40b7-9ff8-e60cd2253009', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Ministar građevinarstva, saobraćaja i infrastrukture', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Jurisdictional Layer'}\", 'layer_decomposition_uuid': '27555393-566c-47fc-9711-3789c2fd270b', 'unique_id': '4298cf5e-764f-40b7-9ff8-e60cd2253009', 'type': 'detail'}), ('Pravilnik o izmenama i dopunama Pravilnika o sadržini, načinu i postupku izrade i način vršenja kontrole tehničke dokumentacije prema klasi i nameni objekata - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 27555393-566c-47fc-9711-3789c2fd270b - dd3c23e1-e905-4c9a-81ad-2ad5f0ab4f7e', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Pravilnik o izmenama i dopunama Pravilnika o sadržini, načinu i postupku izrade i način vršenja kontrole tehničke dokumentacije prema klasi i nameni objekata', 'category': 'document', 'memory_type': 'episodic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Jurisdictional Layer'}\", 'layer_decomposition_uuid': '27555393-566c-47fc-9711-3789c2fd270b', 'unique_id': 'dd3c23e1-e905-4c9a-81ad-2ad5f0ab4f7e', 'type': 'detail'}), ('Službeni glasnik RS, broj 77/2015 - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 27555393-566c-47fc-9711-3789c2fd270b - 3c332f72-d9cb-4afe-9514-a742da4ef58a', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Službeni glasnik RS, broj 77/2015', 'category': 'publication', 'memory_type': 'episodic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Jurisdictional Layer'}\", 'layer_decomposition_uuid': '27555393-566c-47fc-9711-3789c2fd270b', 'unique_id': '3c332f72-d9cb-4afe-9514-a742da4ef58a', 'type': 'detail'}), ('prof. dr Zorana Mihajlović - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 27555393-566c-47fc-9711-3789c2fd270b - 9f353a2f-d6de-4649-827d-0a4575a437a1', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'prof. dr Zorana Mihajlović', 'category': 'person', 'memory_type': 'episodic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Jurisdictional Layer'}\", 'layer_decomposition_uuid': '27555393-566c-47fc-9711-3789c2fd270b', 'unique_id': '9f353a2f-d6de-4649-827d-0a4575a437a1', 'type': 'detail'})]\n", + "LLM_CLASSIFICATION:LAYER:Laws, regulations, and legal case documents:Document:doc1\n", + "Updated Nodes: [('LLM_LAYER_CLASSIFICATION:TEXT:Document:doc1', {'data_type': 'text', 'context_name': 'TEXT', 'layer_name': 'Laws, regulations, and legal case documents'}), ('Document:doc1', {}), ('LLM_CLASSIFICATION:LAYER:Laws, regulations, and legal case documents:Document:doc1', {'data_type': 'text', 'context_name': 'TEXT', 'layer_name': 'Laws, regulations, and legal case documents'}), ('Ministry of Construction, Transport and Infrastructure - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 35c3720f-c25e-437a-815a-23ad47da0a02 - f25d6b1e-b61b-40f3-bebb-d2eb7dae14e6', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Ministry of Construction, Transport and Infrastructure', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal Structure Layer'}\", 'layer_decomposition_uuid': '35c3720f-c25e-437a-815a-23ad47da0a02', 'unique_id': 'f25d6b1e-b61b-40f3-bebb-d2eb7dae14e6', 'type': 'detail'}), ('Regulation on amendments and supplements to the Regulation on the content, manner, and procedure of preparation and how to conduct control of technical documentation according to the class and purpose of facilities - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 35c3720f-c25e-437a-815a-23ad47da0a02 - 40746e96-0590-408d-9da5-f29fa794ebf5', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Regulation on amendments and supplements to the Regulation on the content, manner, and procedure of preparation and how to conduct control of technical documentation according to the class and purpose of facilities', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal Structure Layer'}\", 'layer_decomposition_uuid': '35c3720f-c25e-437a-815a-23ad47da0a02', 'unique_id': '40746e96-0590-408d-9da5-f29fa794ebf5', 'type': 'detail'}), ('Official Gazette of RS, No. 77/2015 - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 35c3720f-c25e-437a-815a-23ad47da0a02 - 3445497e-2951-4f3b-9d62-da48682f4d4c', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Official Gazette of RS, No. 77/2015', 'category': 'document', 'memory_type': 'episodic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal Structure Layer'}\", 'layer_decomposition_uuid': '35c3720f-c25e-437a-815a-23ad47da0a02', 'unique_id': '3445497e-2951-4f3b-9d62-da48682f4d4c', 'type': 'detail'}), ('Law on Planning and Construction - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 35c3720f-c25e-437a-815a-23ad47da0a02 - 9fcc7992-2773-48ef-956b-0b6818260124', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Law on Planning and Construction', 'category': 'document', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal Structure Layer'}\", 'layer_decomposition_uuid': '35c3720f-c25e-437a-815a-23ad47da0a02', 'unique_id': '9fcc7992-2773-48ef-956b-0b6818260124', 'type': 'detail'}), ('Zorana Mihajlović, Prof. Dr. - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 35c3720f-c25e-437a-815a-23ad47da0a02 - aceadca4-454b-45b6-a487-3e639bc8c095', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Zorana Mihajlović, Prof. Dr.', 'category': 'person', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal Structure Layer'}\", 'layer_decomposition_uuid': '35c3720f-c25e-437a-815a-23ad47da0a02', 'unique_id': 'aceadca4-454b-45b6-a487-3e639bc8c095', 'type': 'detail'}), ('Ministry of Construction, Transport and Infrastructure - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 164e45a4-00bb-4d07-a069-3311a56e3780 - 36baf9c8-2125-4611-baef-923a2b96e5de', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Ministry of Construction, Transport and Infrastructure', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Terminology and Concepts Layer'}\", 'layer_decomposition_uuid': '164e45a4-00bb-4d07-a069-3311a56e3780', 'unique_id': '36baf9c8-2125-4611-baef-923a2b96e5de', 'type': 'detail'}), ('Rulebook on Amendments and Supplements of the Rulebook on the Content, Manner, and Procedure of Preparation and the Manner of Control of Technical Documentation According to the Class and Purpose of the Buildings - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 164e45a4-00bb-4d07-a069-3311a56e3780 - a9959179-eda0-43ce-8b71-783b4852e3f9', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Rulebook on Amendments and Supplements of the Rulebook on the Content, Manner, and Procedure of Preparation and the Manner of Control of Technical Documentation According to the Class and Purpose of the Buildings', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Terminology and Concepts Layer'}\", 'layer_decomposition_uuid': '164e45a4-00bb-4d07-a069-3311a56e3780', 'unique_id': 'a9959179-eda0-43ce-8b71-783b4852e3f9', 'type': 'detail'}), ('Official Gazette of the Republic of Serbia - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 164e45a4-00bb-4d07-a069-3311a56e3780 - 49ffb1f5-7429-4122-9205-82c9d9f27562', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Official Gazette of the Republic of Serbia', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Terminology and Concepts Layer'}\", 'layer_decomposition_uuid': '164e45a4-00bb-4d07-a069-3311a56e3780', 'unique_id': '49ffb1f5-7429-4122-9205-82c9d9f27562', 'type': 'detail'}), ('Construction permit - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 164e45a4-00bb-4d07-a069-3311a56e3780 - f93086c8-566e-41bc-b206-a87aa5506b3f', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Construction permit', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Terminology and Concepts Layer'}\", 'layer_decomposition_uuid': '164e45a4-00bb-4d07-a069-3311a56e3780', 'unique_id': 'f93086c8-566e-41bc-b206-a87aa5506b3f', 'type': 'detail'}), ('Conceptual design - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 164e45a4-00bb-4d07-a069-3311a56e3780 - ba1cb66b-aa1d-413c-a56a-54103f431359', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Conceptual design', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Terminology and Concepts Layer'}\", 'layer_decomposition_uuid': '164e45a4-00bb-4d07-a069-3311a56e3780', 'unique_id': 'ba1cb66b-aa1d-413c-a56a-54103f431359', 'type': 'detail'}), ('Execution project - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 164e45a4-00bb-4d07-a069-3311a56e3780 - 0ff044bd-8c08-46e8-8bc4-2a7506f3cf11', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Execution project', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Terminology and Concepts Layer'}\", 'layer_decomposition_uuid': '164e45a4-00bb-4d07-a069-3311a56e3780', 'unique_id': '0ff044bd-8c08-46e8-8bc4-2a7506f3cf11', 'type': 'detail'}), ('Minister Zorana Mihajlovic - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 164e45a4-00bb-4d07-a069-3311a56e3780 - 107baf39-73fa-4040-b6ee-dfe0caad0eaf', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Minister Zorana Mihajlovic', 'category': 'person', 'memory_type': 'episodic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Terminology and Concepts Layer'}\", 'layer_decomposition_uuid': '164e45a4-00bb-4d07-a069-3311a56e3780', 'unique_id': '107baf39-73fa-4040-b6ee-dfe0caad0eaf', 'type': 'detail'}), ('Pravilnik o izmenama i dopunama Pravilnika o sadržini, načinu i postupku izrade i način vršenja kontrole tehničke dokumentacije prema klasi i nameni objekata - dc903cac-4528-44c7-b1dc-ad1b54a73211 - e62655b3-205c-41d5-bbfb-ef9cb06c081e - 65de2225-9c3e-432c-b2f3-0940081753d8', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Pravilnik o izmenama i dopunama Pravilnika o sadržini, načinu i postupku izrade i način vršenja kontrole tehničke dokumentacije prema klasi i nameni objekata', 'category': 'legalDocument', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal References and Citations Layer'}\", 'layer_decomposition_uuid': 'e62655b3-205c-41d5-bbfb-ef9cb06c081e', 'unique_id': '65de2225-9c3e-432c-b2f3-0940081753d8', 'type': 'detail'}), ('Službeni glasnik RS, br. 77/2015 published on 9.9.2015 - dc903cac-4528-44c7-b1dc-ad1b54a73211 - e62655b3-205c-41d5-bbfb-ef9cb06c081e - 04a45f2b-7229-4198-a589-35dc4815eb92', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Službeni glasnik RS, br. 77/2015 published on 9.9.2015', 'category': 'publication', 'memory_type': 'episodic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal References and Citations Layer'}\", 'layer_decomposition_uuid': 'e62655b3-205c-41d5-bbfb-ef9cb06c081e', 'unique_id': '04a45f2b-7229-4198-a589-35dc4815eb92', 'type': 'detail'}), ('Zakon o planiranju i izgradnji - dc903cac-4528-44c7-b1dc-ad1b54a73211 - e62655b3-205c-41d5-bbfb-ef9cb06c081e - d17872b9-3904-412d-85a7-1d1f835bc7f5', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Zakon o planiranju i izgradnji', 'category': 'legalAct', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal References and Citations Layer'}\", 'layer_decomposition_uuid': 'e62655b3-205c-41d5-bbfb-ef9cb06c081e', 'unique_id': 'd17872b9-3904-412d-85a7-1d1f835bc7f5', 'type': 'detail'}), ('Zorana Mihajlović - dc903cac-4528-44c7-b1dc-ad1b54a73211 - e62655b3-205c-41d5-bbfb-ef9cb06c081e - e7699944-8b90-4344-b0da-94a134ffaaf7', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Zorana Mihajlović', 'category': 'person', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal References and Citations Layer'}\", 'layer_decomposition_uuid': 'e62655b3-205c-41d5-bbfb-ef9cb06c081e', 'unique_id': 'e7699944-8b90-4344-b0da-94a134ffaaf7', 'type': 'detail'}), ('Ministar građevinarstva, saobraćaja i infrastrukture - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 27555393-566c-47fc-9711-3789c2fd270b - 4298cf5e-764f-40b7-9ff8-e60cd2253009', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Ministar građevinarstva, saobraćaja i infrastrukture', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Jurisdictional Layer'}\", 'layer_decomposition_uuid': '27555393-566c-47fc-9711-3789c2fd270b', 'unique_id': '4298cf5e-764f-40b7-9ff8-e60cd2253009', 'type': 'detail'}), ('Pravilnik o izmenama i dopunama Pravilnika o sadržini, načinu i postupku izrade i način vršenja kontrole tehničke dokumentacije prema klasi i nameni objekata - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 27555393-566c-47fc-9711-3789c2fd270b - dd3c23e1-e905-4c9a-81ad-2ad5f0ab4f7e', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Pravilnik o izmenama i dopunama Pravilnika o sadržini, načinu i postupku izrade i način vršenja kontrole tehničke dokumentacije prema klasi i nameni objekata', 'category': 'document', 'memory_type': 'episodic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Jurisdictional Layer'}\", 'layer_decomposition_uuid': '27555393-566c-47fc-9711-3789c2fd270b', 'unique_id': 'dd3c23e1-e905-4c9a-81ad-2ad5f0ab4f7e', 'type': 'detail'}), ('Službeni glasnik RS, broj 77/2015 - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 27555393-566c-47fc-9711-3789c2fd270b - 3c332f72-d9cb-4afe-9514-a742da4ef58a', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Službeni glasnik RS, broj 77/2015', 'category': 'publication', 'memory_type': 'episodic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Jurisdictional Layer'}\", 'layer_decomposition_uuid': '27555393-566c-47fc-9711-3789c2fd270b', 'unique_id': '3c332f72-d9cb-4afe-9514-a742da4ef58a', 'type': 'detail'}), ('prof. dr Zorana Mihajlović - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 27555393-566c-47fc-9711-3789c2fd270b - 9f353a2f-d6de-4649-827d-0a4575a437a1', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'prof. dr Zorana Mihajlović', 'category': 'person', 'memory_type': 'episodic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Jurisdictional Layer'}\", 'layer_decomposition_uuid': '27555393-566c-47fc-9711-3789c2fd270b', 'unique_id': '9f353a2f-d6de-4649-827d-0a4575a437a1', 'type': 'detail'}), ('Ministry of Construction, Transport and Infrastructure - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 45870c37-719b-4080-ad44-8afb2315fb74 - 20dc3b92-c00b-4f60-b426-08a915110ad8', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Ministry of Construction, Transport and Infrastructure', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Historical Amendments Layer'}\", 'layer_decomposition_uuid': '45870c37-719b-4080-ad44-8afb2315fb74', 'unique_id': '20dc3b92-c00b-4f60-b426-08a915110ad8', 'type': 'detail'}), ('Regulation on Amendments to the Regulation on the content, method, and procedure of creating and controlling technical documentation according to the class and purpose of buildings - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 45870c37-719b-4080-ad44-8afb2315fb74 - 559ba048-ae86-4df0-97e8-7b5cc8ccb978', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Regulation on Amendments to the Regulation on the content, method, and procedure of creating and controlling technical documentation according to the class and purpose of buildings', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Historical Amendments Layer'}\", 'layer_decomposition_uuid': '45870c37-719b-4080-ad44-8afb2315fb74', 'unique_id': '559ba048-ae86-4df0-97e8-7b5cc8ccb978', 'type': 'detail'}), ('Official Gazette of the Republic of Serbia, No. 77/2015 dated September 9, 2015 - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 45870c37-719b-4080-ad44-8afb2315fb74 - 0a7b7400-6770-4de9-800d-9dd63215943d', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Official Gazette of the Republic of Serbia, No. 77/2015 dated September 9, 2015', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Historical Amendments Layer'}\", 'layer_decomposition_uuid': '45870c37-719b-4080-ad44-8afb2315fb74', 'unique_id': '0a7b7400-6770-4de9-800d-9dd63215943d', 'type': 'detail'}), ('Law on Planning and Construction - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 45870c37-719b-4080-ad44-8afb2315fb74 - 312cb2db-e521-4f9b-bcb8-b87040f60305', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Law on Planning and Construction', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Historical Amendments Layer'}\", 'layer_decomposition_uuid': '45870c37-719b-4080-ad44-8afb2315fb74', 'unique_id': '312cb2db-e521-4f9b-bcb8-b87040f60305', 'type': 'detail'}), ('Zorana Mihajlovic, Prof. Dr. - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 45870c37-719b-4080-ad44-8afb2315fb74 - 41218825-e4d8-478d-8cf8-3f394d9300fc', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Zorana Mihajlovic, Prof. Dr.', 'category': 'person', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Historical Amendments Layer'}\", 'layer_decomposition_uuid': '45870c37-719b-4080-ad44-8afb2315fb74', 'unique_id': '41218825-e4d8-478d-8cf8-3f394d9300fc', 'type': 'detail'})]\n", + "LLM_CLASSIFICATION:LAYER:Laws, regulations, and legal case documents:Document:doc1\n", + "Updated Nodes: [('LLM_LAYER_CLASSIFICATION:TEXT:Document:doc1', {'data_type': 'text', 'context_name': 'TEXT', 'layer_name': 'Laws, regulations, and legal case documents'}), ('Document:doc1', {}), ('LLM_CLASSIFICATION:LAYER:Laws, regulations, and legal case documents:Document:doc1', {'data_type': 'text', 'context_name': 'TEXT', 'layer_name': 'Laws, regulations, and legal case documents'}), ('Ministry of Construction, Transport and Infrastructure - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 35c3720f-c25e-437a-815a-23ad47da0a02 - f25d6b1e-b61b-40f3-bebb-d2eb7dae14e6', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Ministry of Construction, Transport and Infrastructure', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal Structure Layer'}\", 'layer_decomposition_uuid': '35c3720f-c25e-437a-815a-23ad47da0a02', 'unique_id': 'f25d6b1e-b61b-40f3-bebb-d2eb7dae14e6', 'type': 'detail'}), ('Regulation on amendments and supplements to the Regulation on the content, manner, and procedure of preparation and how to conduct control of technical documentation according to the class and purpose of facilities - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 35c3720f-c25e-437a-815a-23ad47da0a02 - 40746e96-0590-408d-9da5-f29fa794ebf5', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Regulation on amendments and supplements to the Regulation on the content, manner, and procedure of preparation and how to conduct control of technical documentation according to the class and purpose of facilities', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal Structure Layer'}\", 'layer_decomposition_uuid': '35c3720f-c25e-437a-815a-23ad47da0a02', 'unique_id': '40746e96-0590-408d-9da5-f29fa794ebf5', 'type': 'detail'}), ('Official Gazette of RS, No. 77/2015 - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 35c3720f-c25e-437a-815a-23ad47da0a02 - 3445497e-2951-4f3b-9d62-da48682f4d4c', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Official Gazette of RS, No. 77/2015', 'category': 'document', 'memory_type': 'episodic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal Structure Layer'}\", 'layer_decomposition_uuid': '35c3720f-c25e-437a-815a-23ad47da0a02', 'unique_id': '3445497e-2951-4f3b-9d62-da48682f4d4c', 'type': 'detail'}), ('Law on Planning and Construction - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 35c3720f-c25e-437a-815a-23ad47da0a02 - 9fcc7992-2773-48ef-956b-0b6818260124', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Law on Planning and Construction', 'category': 'document', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal Structure Layer'}\", 'layer_decomposition_uuid': '35c3720f-c25e-437a-815a-23ad47da0a02', 'unique_id': '9fcc7992-2773-48ef-956b-0b6818260124', 'type': 'detail'}), ('Zorana Mihajlović, Prof. Dr. - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 35c3720f-c25e-437a-815a-23ad47da0a02 - aceadca4-454b-45b6-a487-3e639bc8c095', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Zorana Mihajlović, Prof. Dr.', 'category': 'person', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal Structure Layer'}\", 'layer_decomposition_uuid': '35c3720f-c25e-437a-815a-23ad47da0a02', 'unique_id': 'aceadca4-454b-45b6-a487-3e639bc8c095', 'type': 'detail'}), ('Ministry of Construction, Transport and Infrastructure - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 164e45a4-00bb-4d07-a069-3311a56e3780 - 36baf9c8-2125-4611-baef-923a2b96e5de', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Ministry of Construction, Transport and Infrastructure', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Terminology and Concepts Layer'}\", 'layer_decomposition_uuid': '164e45a4-00bb-4d07-a069-3311a56e3780', 'unique_id': '36baf9c8-2125-4611-baef-923a2b96e5de', 'type': 'detail'}), ('Rulebook on Amendments and Supplements of the Rulebook on the Content, Manner, and Procedure of Preparation and the Manner of Control of Technical Documentation According to the Class and Purpose of the Buildings - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 164e45a4-00bb-4d07-a069-3311a56e3780 - a9959179-eda0-43ce-8b71-783b4852e3f9', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Rulebook on Amendments and Supplements of the Rulebook on the Content, Manner, and Procedure of Preparation and the Manner of Control of Technical Documentation According to the Class and Purpose of the Buildings', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Terminology and Concepts Layer'}\", 'layer_decomposition_uuid': '164e45a4-00bb-4d07-a069-3311a56e3780', 'unique_id': 'a9959179-eda0-43ce-8b71-783b4852e3f9', 'type': 'detail'}), ('Official Gazette of the Republic of Serbia - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 164e45a4-00bb-4d07-a069-3311a56e3780 - 49ffb1f5-7429-4122-9205-82c9d9f27562', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Official Gazette of the Republic of Serbia', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Terminology and Concepts Layer'}\", 'layer_decomposition_uuid': '164e45a4-00bb-4d07-a069-3311a56e3780', 'unique_id': '49ffb1f5-7429-4122-9205-82c9d9f27562', 'type': 'detail'}), ('Construction permit - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 164e45a4-00bb-4d07-a069-3311a56e3780 - f93086c8-566e-41bc-b206-a87aa5506b3f', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Construction permit', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Terminology and Concepts Layer'}\", 'layer_decomposition_uuid': '164e45a4-00bb-4d07-a069-3311a56e3780', 'unique_id': 'f93086c8-566e-41bc-b206-a87aa5506b3f', 'type': 'detail'}), ('Conceptual design - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 164e45a4-00bb-4d07-a069-3311a56e3780 - ba1cb66b-aa1d-413c-a56a-54103f431359', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Conceptual design', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Terminology and Concepts Layer'}\", 'layer_decomposition_uuid': '164e45a4-00bb-4d07-a069-3311a56e3780', 'unique_id': 'ba1cb66b-aa1d-413c-a56a-54103f431359', 'type': 'detail'}), ('Execution project - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 164e45a4-00bb-4d07-a069-3311a56e3780 - 0ff044bd-8c08-46e8-8bc4-2a7506f3cf11', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Execution project', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Terminology and Concepts Layer'}\", 'layer_decomposition_uuid': '164e45a4-00bb-4d07-a069-3311a56e3780', 'unique_id': '0ff044bd-8c08-46e8-8bc4-2a7506f3cf11', 'type': 'detail'}), ('Minister Zorana Mihajlovic - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 164e45a4-00bb-4d07-a069-3311a56e3780 - 107baf39-73fa-4040-b6ee-dfe0caad0eaf', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Minister Zorana Mihajlovic', 'category': 'person', 'memory_type': 'episodic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Terminology and Concepts Layer'}\", 'layer_decomposition_uuid': '164e45a4-00bb-4d07-a069-3311a56e3780', 'unique_id': '107baf39-73fa-4040-b6ee-dfe0caad0eaf', 'type': 'detail'}), ('Pravilnik o izmenama i dopunama Pravilnika o sadržini, načinu i postupku izrade i način vršenja kontrole tehničke dokumentacije prema klasi i nameni objekata - dc903cac-4528-44c7-b1dc-ad1b54a73211 - e62655b3-205c-41d5-bbfb-ef9cb06c081e - 65de2225-9c3e-432c-b2f3-0940081753d8', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Pravilnik o izmenama i dopunama Pravilnika o sadržini, načinu i postupku izrade i način vršenja kontrole tehničke dokumentacije prema klasi i nameni objekata', 'category': 'legalDocument', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal References and Citations Layer'}\", 'layer_decomposition_uuid': 'e62655b3-205c-41d5-bbfb-ef9cb06c081e', 'unique_id': '65de2225-9c3e-432c-b2f3-0940081753d8', 'type': 'detail'}), ('Službeni glasnik RS, br. 77/2015 published on 9.9.2015 - dc903cac-4528-44c7-b1dc-ad1b54a73211 - e62655b3-205c-41d5-bbfb-ef9cb06c081e - 04a45f2b-7229-4198-a589-35dc4815eb92', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Službeni glasnik RS, br. 77/2015 published on 9.9.2015', 'category': 'publication', 'memory_type': 'episodic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal References and Citations Layer'}\", 'layer_decomposition_uuid': 'e62655b3-205c-41d5-bbfb-ef9cb06c081e', 'unique_id': '04a45f2b-7229-4198-a589-35dc4815eb92', 'type': 'detail'}), ('Zakon o planiranju i izgradnji - dc903cac-4528-44c7-b1dc-ad1b54a73211 - e62655b3-205c-41d5-bbfb-ef9cb06c081e - d17872b9-3904-412d-85a7-1d1f835bc7f5', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Zakon o planiranju i izgradnji', 'category': 'legalAct', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal References and Citations Layer'}\", 'layer_decomposition_uuid': 'e62655b3-205c-41d5-bbfb-ef9cb06c081e', 'unique_id': 'd17872b9-3904-412d-85a7-1d1f835bc7f5', 'type': 'detail'}), ('Zorana Mihajlović - dc903cac-4528-44c7-b1dc-ad1b54a73211 - e62655b3-205c-41d5-bbfb-ef9cb06c081e - e7699944-8b90-4344-b0da-94a134ffaaf7', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Zorana Mihajlović', 'category': 'person', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal References and Citations Layer'}\", 'layer_decomposition_uuid': 'e62655b3-205c-41d5-bbfb-ef9cb06c081e', 'unique_id': 'e7699944-8b90-4344-b0da-94a134ffaaf7', 'type': 'detail'}), ('Ministar građevinarstva, saobraćaja i infrastrukture - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 27555393-566c-47fc-9711-3789c2fd270b - 4298cf5e-764f-40b7-9ff8-e60cd2253009', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Ministar građevinarstva, saobraćaja i infrastrukture', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Jurisdictional Layer'}\", 'layer_decomposition_uuid': '27555393-566c-47fc-9711-3789c2fd270b', 'unique_id': '4298cf5e-764f-40b7-9ff8-e60cd2253009', 'type': 'detail'}), ('Pravilnik o izmenama i dopunama Pravilnika o sadržini, načinu i postupku izrade i način vršenja kontrole tehničke dokumentacije prema klasi i nameni objekata - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 27555393-566c-47fc-9711-3789c2fd270b - dd3c23e1-e905-4c9a-81ad-2ad5f0ab4f7e', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Pravilnik o izmenama i dopunama Pravilnika o sadržini, načinu i postupku izrade i način vršenja kontrole tehničke dokumentacije prema klasi i nameni objekata', 'category': 'document', 'memory_type': 'episodic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Jurisdictional Layer'}\", 'layer_decomposition_uuid': '27555393-566c-47fc-9711-3789c2fd270b', 'unique_id': 'dd3c23e1-e905-4c9a-81ad-2ad5f0ab4f7e', 'type': 'detail'}), ('Službeni glasnik RS, broj 77/2015 - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 27555393-566c-47fc-9711-3789c2fd270b - 3c332f72-d9cb-4afe-9514-a742da4ef58a', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Službeni glasnik RS, broj 77/2015', 'category': 'publication', 'memory_type': 'episodic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Jurisdictional Layer'}\", 'layer_decomposition_uuid': '27555393-566c-47fc-9711-3789c2fd270b', 'unique_id': '3c332f72-d9cb-4afe-9514-a742da4ef58a', 'type': 'detail'}), ('prof. dr Zorana Mihajlović - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 27555393-566c-47fc-9711-3789c2fd270b - 9f353a2f-d6de-4649-827d-0a4575a437a1', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'prof. dr Zorana Mihajlović', 'category': 'person', 'memory_type': 'episodic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Jurisdictional Layer'}\", 'layer_decomposition_uuid': '27555393-566c-47fc-9711-3789c2fd270b', 'unique_id': '9f353a2f-d6de-4649-827d-0a4575a437a1', 'type': 'detail'}), ('Ministry of Construction, Transport and Infrastructure - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 45870c37-719b-4080-ad44-8afb2315fb74 - 20dc3b92-c00b-4f60-b426-08a915110ad8', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Ministry of Construction, Transport and Infrastructure', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Historical Amendments Layer'}\", 'layer_decomposition_uuid': '45870c37-719b-4080-ad44-8afb2315fb74', 'unique_id': '20dc3b92-c00b-4f60-b426-08a915110ad8', 'type': 'detail'}), ('Regulation on Amendments to the Regulation on the content, method, and procedure of creating and controlling technical documentation according to the class and purpose of buildings - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 45870c37-719b-4080-ad44-8afb2315fb74 - 559ba048-ae86-4df0-97e8-7b5cc8ccb978', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Regulation on Amendments to the Regulation on the content, method, and procedure of creating and controlling technical documentation according to the class and purpose of buildings', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Historical Amendments Layer'}\", 'layer_decomposition_uuid': '45870c37-719b-4080-ad44-8afb2315fb74', 'unique_id': '559ba048-ae86-4df0-97e8-7b5cc8ccb978', 'type': 'detail'}), ('Official Gazette of the Republic of Serbia, No. 77/2015 dated September 9, 2015 - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 45870c37-719b-4080-ad44-8afb2315fb74 - 0a7b7400-6770-4de9-800d-9dd63215943d', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Official Gazette of the Republic of Serbia, No. 77/2015 dated September 9, 2015', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Historical Amendments Layer'}\", 'layer_decomposition_uuid': '45870c37-719b-4080-ad44-8afb2315fb74', 'unique_id': '0a7b7400-6770-4de9-800d-9dd63215943d', 'type': 'detail'}), ('Law on Planning and Construction - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 45870c37-719b-4080-ad44-8afb2315fb74 - 312cb2db-e521-4f9b-bcb8-b87040f60305', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Law on Planning and Construction', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Historical Amendments Layer'}\", 'layer_decomposition_uuid': '45870c37-719b-4080-ad44-8afb2315fb74', 'unique_id': '312cb2db-e521-4f9b-bcb8-b87040f60305', 'type': 'detail'}), ('Zorana Mihajlovic, Prof. Dr. - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 45870c37-719b-4080-ad44-8afb2315fb74 - 41218825-e4d8-478d-8cf8-3f394d9300fc', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Zorana Mihajlovic, Prof. Dr.', 'category': 'person', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Historical Amendments Layer'}\", 'layer_decomposition_uuid': '45870c37-719b-4080-ad44-8afb2315fb74', 'unique_id': '41218825-e4d8-478d-8cf8-3f394d9300fc', 'type': 'detail'}), ('Minister of Construction, Transport and Infrastructure - dc903cac-4528-44c7-b1dc-ad1b54a73211 - f9f05ed2-fb84-432d-8b63-149b8d791733 - 7691f0e7-d410-4aae-bb7a-3d5652535cb3', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Minister of Construction, Transport and Infrastructure', 'category': 'person', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Purpose and Intent Layer'}\", 'layer_decomposition_uuid': 'f9f05ed2-fb84-432d-8b63-149b8d791733', 'unique_id': '7691f0e7-d410-4aae-bb7a-3d5652535cb3', 'type': 'detail'}), ('Amendments and supplements to the Rule on the content, method, and procedure of drafting and method of technical documentation control according to the class and purpose of buildings - dc903cac-4528-44c7-b1dc-ad1b54a73211 - f9f05ed2-fb84-432d-8b63-149b8d791733 - c423e034-2fa2-4fd7-958b-c192949d7516', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Amendments and supplements to the Rule on the content, method, and procedure of drafting and method of technical documentation control according to the class and purpose of buildings', 'category': 'event', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Purpose and Intent Layer'}\", 'layer_decomposition_uuid': 'f9f05ed2-fb84-432d-8b63-149b8d791733', 'unique_id': 'c423e034-2fa2-4fd7-958b-c192949d7516', 'type': 'detail'}), ('Official Journal of the Republic of Serbia - dc903cac-4528-44c7-b1dc-ad1b54a73211 - f9f05ed2-fb84-432d-8b63-149b8d791733 - 5d9fad88-91cb-4972-a622-f86a9dcd54e7', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Official Journal of the Republic of Serbia', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Purpose and Intent Layer'}\", 'layer_decomposition_uuid': 'f9f05ed2-fb84-432d-8b63-149b8d791733', 'unique_id': '5d9fad88-91cb-4972-a622-f86a9dcd54e7', 'type': 'detail'}), ('Publication number 77/2015 - dc903cac-4528-44c7-b1dc-ad1b54a73211 - f9f05ed2-fb84-432d-8b63-149b8d791733 - b7619af0-82d6-472a-abc4-95a6bc72df21', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Publication number 77/2015', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Purpose and Intent Layer'}\", 'layer_decomposition_uuid': 'f9f05ed2-fb84-432d-8b63-149b8d791733', 'unique_id': 'b7619af0-82d6-472a-abc4-95a6bc72df21', 'type': 'detail'}), ('Law on Planning and Construction - dc903cac-4528-44c7-b1dc-ad1b54a73211 - f9f05ed2-fb84-432d-8b63-149b8d791733 - 73785155-6925-4bbc-ba30-690692ae6ad6', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Law on Planning and Construction', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Purpose and Intent Layer'}\", 'layer_decomposition_uuid': 'f9f05ed2-fb84-432d-8b63-149b8d791733', 'unique_id': '73785155-6925-4bbc-ba30-690692ae6ad6', 'type': 'detail'}), ('Article 17 of the Rule - dc903cac-4528-44c7-b1dc-ad1b54a73211 - f9f05ed2-fb84-432d-8b63-149b8d791733 - bee4e71b-62ac-43bc-ba2c-4c6db713576c', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Article 17 of the Rule', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Purpose and Intent Layer'}\", 'layer_decomposition_uuid': 'f9f05ed2-fb84-432d-8b63-149b8d791733', 'unique_id': 'bee4e71b-62ac-43bc-ba2c-4c6db713576c', 'type': 'detail'}), ('Article 19 of the Rule - dc903cac-4528-44c7-b1dc-ad1b54a73211 - f9f05ed2-fb84-432d-8b63-149b8d791733 - 1e4635f2-c1f3-4e42-99bb-fcf7a6c8dea7', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Article 19 of the Rule', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Purpose and Intent Layer'}\", 'layer_decomposition_uuid': 'f9f05ed2-fb84-432d-8b63-149b8d791733', 'unique_id': '1e4635f2-c1f3-4e42-99bb-fcf7a6c8dea7', 'type': 'detail'}), ('Zorana Mihajlovic, Minister of Construction, Transport and Infrastructure - dc903cac-4528-44c7-b1dc-ad1b54a73211 - f9f05ed2-fb84-432d-8b63-149b8d791733 - 413bd896-b588-4513-9f66-7870ff4f7efb', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Zorana Mihajlovic, Minister of Construction, Transport and Infrastructure', 'category': 'person', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Purpose and Intent Layer'}\", 'layer_decomposition_uuid': 'f9f05ed2-fb84-432d-8b63-149b8d791733', 'unique_id': '413bd896-b588-4513-9f66-7870ff4f7efb', 'type': 'detail'})]\n", + "LLM_CLASSIFICATION:LAYER:Laws, regulations, and legal case documents:Document:doc1\n", + "Updated Nodes: [('LLM_LAYER_CLASSIFICATION:TEXT:Document:doc1', {'data_type': 'text', 'context_name': 'TEXT', 'layer_name': 'Laws, regulations, and legal case documents'}), ('Document:doc1', {}), ('LLM_CLASSIFICATION:LAYER:Laws, regulations, and legal case documents:Document:doc1', {'data_type': 'text', 'context_name': 'TEXT', 'layer_name': 'Laws, regulations, and legal case documents'}), ('Ministry of Construction, Transport and Infrastructure - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 35c3720f-c25e-437a-815a-23ad47da0a02 - f25d6b1e-b61b-40f3-bebb-d2eb7dae14e6', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Ministry of Construction, Transport and Infrastructure', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal Structure Layer'}\", 'layer_decomposition_uuid': '35c3720f-c25e-437a-815a-23ad47da0a02', 'unique_id': 'f25d6b1e-b61b-40f3-bebb-d2eb7dae14e6', 'type': 'detail'}), ('Regulation on amendments and supplements to the Regulation on the content, manner, and procedure of preparation and how to conduct control of technical documentation according to the class and purpose of facilities - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 35c3720f-c25e-437a-815a-23ad47da0a02 - 40746e96-0590-408d-9da5-f29fa794ebf5', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Regulation on amendments and supplements to the Regulation on the content, manner, and procedure of preparation and how to conduct control of technical documentation according to the class and purpose of facilities', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal Structure Layer'}\", 'layer_decomposition_uuid': '35c3720f-c25e-437a-815a-23ad47da0a02', 'unique_id': '40746e96-0590-408d-9da5-f29fa794ebf5', 'type': 'detail'}), ('Official Gazette of RS, No. 77/2015 - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 35c3720f-c25e-437a-815a-23ad47da0a02 - 3445497e-2951-4f3b-9d62-da48682f4d4c', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Official Gazette of RS, No. 77/2015', 'category': 'document', 'memory_type': 'episodic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal Structure Layer'}\", 'layer_decomposition_uuid': '35c3720f-c25e-437a-815a-23ad47da0a02', 'unique_id': '3445497e-2951-4f3b-9d62-da48682f4d4c', 'type': 'detail'}), ('Law on Planning and Construction - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 35c3720f-c25e-437a-815a-23ad47da0a02 - 9fcc7992-2773-48ef-956b-0b6818260124', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Law on Planning and Construction', 'category': 'document', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal Structure Layer'}\", 'layer_decomposition_uuid': '35c3720f-c25e-437a-815a-23ad47da0a02', 'unique_id': '9fcc7992-2773-48ef-956b-0b6818260124', 'type': 'detail'}), ('Zorana Mihajlović, Prof. Dr. - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 35c3720f-c25e-437a-815a-23ad47da0a02 - aceadca4-454b-45b6-a487-3e639bc8c095', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Zorana Mihajlović, Prof. Dr.', 'category': 'person', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal Structure Layer'}\", 'layer_decomposition_uuid': '35c3720f-c25e-437a-815a-23ad47da0a02', 'unique_id': 'aceadca4-454b-45b6-a487-3e639bc8c095', 'type': 'detail'}), ('Ministry of Construction, Transport and Infrastructure - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 164e45a4-00bb-4d07-a069-3311a56e3780 - 36baf9c8-2125-4611-baef-923a2b96e5de', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Ministry of Construction, Transport and Infrastructure', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Terminology and Concepts Layer'}\", 'layer_decomposition_uuid': '164e45a4-00bb-4d07-a069-3311a56e3780', 'unique_id': '36baf9c8-2125-4611-baef-923a2b96e5de', 'type': 'detail'}), ('Rulebook on Amendments and Supplements of the Rulebook on the Content, Manner, and Procedure of Preparation and the Manner of Control of Technical Documentation According to the Class and Purpose of the Buildings - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 164e45a4-00bb-4d07-a069-3311a56e3780 - a9959179-eda0-43ce-8b71-783b4852e3f9', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Rulebook on Amendments and Supplements of the Rulebook on the Content, Manner, and Procedure of Preparation and the Manner of Control of Technical Documentation According to the Class and Purpose of the Buildings', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Terminology and Concepts Layer'}\", 'layer_decomposition_uuid': '164e45a4-00bb-4d07-a069-3311a56e3780', 'unique_id': 'a9959179-eda0-43ce-8b71-783b4852e3f9', 'type': 'detail'}), ('Official Gazette of the Republic of Serbia - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 164e45a4-00bb-4d07-a069-3311a56e3780 - 49ffb1f5-7429-4122-9205-82c9d9f27562', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Official Gazette of the Republic of Serbia', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Terminology and Concepts Layer'}\", 'layer_decomposition_uuid': '164e45a4-00bb-4d07-a069-3311a56e3780', 'unique_id': '49ffb1f5-7429-4122-9205-82c9d9f27562', 'type': 'detail'}), ('Construction permit - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 164e45a4-00bb-4d07-a069-3311a56e3780 - f93086c8-566e-41bc-b206-a87aa5506b3f', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Construction permit', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Terminology and Concepts Layer'}\", 'layer_decomposition_uuid': '164e45a4-00bb-4d07-a069-3311a56e3780', 'unique_id': 'f93086c8-566e-41bc-b206-a87aa5506b3f', 'type': 'detail'}), ('Conceptual design - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 164e45a4-00bb-4d07-a069-3311a56e3780 - ba1cb66b-aa1d-413c-a56a-54103f431359', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Conceptual design', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Terminology and Concepts Layer'}\", 'layer_decomposition_uuid': '164e45a4-00bb-4d07-a069-3311a56e3780', 'unique_id': 'ba1cb66b-aa1d-413c-a56a-54103f431359', 'type': 'detail'}), ('Execution project - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 164e45a4-00bb-4d07-a069-3311a56e3780 - 0ff044bd-8c08-46e8-8bc4-2a7506f3cf11', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Execution project', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Terminology and Concepts Layer'}\", 'layer_decomposition_uuid': '164e45a4-00bb-4d07-a069-3311a56e3780', 'unique_id': '0ff044bd-8c08-46e8-8bc4-2a7506f3cf11', 'type': 'detail'}), ('Minister Zorana Mihajlovic - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 164e45a4-00bb-4d07-a069-3311a56e3780 - 107baf39-73fa-4040-b6ee-dfe0caad0eaf', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Minister Zorana Mihajlovic', 'category': 'person', 'memory_type': 'episodic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Terminology and Concepts Layer'}\", 'layer_decomposition_uuid': '164e45a4-00bb-4d07-a069-3311a56e3780', 'unique_id': '107baf39-73fa-4040-b6ee-dfe0caad0eaf', 'type': 'detail'}), ('Pravilnik o izmenama i dopunama Pravilnika o sadržini, načinu i postupku izrade i način vršenja kontrole tehničke dokumentacije prema klasi i nameni objekata - dc903cac-4528-44c7-b1dc-ad1b54a73211 - e62655b3-205c-41d5-bbfb-ef9cb06c081e - 65de2225-9c3e-432c-b2f3-0940081753d8', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Pravilnik o izmenama i dopunama Pravilnika o sadržini, načinu i postupku izrade i način vršenja kontrole tehničke dokumentacije prema klasi i nameni objekata', 'category': 'legalDocument', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal References and Citations Layer'}\", 'layer_decomposition_uuid': 'e62655b3-205c-41d5-bbfb-ef9cb06c081e', 'unique_id': '65de2225-9c3e-432c-b2f3-0940081753d8', 'type': 'detail'}), ('Službeni glasnik RS, br. 77/2015 published on 9.9.2015 - dc903cac-4528-44c7-b1dc-ad1b54a73211 - e62655b3-205c-41d5-bbfb-ef9cb06c081e - 04a45f2b-7229-4198-a589-35dc4815eb92', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Službeni glasnik RS, br. 77/2015 published on 9.9.2015', 'category': 'publication', 'memory_type': 'episodic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal References and Citations Layer'}\", 'layer_decomposition_uuid': 'e62655b3-205c-41d5-bbfb-ef9cb06c081e', 'unique_id': '04a45f2b-7229-4198-a589-35dc4815eb92', 'type': 'detail'}), ('Zakon o planiranju i izgradnji - dc903cac-4528-44c7-b1dc-ad1b54a73211 - e62655b3-205c-41d5-bbfb-ef9cb06c081e - d17872b9-3904-412d-85a7-1d1f835bc7f5', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Zakon o planiranju i izgradnji', 'category': 'legalAct', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal References and Citations Layer'}\", 'layer_decomposition_uuid': 'e62655b3-205c-41d5-bbfb-ef9cb06c081e', 'unique_id': 'd17872b9-3904-412d-85a7-1d1f835bc7f5', 'type': 'detail'}), ('Zorana Mihajlović - dc903cac-4528-44c7-b1dc-ad1b54a73211 - e62655b3-205c-41d5-bbfb-ef9cb06c081e - e7699944-8b90-4344-b0da-94a134ffaaf7', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Zorana Mihajlović', 'category': 'person', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Legal References and Citations Layer'}\", 'layer_decomposition_uuid': 'e62655b3-205c-41d5-bbfb-ef9cb06c081e', 'unique_id': 'e7699944-8b90-4344-b0da-94a134ffaaf7', 'type': 'detail'}), ('Ministar građevinarstva, saobraćaja i infrastrukture - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 27555393-566c-47fc-9711-3789c2fd270b - 4298cf5e-764f-40b7-9ff8-e60cd2253009', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Ministar građevinarstva, saobraćaja i infrastrukture', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Jurisdictional Layer'}\", 'layer_decomposition_uuid': '27555393-566c-47fc-9711-3789c2fd270b', 'unique_id': '4298cf5e-764f-40b7-9ff8-e60cd2253009', 'type': 'detail'}), ('Pravilnik o izmenama i dopunama Pravilnika o sadržini, načinu i postupku izrade i način vršenja kontrole tehničke dokumentacije prema klasi i nameni objekata - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 27555393-566c-47fc-9711-3789c2fd270b - dd3c23e1-e905-4c9a-81ad-2ad5f0ab4f7e', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Pravilnik o izmenama i dopunama Pravilnika o sadržini, načinu i postupku izrade i način vršenja kontrole tehničke dokumentacije prema klasi i nameni objekata', 'category': 'document', 'memory_type': 'episodic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Jurisdictional Layer'}\", 'layer_decomposition_uuid': '27555393-566c-47fc-9711-3789c2fd270b', 'unique_id': 'dd3c23e1-e905-4c9a-81ad-2ad5f0ab4f7e', 'type': 'detail'}), ('Službeni glasnik RS, broj 77/2015 - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 27555393-566c-47fc-9711-3789c2fd270b - 3c332f72-d9cb-4afe-9514-a742da4ef58a', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Službeni glasnik RS, broj 77/2015', 'category': 'publication', 'memory_type': 'episodic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Jurisdictional Layer'}\", 'layer_decomposition_uuid': '27555393-566c-47fc-9711-3789c2fd270b', 'unique_id': '3c332f72-d9cb-4afe-9514-a742da4ef58a', 'type': 'detail'}), ('prof. dr Zorana Mihajlović - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 27555393-566c-47fc-9711-3789c2fd270b - 9f353a2f-d6de-4649-827d-0a4575a437a1', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'prof. dr Zorana Mihajlović', 'category': 'person', 'memory_type': 'episodic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Jurisdictional Layer'}\", 'layer_decomposition_uuid': '27555393-566c-47fc-9711-3789c2fd270b', 'unique_id': '9f353a2f-d6de-4649-827d-0a4575a437a1', 'type': 'detail'}), ('Ministry of Construction, Transport and Infrastructure - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 45870c37-719b-4080-ad44-8afb2315fb74 - 20dc3b92-c00b-4f60-b426-08a915110ad8', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Ministry of Construction, Transport and Infrastructure', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Historical Amendments Layer'}\", 'layer_decomposition_uuid': '45870c37-719b-4080-ad44-8afb2315fb74', 'unique_id': '20dc3b92-c00b-4f60-b426-08a915110ad8', 'type': 'detail'}), ('Regulation on Amendments to the Regulation on the content, method, and procedure of creating and controlling technical documentation according to the class and purpose of buildings - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 45870c37-719b-4080-ad44-8afb2315fb74 - 559ba048-ae86-4df0-97e8-7b5cc8ccb978', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Regulation on Amendments to the Regulation on the content, method, and procedure of creating and controlling technical documentation according to the class and purpose of buildings', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Historical Amendments Layer'}\", 'layer_decomposition_uuid': '45870c37-719b-4080-ad44-8afb2315fb74', 'unique_id': '559ba048-ae86-4df0-97e8-7b5cc8ccb978', 'type': 'detail'}), ('Official Gazette of the Republic of Serbia, No. 77/2015 dated September 9, 2015 - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 45870c37-719b-4080-ad44-8afb2315fb74 - 0a7b7400-6770-4de9-800d-9dd63215943d', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Official Gazette of the Republic of Serbia, No. 77/2015 dated September 9, 2015', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Historical Amendments Layer'}\", 'layer_decomposition_uuid': '45870c37-719b-4080-ad44-8afb2315fb74', 'unique_id': '0a7b7400-6770-4de9-800d-9dd63215943d', 'type': 'detail'}), ('Law on Planning and Construction - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 45870c37-719b-4080-ad44-8afb2315fb74 - 312cb2db-e521-4f9b-bcb8-b87040f60305', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Law on Planning and Construction', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Historical Amendments Layer'}\", 'layer_decomposition_uuid': '45870c37-719b-4080-ad44-8afb2315fb74', 'unique_id': '312cb2db-e521-4f9b-bcb8-b87040f60305', 'type': 'detail'}), ('Zorana Mihajlovic, Prof. Dr. - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 45870c37-719b-4080-ad44-8afb2315fb74 - 41218825-e4d8-478d-8cf8-3f394d9300fc', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Zorana Mihajlovic, Prof. Dr.', 'category': 'person', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Historical Amendments Layer'}\", 'layer_decomposition_uuid': '45870c37-719b-4080-ad44-8afb2315fb74', 'unique_id': '41218825-e4d8-478d-8cf8-3f394d9300fc', 'type': 'detail'}), ('Minister of Construction, Transport and Infrastructure - dc903cac-4528-44c7-b1dc-ad1b54a73211 - f9f05ed2-fb84-432d-8b63-149b8d791733 - 7691f0e7-d410-4aae-bb7a-3d5652535cb3', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Minister of Construction, Transport and Infrastructure', 'category': 'person', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Purpose and Intent Layer'}\", 'layer_decomposition_uuid': 'f9f05ed2-fb84-432d-8b63-149b8d791733', 'unique_id': '7691f0e7-d410-4aae-bb7a-3d5652535cb3', 'type': 'detail'}), ('Amendments and supplements to the Rule on the content, method, and procedure of drafting and method of technical documentation control according to the class and purpose of buildings - dc903cac-4528-44c7-b1dc-ad1b54a73211 - f9f05ed2-fb84-432d-8b63-149b8d791733 - c423e034-2fa2-4fd7-958b-c192949d7516', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Amendments and supplements to the Rule on the content, method, and procedure of drafting and method of technical documentation control according to the class and purpose of buildings', 'category': 'event', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Purpose and Intent Layer'}\", 'layer_decomposition_uuid': 'f9f05ed2-fb84-432d-8b63-149b8d791733', 'unique_id': 'c423e034-2fa2-4fd7-958b-c192949d7516', 'type': 'detail'}), ('Official Journal of the Republic of Serbia - dc903cac-4528-44c7-b1dc-ad1b54a73211 - f9f05ed2-fb84-432d-8b63-149b8d791733 - 5d9fad88-91cb-4972-a622-f86a9dcd54e7', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Official Journal of the Republic of Serbia', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Purpose and Intent Layer'}\", 'layer_decomposition_uuid': 'f9f05ed2-fb84-432d-8b63-149b8d791733', 'unique_id': '5d9fad88-91cb-4972-a622-f86a9dcd54e7', 'type': 'detail'}), ('Publication number 77/2015 - dc903cac-4528-44c7-b1dc-ad1b54a73211 - f9f05ed2-fb84-432d-8b63-149b8d791733 - b7619af0-82d6-472a-abc4-95a6bc72df21', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Publication number 77/2015', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Purpose and Intent Layer'}\", 'layer_decomposition_uuid': 'f9f05ed2-fb84-432d-8b63-149b8d791733', 'unique_id': 'b7619af0-82d6-472a-abc4-95a6bc72df21', 'type': 'detail'}), ('Law on Planning and Construction - dc903cac-4528-44c7-b1dc-ad1b54a73211 - f9f05ed2-fb84-432d-8b63-149b8d791733 - 73785155-6925-4bbc-ba30-690692ae6ad6', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Law on Planning and Construction', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Purpose and Intent Layer'}\", 'layer_decomposition_uuid': 'f9f05ed2-fb84-432d-8b63-149b8d791733', 'unique_id': '73785155-6925-4bbc-ba30-690692ae6ad6', 'type': 'detail'}), ('Article 17 of the Rule - dc903cac-4528-44c7-b1dc-ad1b54a73211 - f9f05ed2-fb84-432d-8b63-149b8d791733 - bee4e71b-62ac-43bc-ba2c-4c6db713576c', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Article 17 of the Rule', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Purpose and Intent Layer'}\", 'layer_decomposition_uuid': 'f9f05ed2-fb84-432d-8b63-149b8d791733', 'unique_id': 'bee4e71b-62ac-43bc-ba2c-4c6db713576c', 'type': 'detail'}), ('Article 19 of the Rule - dc903cac-4528-44c7-b1dc-ad1b54a73211 - f9f05ed2-fb84-432d-8b63-149b8d791733 - 1e4635f2-c1f3-4e42-99bb-fcf7a6c8dea7', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Article 19 of the Rule', 'category': 'entity', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Purpose and Intent Layer'}\", 'layer_decomposition_uuid': 'f9f05ed2-fb84-432d-8b63-149b8d791733', 'unique_id': '1e4635f2-c1f3-4e42-99bb-fcf7a6c8dea7', 'type': 'detail'}), ('Zorana Mihajlovic, Minister of Construction, Transport and Infrastructure - dc903cac-4528-44c7-b1dc-ad1b54a73211 - f9f05ed2-fb84-432d-8b63-149b8d791733 - 413bd896-b588-4513-9f66-7870ff4f7efb', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Zorana Mihajlovic, Minister of Construction, Transport and Infrastructure', 'category': 'person', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Purpose and Intent Layer'}\", 'layer_decomposition_uuid': 'f9f05ed2-fb84-432d-8b63-149b8d791733', 'unique_id': '413bd896-b588-4513-9f66-7870ff4f7efb', 'type': 'detail'}), ('Pravilnik o izmenama i dopunama Pravilnika o sadržini, načinu i postupku izrade i način vršenja kontrole tehničke dokumentacije prema klasi i nameni objekata - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 619a1e63-f870-4e6c-b820-6ed5e090bab1 - 28fe8a93-bce2-418f-8316-9cbe642c5871', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Pravilnik o izmenama i dopunama Pravilnika o sadržini, načinu i postupku izrade i način vršenja kontrole tehničke dokumentacije prema klasi i nameni objekata', 'category': 'rule', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Compliance Requirements Layer'}\", 'layer_decomposition_uuid': '619a1e63-f870-4e6c-b820-6ed5e090bab1', 'unique_id': '28fe8a93-bce2-418f-8316-9cbe642c5871', 'type': 'detail'}), ('Službeni glasnik RS, br. 77/2015 - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 619a1e63-f870-4e6c-b820-6ed5e090bab1 - fe009af1-fd92-4b44-8e0a-ec9367d7c398', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Službeni glasnik RS, br. 77/2015', 'category': 'publication', 'memory_type': 'episodic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Compliance Requirements Layer'}\", 'layer_decomposition_uuid': '619a1e63-f870-4e6c-b820-6ed5e090bab1', 'unique_id': 'fe009af1-fd92-4b44-8e0a-ec9367d7c398', 'type': 'detail'}), ('Zakon o planiranju i izgradnji - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 619a1e63-f870-4e6c-b820-6ed5e090bab1 - b77c25c4-bb78-4165-ab9d-b3008c50f172', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'Zakon o planiranju i izgradnji', 'category': 'law', 'memory_type': 'semantic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Compliance Requirements Layer'}\", 'layer_decomposition_uuid': '619a1e63-f870-4e6c-b820-6ed5e090bab1', 'unique_id': 'b77c25c4-bb78-4165-ab9d-b3008c50f172', 'type': 'detail'}), ('prof. dr Zorana Mihajlović - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 619a1e63-f870-4e6c-b820-6ed5e090bab1 - a68c04ce-2101-4d42-8e24-871278b993a7', {'created_at': '2024-03-12 22:51:16', 'updated_at': '2024-03-12 22:51:16', 'description': 'prof. dr Zorana Mihajlović', 'category': 'person', 'memory_type': 'episodic', 'layer_uuid': 'dc903cac-4528-44c7-b1dc-ad1b54a73211', 'layer_description': \"{'layer': 'Compliance Requirements Layer'}\", 'layer_decomposition_uuid': '619a1e63-f870-4e6c-b820-6ed5e090bab1', 'unique_id': 'a68c04ce-2101-4d42-8e24-871278b993a7', 'type': 'detail'})]\n", + "73785155-6925-4bbc-ba30-690692ae6ad6\n", + "Law on Planning and Construction - dc903cac-4528-44c7-b1dc-ad1b54a73211 - f9f05ed2-fb84-432d-8b63-149b8d791733 - 73785155-6925-4bbc-ba30-690692ae6ad6\n", + "Law on Planning and Construction - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 35c3720f-c25e-437a-815a-23ad47da0a02 - 9fcc7992-2773-48ef-956b-0b6818260124\n", + "5d9fad88-91cb-4972-a622-f86a9dcd54e7\n", + "Official Journal of the Republic of Serbia - dc903cac-4528-44c7-b1dc-ad1b54a73211 - f9f05ed2-fb84-432d-8b63-149b8d791733 - 5d9fad88-91cb-4972-a622-f86a9dcd54e7\n", + "Official Gazette of the Republic of Serbia - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 164e45a4-00bb-4d07-a069-3311a56e3780 - 49ffb1f5-7429-4122-9205-82c9d9f27562\n", + "73785155-6925-4bbc-ba30-690692ae6ad6\n", + "Law on Planning and Construction - dc903cac-4528-44c7-b1dc-ad1b54a73211 - f9f05ed2-fb84-432d-8b63-149b8d791733 - 73785155-6925-4bbc-ba30-690692ae6ad6\n", + "Law on Planning and Construction - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 45870c37-719b-4080-ad44-8afb2315fb74 - 312cb2db-e521-4f9b-bcb8-b87040f60305\n", + "20dc3b92-c00b-4f60-b426-08a915110ad8\n", + "Ministry of Construction, Transport and Infrastructure - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 45870c37-719b-4080-ad44-8afb2315fb74 - 20dc3b92-c00b-4f60-b426-08a915110ad8\n", + "Ministry of Construction, Transport and Infrastructure - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 35c3720f-c25e-437a-815a-23ad47da0a02 - f25d6b1e-b61b-40f3-bebb-d2eb7dae14e6\n", + "312cb2db-e521-4f9b-bcb8-b87040f60305\n", + "Law on Planning and Construction - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 45870c37-719b-4080-ad44-8afb2315fb74 - 312cb2db-e521-4f9b-bcb8-b87040f60305\n", + "Law on Planning and Construction - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 35c3720f-c25e-437a-815a-23ad47da0a02 - 9fcc7992-2773-48ef-956b-0b6818260124\n", + "41218825-e4d8-478d-8cf8-3f394d9300fc\n", + "Zorana Mihajlovic, Prof. Dr. - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 45870c37-719b-4080-ad44-8afb2315fb74 - 41218825-e4d8-478d-8cf8-3f394d9300fc\n", + "Zorana Mihajlović, Prof. Dr. - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 35c3720f-c25e-437a-815a-23ad47da0a02 - aceadca4-454b-45b6-a487-3e639bc8c095\n", + "20dc3b92-c00b-4f60-b426-08a915110ad8\n", + "Ministry of Construction, Transport and Infrastructure - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 45870c37-719b-4080-ad44-8afb2315fb74 - 20dc3b92-c00b-4f60-b426-08a915110ad8\n", + "Ministry of Construction, Transport and Infrastructure - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 164e45a4-00bb-4d07-a069-3311a56e3780 - 36baf9c8-2125-4611-baef-923a2b96e5de\n", + "312cb2db-e521-4f9b-bcb8-b87040f60305\n", + "Law on Planning and Construction - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 45870c37-719b-4080-ad44-8afb2315fb74 - 312cb2db-e521-4f9b-bcb8-b87040f60305\n", + "Law on Planning and Construction - dc903cac-4528-44c7-b1dc-ad1b54a73211 - f9f05ed2-fb84-432d-8b63-149b8d791733 - 73785155-6925-4bbc-ba30-690692ae6ad6\n", + "36baf9c8-2125-4611-baef-923a2b96e5de\n", + "Ministry of Construction, Transport and Infrastructure - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 164e45a4-00bb-4d07-a069-3311a56e3780 - 36baf9c8-2125-4611-baef-923a2b96e5de\n", + "Ministry of Construction, Transport and Infrastructure - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 35c3720f-c25e-437a-815a-23ad47da0a02 - f25d6b1e-b61b-40f3-bebb-d2eb7dae14e6\n", + "36baf9c8-2125-4611-baef-923a2b96e5de\n", + "Ministry of Construction, Transport and Infrastructure - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 164e45a4-00bb-4d07-a069-3311a56e3780 - 36baf9c8-2125-4611-baef-923a2b96e5de\n", + "Ministry of Construction, Transport and Infrastructure - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 45870c37-719b-4080-ad44-8afb2315fb74 - 20dc3b92-c00b-4f60-b426-08a915110ad8\n", + "49ffb1f5-7429-4122-9205-82c9d9f27562\n", + "Official Gazette of the Republic of Serbia - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 164e45a4-00bb-4d07-a069-3311a56e3780 - 49ffb1f5-7429-4122-9205-82c9d9f27562\n", + "Official Journal of the Republic of Serbia - dc903cac-4528-44c7-b1dc-ad1b54a73211 - f9f05ed2-fb84-432d-8b63-149b8d791733 - 5d9fad88-91cb-4972-a622-f86a9dcd54e7\n", + "65de2225-9c3e-432c-b2f3-0940081753d8\n", + "Pravilnik o izmenama i dopunama Pravilnika o sadržini, načinu i postupku izrade i način vršenja kontrole tehničke dokumentacije prema klasi i nameni objekata - dc903cac-4528-44c7-b1dc-ad1b54a73211 - e62655b3-205c-41d5-bbfb-ef9cb06c081e - 65de2225-9c3e-432c-b2f3-0940081753d8\n", + "Pravilnik o izmenama i dopunama Pravilnika o sadržini, načinu i postupku izrade i način vršenja kontrole tehničke dokumentacije prema klasi i nameni objekata - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 27555393-566c-47fc-9711-3789c2fd270b - dd3c23e1-e905-4c9a-81ad-2ad5f0ab4f7e\n", + "65de2225-9c3e-432c-b2f3-0940081753d8\n", + "Pravilnik o izmenama i dopunama Pravilnika o sadržini, načinu i postupku izrade i način vršenja kontrole tehničke dokumentacije prema klasi i nameni objekata - dc903cac-4528-44c7-b1dc-ad1b54a73211 - e62655b3-205c-41d5-bbfb-ef9cb06c081e - 65de2225-9c3e-432c-b2f3-0940081753d8\n", + "Pravilnik o izmenama i dopunama Pravilnika o sadržini, načinu i postupku izrade i način vršenja kontrole tehničke dokumentacije prema klasi i nameni objekata - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 619a1e63-f870-4e6c-b820-6ed5e090bab1 - 28fe8a93-bce2-418f-8316-9cbe642c5871\n", + "d17872b9-3904-412d-85a7-1d1f835bc7f5\n", + "Zakon o planiranju i izgradnji - dc903cac-4528-44c7-b1dc-ad1b54a73211 - e62655b3-205c-41d5-bbfb-ef9cb06c081e - d17872b9-3904-412d-85a7-1d1f835bc7f5\n", + "Zakon o planiranju i izgradnji - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 619a1e63-f870-4e6c-b820-6ed5e090bab1 - b77c25c4-bb78-4165-ab9d-b3008c50f172\n", + "dd3c23e1-e905-4c9a-81ad-2ad5f0ab4f7e\n", + "Pravilnik o izmenama i dopunama Pravilnika o sadržini, načinu i postupku izrade i način vršenja kontrole tehničke dokumentacije prema klasi i nameni objekata - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 27555393-566c-47fc-9711-3789c2fd270b - dd3c23e1-e905-4c9a-81ad-2ad5f0ab4f7e\n", + "Pravilnik o izmenama i dopunama Pravilnika o sadržini, načinu i postupku izrade i način vršenja kontrole tehničke dokumentacije prema klasi i nameni objekata - dc903cac-4528-44c7-b1dc-ad1b54a73211 - e62655b3-205c-41d5-bbfb-ef9cb06c081e - 65de2225-9c3e-432c-b2f3-0940081753d8\n", + "dd3c23e1-e905-4c9a-81ad-2ad5f0ab4f7e\n", + "Pravilnik o izmenama i dopunama Pravilnika o sadržini, načinu i postupku izrade i način vršenja kontrole tehničke dokumentacije prema klasi i nameni objekata - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 27555393-566c-47fc-9711-3789c2fd270b - dd3c23e1-e905-4c9a-81ad-2ad5f0ab4f7e\n", + "Pravilnik o izmenama i dopunama Pravilnika o sadržini, načinu i postupku izrade i način vršenja kontrole tehničke dokumentacije prema klasi i nameni objekata - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 619a1e63-f870-4e6c-b820-6ed5e090bab1 - 28fe8a93-bce2-418f-8316-9cbe642c5871\n", + "3c332f72-d9cb-4afe-9514-a742da4ef58a\n", + "Službeni glasnik RS, broj 77/2015 - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 27555393-566c-47fc-9711-3789c2fd270b - 3c332f72-d9cb-4afe-9514-a742da4ef58a\n", + "Službeni glasnik RS, br. 77/2015 - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 619a1e63-f870-4e6c-b820-6ed5e090bab1 - fe009af1-fd92-4b44-8e0a-ec9367d7c398\n", + "9f353a2f-d6de-4649-827d-0a4575a437a1\n", + "prof. dr Zorana Mihajlović - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 27555393-566c-47fc-9711-3789c2fd270b - 9f353a2f-d6de-4649-827d-0a4575a437a1\n", + "prof. dr Zorana Mihajlović - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 619a1e63-f870-4e6c-b820-6ed5e090bab1 - a68c04ce-2101-4d42-8e24-871278b993a7\n", + "28fe8a93-bce2-418f-8316-9cbe642c5871\n", + "Pravilnik o izmenama i dopunama Pravilnika o sadržini, načinu i postupku izrade i način vršenja kontrole tehničke dokumentacije prema klasi i nameni objekata - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 619a1e63-f870-4e6c-b820-6ed5e090bab1 - 28fe8a93-bce2-418f-8316-9cbe642c5871\n", + "Pravilnik o izmenama i dopunama Pravilnika o sadržini, načinu i postupku izrade i način vršenja kontrole tehničke dokumentacije prema klasi i nameni objekata - dc903cac-4528-44c7-b1dc-ad1b54a73211 - e62655b3-205c-41d5-bbfb-ef9cb06c081e - 65de2225-9c3e-432c-b2f3-0940081753d8\n", + "b77c25c4-bb78-4165-ab9d-b3008c50f172\n", + "Zakon o planiranju i izgradnji - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 619a1e63-f870-4e6c-b820-6ed5e090bab1 - b77c25c4-bb78-4165-ab9d-b3008c50f172\n", + "Zakon o planiranju i izgradnji - dc903cac-4528-44c7-b1dc-ad1b54a73211 - e62655b3-205c-41d5-bbfb-ef9cb06c081e - d17872b9-3904-412d-85a7-1d1f835bc7f5\n", + "28fe8a93-bce2-418f-8316-9cbe642c5871\n", + "Pravilnik o izmenama i dopunama Pravilnika o sadržini, načinu i postupku izrade i način vršenja kontrole tehničke dokumentacije prema klasi i nameni objekata - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 619a1e63-f870-4e6c-b820-6ed5e090bab1 - 28fe8a93-bce2-418f-8316-9cbe642c5871\n", + "Pravilnik o izmenama i dopunama Pravilnika o sadržini, načinu i postupku izrade i način vršenja kontrole tehničke dokumentacije prema klasi i nameni objekata - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 27555393-566c-47fc-9711-3789c2fd270b - dd3c23e1-e905-4c9a-81ad-2ad5f0ab4f7e\n", + "fe009af1-fd92-4b44-8e0a-ec9367d7c398\n", + "Službeni glasnik RS, br. 77/2015 - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 619a1e63-f870-4e6c-b820-6ed5e090bab1 - fe009af1-fd92-4b44-8e0a-ec9367d7c398\n", + "Službeni glasnik RS, broj 77/2015 - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 27555393-566c-47fc-9711-3789c2fd270b - 3c332f72-d9cb-4afe-9514-a742da4ef58a\n", + "a68c04ce-2101-4d42-8e24-871278b993a7\n", + "prof. dr Zorana Mihajlović - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 619a1e63-f870-4e6c-b820-6ed5e090bab1 - a68c04ce-2101-4d42-8e24-871278b993a7\n", + "prof. dr Zorana Mihajlović - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 27555393-566c-47fc-9711-3789c2fd270b - 9f353a2f-d6de-4649-827d-0a4575a437a1\n", + "f25d6b1e-b61b-40f3-bebb-d2eb7dae14e6\n", + "Ministry of Construction, Transport and Infrastructure - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 35c3720f-c25e-437a-815a-23ad47da0a02 - f25d6b1e-b61b-40f3-bebb-d2eb7dae14e6\n", + "Ministry of Construction, Transport and Infrastructure - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 164e45a4-00bb-4d07-a069-3311a56e3780 - 36baf9c8-2125-4611-baef-923a2b96e5de\n", + "f25d6b1e-b61b-40f3-bebb-d2eb7dae14e6\n", + "Ministry of Construction, Transport and Infrastructure - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 35c3720f-c25e-437a-815a-23ad47da0a02 - f25d6b1e-b61b-40f3-bebb-d2eb7dae14e6\n", + "Ministry of Construction, Transport and Infrastructure - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 45870c37-719b-4080-ad44-8afb2315fb74 - 20dc3b92-c00b-4f60-b426-08a915110ad8\n", + "9fcc7992-2773-48ef-956b-0b6818260124\n", + "Law on Planning and Construction - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 35c3720f-c25e-437a-815a-23ad47da0a02 - 9fcc7992-2773-48ef-956b-0b6818260124\n", + "Law on Planning and Construction - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 45870c37-719b-4080-ad44-8afb2315fb74 - 312cb2db-e521-4f9b-bcb8-b87040f60305\n", + "aceadca4-454b-45b6-a487-3e639bc8c095\n", + "Zorana Mihajlović, Prof. Dr. - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 35c3720f-c25e-437a-815a-23ad47da0a02 - aceadca4-454b-45b6-a487-3e639bc8c095\n", + "Zorana Mihajlovic, Prof. Dr. - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 45870c37-719b-4080-ad44-8afb2315fb74 - 41218825-e4d8-478d-8cf8-3f394d9300fc\n", + "9fcc7992-2773-48ef-956b-0b6818260124\n", + "Law on Planning and Construction - dc903cac-4528-44c7-b1dc-ad1b54a73211 - 35c3720f-c25e-437a-815a-23ad47da0a02 - 9fcc7992-2773-48ef-956b-0b6818260124\n", + "Law on Planning and Construction - dc903cac-4528-44c7-b1dc-ad1b54a73211 - f9f05ed2-fb84-432d-8b63-149b8d791733 - 73785155-6925-4bbc-ba30-690692ae6ad6\n", + "Graph is visualized at: https://hub.graphistry.com/graph/graph.html?dataset=849498bc9b2b4c7a8364da17bfc80477&type=arrow&viztoken=f50f20fd-f058-4bae-9a11-150dcb7e07c4&usertag=993172cb-pygraphistry-0.33.5&splashAfter=1710280350&info=true\n", + "None\n" + ] + } + ], + "source": [ + "from os import path, listdir\n", + "from cognitive_architecture import cognify, list_datasets\n", + "from cognitive_architecture.utils import render_graph\n", + "\n", + "# text = \"\"\"In the nicest possible way, Britons have always been a bit silly about animals. “Keeping pets, for the English, is not so much a leisure activity as it is an entire way of life,” wrote the anthropologist Kate Fox in Watching the English, nearly 20 years ago. Our dogs, in particular, have been an acceptable outlet for emotions and impulses we otherwise keep strictly controlled – our latent desire to be demonstratively affectionate, to be silly and chat to strangers. If this seems like an exaggeration, consider the different reactions you’d get if you struck up a conversation with someone in a park with a dog, versus someone on the train.\n", + "# Indeed, British society has been set up to accommodate these four-legged ambassadors. In the UK – unlike Australia, say, or New Zealand – dogs are not just permitted on public transport but often openly encouraged. Many pubs and shops display waggish signs, reading, “Dogs welcome, people tolerated”, and have treat jars on their counters. The other day, as I was waiting outside a cafe with a friend’s dog, the barista urged me to bring her inside.\n", + "# For years, Britons’ non-partisan passion for animals has been consistent amid dwindling common ground. But lately, rather than bringing out the best in us, our relationship with dogs is increasingly revealing us at our worst – and our supposed “best friends” are paying the price.\n", + "# As with so many latent traits in the national psyche, it all came unleashed with the pandemic, when many people thought they might as well make the most of all that time at home and in local parks with a dog. Between 2019 and 2022, the number of pet dogs in the UK rose from about nine million to 13 million. But there’s long been a seasonal surge around this time of year, substantial enough for the Dogs Trust charity to coin its famous slogan back in 1978: “A dog is for life, not just for Christmas.”\"\"\"\n", + "\n", + "print(list_datasets())\n", + "\n", + "graph = await cognify(\"izmene\")\n", + "\n", + "graph_url = await render_graph(graph, graph_type = \"networkx\")\n", + "print(graph_url)\n" + ] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3 (ipykernel)", + "language": "python", + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.10.13" + } + }, + "nbformat": 4, + "nbformat_minor": 5 +} diff --git a/cognitive_architecture/__init__.py b/cognitive_architecture/__init__.py index 6d15c6cc8..4b290afe5 100644 --- a/cognitive_architecture/__init__.py +++ b/cognitive_architecture/__init__.py @@ -1,3 +1,3 @@ from .api.v1.add.add import add -from .api.v1.add.add_dlt import add_dlt from .api.v1.cognify.cognify import cognify +from .api.v1.list_datasets.list_datasets import list_datasets diff --git a/cognitive_architecture/api/v1/add/add.py b/cognitive_architecture/api/v1/add/add.py index bdeb77d27..b49df553e 100644 --- a/cognitive_architecture/api/v1/add/add.py +++ b/cognitive_architecture/api/v1/add/add.py @@ -1,53 +1,91 @@ +from typing import List, Union +from os import path, listdir import asyncio -from uuid import UUID, uuid4 -from typing import Union, BinaryIO, List +import dlt +import duckdb +from unstructured.cleaners.core import clean +from cognitive_architecture.root_dir import get_absolute_path import cognitive_architecture.modules.ingestion as ingestion -from cognitive_architecture.infrastructure import infrastructure_config +from cognitive_architecture.infrastructure.files import get_file_metadata +from cognitive_architecture.infrastructure.files.storage import LocalStorage -class DatasetException(Exception): - message: str +async def add(file_paths: Union[str, List[str]], dataset_name: str = None): + if isinstance(file_paths, str): + # Directory path provided, we need to extract the file paths and dataset name - def __init__(self, message: str): - self.message = message + def list_dir_files(root_dir_path: str, parent_dir: str = "root"): + datasets = {} + + for file_or_dir in listdir(root_dir_path): + if path.isdir(path.join(root_dir_path, file_or_dir)): + dataset_name = file_or_dir if parent_dir == "root" else parent_dir + "." + file_or_dir + dataset_name = clean(dataset_name.replace(" ", "_")) + + nested_datasets = list_dir_files(path.join(root_dir_path, file_or_dir), dataset_name) + + for dataset in nested_datasets: + datasets[dataset] = nested_datasets[dataset] + else: + if parent_dir not in datasets: + datasets[parent_dir] = [] + + datasets[parent_dir].append(path.join(root_dir_path, file_or_dir)) + + return datasets + + datasets = list_dir_files(file_paths) + + results = [] + + for key in datasets: + if dataset_name is not None and not key.startswith(dataset_name): + continue + + results.append(add_dlt(datasets[key], dataset_name = key)) + + return await asyncio.gather(*results) -async def add( - data: Union[str, BinaryIO, List[Union[str, BinaryIO]]], - dataset_id: UUID = uuid4(), - dataset_name: str = None -): - db_engine = infrastructure_config.get_config()["database_engine"] - if db_engine.is_db_done is not True: - await db_engine.ensure_tables() + db_path = get_absolute_path("./data/cognee") + db_location = f"{db_path}/cognee.duckdb" - if not data: - raise DatasetException("Data must be provided to cognee.add(data: str)") + LocalStorage.ensure_directory_exists(db_path) - if isinstance(data, list): - promises = [] + db = duckdb.connect(db_location) - for data_item in data: - promises.append(add(data_item, dataset_id, dataset_name)) + destination = dlt.destinations.duckdb( + credentials = db, + ) - results = await asyncio.gather(*promises) + pipeline = dlt.pipeline( + pipeline_name = "file_load_from_filesystem", + destination = destination, + ) - return results + @dlt.resource(standalone = True, merge_key = "id") + def data_resources(file_paths: str): + for file_path in file_paths: + with open(file_path.replace("file://", ""), mode = "rb") as file: + classified_data = ingestion.classify(file) + data_id = ingestion.identify(classified_data) - if is_data_path(data): - with open(data.replace("file://", ""), "rb") as file: - return await add(file, dataset_id, dataset_name) + file_metadata = get_file_metadata(classified_data.get_data()) - classified_data = ingestion.classify(data) + yield { + "id": data_id, + "name": file_metadata["name"], + "file_path": file_metadata["file_path"], + "extension": file_metadata["extension"], + "mime_type": file_metadata["mime_type"], + "keywords": "|".join(file_metadata["keywords"]), + } - data_id = ingestion.identify(classified_data) + run_info = pipeline.run( + data_resources(file_paths), + table_name = "file_metadata", + dataset_name = dataset_name, + write_disposition = "merge", + ) - await ingestion.save(dataset_id, dataset_name, data_id, classified_data) - - return dataset_id - - # await ingestion.vectorize(dataset_id, dataset_name, data_id, classified_data) - - -def is_data_path(data: str) -> bool: - return False if not isinstance(data, str) else data.startswith("file://") + return run_info diff --git a/cognitive_architecture/api/v1/add/add_dlt.py b/cognitive_architecture/api/v1/add/add_dlt.py deleted file mode 100644 index 07e010775..000000000 --- a/cognitive_architecture/api/v1/add/add_dlt.py +++ /dev/null @@ -1,91 +0,0 @@ -from typing import List, Union -from os import path, listdir -import asyncio -import dlt -import duckdb -from unstructured.cleaners.core import clean -from cognitive_architecture.root_dir import get_absolute_path -import cognitive_architecture.modules.ingestion as ingestion -from cognitive_architecture.infrastructure.files import get_file_metadata -from cognitive_architecture.infrastructure.files.storage import LocalStorage - -async def add_dlt(file_paths: Union[str, List[str]], dataset_name: str = None): - if isinstance(file_paths, str): - # Directory path provided, we need to extract the file paths and dataset name - - def list_dir_files(root_dir_path: str, parent_dir: str = "root"): - datasets = {} - - for file_or_dir in listdir(root_dir_path): - if path.isdir(path.join(root_dir_path, file_or_dir)): - dataset_name = file_or_dir if parent_dir == "root" else parent_dir + "." + file_or_dir - dataset_name = clean(dataset_name.replace(" ", "_")) - - nested_datasets = list_dir_files(path.join(root_dir_path, file_or_dir), dataset_name) - - for dataset in nested_datasets: - datasets[dataset] = nested_datasets[dataset] - else: - if parent_dir not in datasets: - datasets[parent_dir] = [] - - datasets[parent_dir].append(path.join(root_dir_path, file_or_dir)) - - return datasets - - datasets = list_dir_files(file_paths) - - results = [] - - for key in datasets: - if dataset_name is not None and not key.startswith(dataset_name): - continue - - results.append(add_dlt(datasets[key], dataset_name = key)) - - return await asyncio.gather(*results) - - - db_path = get_absolute_path("./data/cognee") - db_location = f"{db_path}/cognee.duckdb" - - LocalStorage.ensure_directory_exists(db_path) - - db = duckdb.connect(db_location) - - destination = dlt.destinations.duckdb( - credentials = db, - ) - - pipeline = dlt.pipeline( - pipeline_name = "file_load_from_filesystem", - destination = destination, - ) - - @dlt.resource(standalone = True, merge_key = "id") - def data_resources(file_paths: str): - for file_path in file_paths: - with open(file_path.replace("file://", ""), mode = "rb") as file: - classified_data = ingestion.classify(file) - - data_id = ingestion.identify(classified_data) - - file_metadata = get_file_metadata(classified_data.get_data()) - - yield { - "id": data_id, - "name": file_metadata["name"], - "file_path": file_metadata["file_path"], - "extension": file_metadata["extension"], - "mime_type": file_metadata["mime_type"], - "keywords": "|".join(file_metadata["keywords"]), - } - - run_info = pipeline.run( - data_resources(file_paths), - table_name = "file_metadata", - dataset_name = dataset_name, - write_disposition = "merge", - ) - - return run_info diff --git a/cognitive_architecture/api/v1/add/add_standalone.py b/cognitive_architecture/api/v1/add/add_standalone.py new file mode 100644 index 000000000..8e332473d --- /dev/null +++ b/cognitive_architecture/api/v1/add/add_standalone.py @@ -0,0 +1,53 @@ +import asyncio +from uuid import UUID, uuid4 +from typing import Union, BinaryIO, List +import cognitive_architecture.modules.ingestion as ingestion +from cognitive_architecture.infrastructure import infrastructure_config + +class DatasetException(Exception): + message: str + + def __init__(self, message: str): + self.message = message + + +async def add_standalone( + data: Union[str, BinaryIO, List[Union[str, BinaryIO]]], + dataset_id: UUID = uuid4(), + dataset_name: str = None +): + db_engine = infrastructure_config.get_config()["database_engine"] + if db_engine.is_db_done is not True: + await db_engine.ensure_tables() + + if not data: + raise DatasetException("Data must be provided to cognee.add(data: str)") + + if isinstance(data, list): + promises = [] + + for data_item in data: + promises.append(add(data_item, dataset_id, dataset_name)) + + results = await asyncio.gather(*promises) + + return results + + + if is_data_path(data): + with open(data.replace("file://", ""), "rb") as file: + return await add(file, dataset_id, dataset_name) + + classified_data = ingestion.classify(data) + + data_id = ingestion.identify(classified_data) + + await ingestion.save(dataset_id, dataset_name, data_id, classified_data) + + return dataset_id + + # await ingestion.vectorize(dataset_id, dataset_name, data_id, classified_data) + + +def is_data_path(data: str) -> bool: + return False if not isinstance(data, str) else data.startswith("file://") diff --git a/cognitive_architecture/api/v1/cognify/cognify.py b/cognitive_architecture/api/v1/cognify/cognify.py index 317ce03c3..dbe50d89c 100644 --- a/cognitive_architecture/api/v1/cognify/cognify.py +++ b/cognitive_architecture/api/v1/cognify/cognify.py @@ -4,6 +4,8 @@ from typing import List from qdrant_client import models import instructor from openai import OpenAI +from unstructured.cleaners.core import clean +from unstructured.partition.pdf import partition_pdf from cognitive_architecture.infrastructure.databases.vector.qdrant.QDrantAdapter import CollectionConfig from cognitive_architecture.infrastructure.llm.get_llm_client import get_llm_client from cognitive_architecture.modules.cognify.graph.add_classification_nodes import add_classification_nodes @@ -23,15 +25,34 @@ from cognitive_architecture.modules.cognify.graph.create import create_semantic_ from cognitive_architecture.infrastructure.databases.graph.get_graph_client import get_graph_client from cognitive_architecture.shared.data_models import GraphDBType from cognitive_architecture.infrastructure.databases.vector.get_vector_database import get_vector_database +from cognitive_architecture.infrastructure.databases.relational import DuckDBAdapter config = Config() config.load() aclient = instructor.patch(OpenAI()) -async def cognify(input_text : str): +async def cognify(dataset_name: str): """This function is responsible for the cognitive processing of the content.""" + db = DuckDBAdapter() + files_metadata = db.get_files_metadata(dataset_name) + files = list(files_metadata["file_path"].values()) + + awaitables = [] + + for file in files: + with open(file, "rb") as file: + elements = partition_pdf(file = file, strategy = "fast") + text = "\n".join(map(lambda element: clean(element.text), elements)) + + awaitables.append(process_text(text)) + + graphs = await asyncio.gather(*awaitables) + + return graphs[0] + +async def process_text(input_text: str): classified_categories = None try: @@ -55,7 +76,7 @@ async def cognify(input_text : str): async def generate_graph_per_layer(text_input: str, layers: List[str], response_model: KnowledgeGraph = KnowledgeGraph): generate_graphs_awaitables = [generate_graph(text_input, "generate_graph_prompt.txt", {"layer": layer}, response_model) for layer in - layers] + layers] return await asyncio.gather(*generate_graphs_awaitables) diff --git a/cognitive_architecture/api/v1/list_datasets/list_datasets.py b/cognitive_architecture/api/v1/list_datasets/list_datasets.py new file mode 100644 index 000000000..1e115101a --- /dev/null +++ b/cognitive_architecture/api/v1/list_datasets/list_datasets.py @@ -0,0 +1,6 @@ + +from cognitive_architecture.infrastructure.databases.relational import DuckDBAdapter + +def list_datasets(): + db = DuckDBAdapter() + return db.get_datasets() diff --git a/cognitive_architecture/data/cognee/cognee.duckdb b/cognitive_architecture/data/cognee/cognee.duckdb deleted file mode 100644 index db4ab21ba..000000000 Binary files a/cognitive_architecture/data/cognee/cognee.duckdb and /dev/null differ diff --git a/cognitive_architecture/data/cognee/cognee.duckdb.wal b/cognitive_architecture/data/cognee/cognee.duckdb.wal deleted file mode 100644 index c6319943f..000000000 Binary files a/cognitive_architecture/data/cognee/cognee.duckdb.wal and /dev/null differ diff --git a/cognitive_architecture/infrastructure/databases/relational/__init__.py b/cognitive_architecture/infrastructure/databases/relational/__init__.py index b529e36b5..4acf63654 100644 --- a/cognitive_architecture/infrastructure/databases/relational/__init__.py +++ b/cognitive_architecture/infrastructure/databases/relational/__init__.py @@ -1,3 +1,4 @@ from .ModelBase import ModelBase from .DatabaseEngine import DatabaseEngine from .sqlite.SqliteEngine import SqliteEngine +from .duckdb.DuckDBAdapter import DuckDBAdapter diff --git a/cognitive_architecture/infrastructure/databases/relational/duckdb/DuckDBAdapter.py b/cognitive_architecture/infrastructure/databases/relational/duckdb/DuckDBAdapter.py new file mode 100644 index 000000000..7543f1fd9 --- /dev/null +++ b/cognitive_architecture/infrastructure/databases/relational/duckdb/DuckDBAdapter.py @@ -0,0 +1,22 @@ +import duckdb +from cognitive_architecture.root_dir import get_absolute_path + +class DuckDBAdapter(): + def __init__(self): + db_path = get_absolute_path("./data/cognee") + db_location = db_path + "/cognee.duckdb" + + self.db_client = duckdb.connect(db_location) + + def get_datasets(self): + tables = self.db_client.sql("SELECT DISTINCT schema_name FROM duckdb_tables();").to_df().to_dict() + + return list( + filter( + lambda table_name: table_name.endswith('staging') is False, + tables["schema_name"].values() + ) + ) + + def get_files_metadata(self, dataset_name: str): + return self.db_client.sql(f"SELECT * FROM {dataset_name}.file_metadata;").to_df().to_dict()