diff --git a/notebooks/Langchain_Full.ipynb b/notebooks/Langchain_Full.ipynb index bd3f726..6b0c773 100644 --- a/notebooks/Langchain_Full.ipynb +++ b/notebooks/Langchain_Full.ipynb @@ -1952,11 +1952,11 @@ "# 2. Create the OpenAI File\n", "\n", "import os\n", - "from openai import OpenAI\n", + "import openai\n", "\n", "openai.api_key = os.getenv(\"OPENAI_API_KEY\")\n", "\n", - "client = OpenAI()\n", + "client = openai.OpenAI()\n", "\n", "openai_file = client.files.create(\n", " file=open(\"aql.jsonl\", \"rb\"),\n", diff --git a/notebooks/example_output/Langchain_Full_output.ipynb b/notebooks/example_output/Langchain_Full_output.ipynb index 96f5417..666ac4c 100644 --- a/notebooks/example_output/Langchain_Full_output.ipynb +++ b/notebooks/example_output/Langchain_Full_output.ipynb @@ -130,16 +130,16 @@ "execution_count": 4, "id": "7", "metadata": { - "id": "7", - "outputId": "f7b19af5-2dee-4e65-f034-11adbf2d6b0e", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "7", + "outputId": "f7b19af5-2dee-4e65-f034-11adbf2d6b0e" }, "outputs": [ { - "output_type": "stream", "name": "stderr", + "output_type": "stream", "text": [ "/usr/local/lib/python3.10/dist-packages/langchain_core/_api/deprecation.py:117: LangChainDeprecationWarning: The class `langchain_community.llms.openai.OpenAI` was deprecated in langchain-community 0.0.10 and will be removed in 0.2.0. An updated version of the class exists in the langchain-openai package and should be used instead. To use it run `pip install -U langchain-openai` and import as `from langchain_openai import OpenAI`.\n", " warn_deprecated(\n", @@ -148,8 +148,8 @@ ] }, { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\n", "\n", @@ -172,16 +172,16 @@ "execution_count": 5, "id": "8", "metadata": { - "id": "8", - "outputId": "e1cc54aa-7883-4b04-9f89-80dfb62f1255", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "8", + "outputId": "e1cc54aa-7883-4b04-9f89-80dfb62f1255" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\n", "ArangoDB is like a big box of toys that can store lots of different things, like your toys, your books, and your snacks. But it's not just a box, it's also a magic box that can help you find and organize your toys and books whenever you want. And the best part is, you can share your toys and books with your friends and they can share theirs with you too!\n" @@ -208,16 +208,16 @@ "execution_count": 6, "id": "9", "metadata": { - "id": "9", - "outputId": "0a7d96b9-404f-407b-dc85-bb8e04ac612f", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "9", + "outputId": "0a7d96b9-404f-407b-dc85-bb8e04ac612f" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "{'question': 'What is ArangoDB?', 'text': \"\\nArangoDB is like a big box of toys that can store lots of different things, like your toys, your books, and your snacks. But it's not just a box, it's also a magic box that can help you find and organize your toys and books whenever you want. And the best part is, you can share your toys and books with your friends and they can share theirs with you too!\"}\n" ] @@ -240,17 +240,17 @@ "execution_count": 7, "id": "10", "metadata": { - "id": "10", - "outputId": "04821297-f23b-4482-c50e-2836302828e3", "colab": { "base_uri": "https://localhost:8080/", "height": 469 - } + }, + "id": "10", + "outputId": "04821297-f23b-4482-c50e-2836302828e3" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\n", "\n", @@ -280,17 +280,17 @@ ] }, { - "output_type": "execute_result", "data": { - "text/plain": [ - "' No problem! ArangoDB was first released in 2012, making it about 9 years old. It was created by the company ArangoDB GmbH and is currently on version 3.7.11.'" - ], "application/vnd.google.colaboratory.intrinsic+json": { "type": "string" - } + }, + "text/plain": [ + "' No problem! ArangoDB was first released in 2012, making it about 9 years old. It was created by the company ArangoDB GmbH and is currently on version 3.7.11.'" + ] }, + "execution_count": 7, "metadata": {}, - "execution_count": 7 + "output_type": "execute_result" } ], "source": [ @@ -311,24 +311,24 @@ "execution_count": 8, "id": "11", "metadata": { - "id": "11", - "outputId": "384f9c8a-1c27-49cb-99dd-a16b30913a95", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "11", + "outputId": "384f9c8a-1c27-49cb-99dd-a16b30913a95" }, "outputs": [ { - "output_type": "stream", "name": "stderr", + "output_type": "stream", "text": [ "/usr/local/lib/python3.10/dist-packages/langchain_core/_api/deprecation.py:117: LangChainDeprecationWarning: The function `initialize_agent` was deprecated in LangChain 0.1.0 and will be removed in 0.2.0. Use Use new agent constructor methods like create_react_agent, create_json_agent, create_structured_chat_agent, etc. instead.\n", " warn_deprecated(\n" ] }, { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\n", "\n", @@ -359,14 +359,14 @@ ] }, { - "output_type": "execute_result", "data": { "text/plain": [ "{'input': 'How old is ArangoDB?', 'output': 'ArangoDB is 9 years old.'}" ] }, + "execution_count": 8, "metadata": {}, - "execution_count": 8 + "output_type": "execute_result" } ], "source": [ @@ -390,22 +390,22 @@ "execution_count": 9, "id": "12", "metadata": { - "id": "12", - "outputId": "5088fb20-f90b-480d-8381-1c8768a4e121", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "12", + "outputId": "5088fb20-f90b-480d-8381-1c8768a4e121" }, "outputs": [ { - "output_type": "execute_result", "data": { "text/plain": [ "1" ] }, + "execution_count": 9, "metadata": {}, - "execution_count": 9 + "output_type": "execute_result" } ], "source": [ @@ -435,22 +435,22 @@ "execution_count": 10, "id": "13", "metadata": { - "id": "13", - "outputId": "bcb2cf26-05ef-4163-9a8d-7373a6b36cdb", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "13", + "outputId": "bcb2cf26-05ef-4163-9a8d-7373a6b36cdb" }, "outputs": [ { - "output_type": "execute_result", "data": { "text/plain": [ "42" ] }, + "execution_count": 10, "metadata": {}, - "execution_count": 10 + "output_type": "execute_result" } ], "source": [ @@ -474,30 +474,30 @@ "execution_count": 11, "id": "14", "metadata": { - "id": "14", - "outputId": "79c50cd0-fc85-4e9f-89bd-a1bf5d7c40a0", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "14", + "outputId": "79c50cd0-fc85-4e9f-89bd-a1bf5d7c40a0" }, "outputs": [ { - "output_type": "stream", "name": "stderr", + "output_type": "stream", "text": [ "/usr/local/lib/python3.10/dist-packages/langchain_core/_api/deprecation.py:117: LangChainDeprecationWarning: The class `langchain_community.embeddings.openai.OpenAIEmbeddings` was deprecated in langchain-community 0.0.9 and will be removed in 0.2.0. An updated version of the class exists in the langchain-openai package and should be used instead. To use it run `pip install -U langchain-openai` and import as `from langchain_openai import OpenAIEmbeddings`.\n", " warn_deprecated(\n" ] }, { - "output_type": "execute_result", "data": { "text/plain": [ "" ] }, + "execution_count": 11, "metadata": {}, - "execution_count": 11 + "output_type": "execute_result" } ], "source": [ @@ -523,16 +523,16 @@ "execution_count": 12, "id": "15", "metadata": { - "id": "15", - "outputId": "ceddb232-4021-4a4b-95fe-5056955434cf", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "15", + "outputId": "ceddb232-4021-4a4b-95fe-5056955434cf" }, "outputs": [ { - "output_type": "stream", "name": "stderr", + "output_type": "stream", "text": [ "/usr/local/lib/python3.10/dist-packages/langchain/chains/retrieval_qa/base.py:256: UserWarning: `VectorDBQA` is deprecated - please use `from langchain.chains import RetrievalQA`\n", " warnings.warn(\n" @@ -551,16 +551,16 @@ "execution_count": 13, "id": "16", "metadata": { - "id": "16", - "outputId": "cb6e4cb9-de28-4663-b934-52d00ad40831", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "16", + "outputId": "cb6e4cb9-de28-4663-b934-52d00ad40831" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "{'query': \"TL;DR the president's message for me\", 'result': \" The president's message is that the State of the Union is strong because the American people are strong. We have overcome challenges and will continue to do so as one united nation. The president highlights the bravery and determination of the Ukrainian people and the strength of our democracy. He also mentions his optimism for the future of America and the need for unity to address issues such as the opioid epidemic and the protection of LGBTQ+ rights.\"}\n", "----------------------------------------------------------------------------------------------------\n", @@ -655,16 +655,16 @@ "execution_count": 16, "id": "22", "metadata": { - "id": "22", - "outputId": "391495cc-8e35-4f64-fe57-51531158091d", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "22", + "outputId": "391495cc-8e35-4f64-fe57-51531158091d" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "Log: requesting new credentials...\n", "Succcess: new credentials acquired\n", @@ -694,22 +694,22 @@ "execution_count": 17, "id": "23", "metadata": { - "id": "23", - "outputId": "c36637e8-d06e-4921-ca0f-be181df7fefa", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "23", + "outputId": "c36637e8-d06e-4921-ca0f-be181df7fefa" }, "outputs": [ { - "output_type": "execute_result", "data": { "text/plain": [ "" ] }, + "execution_count": 17, "metadata": {}, - "execution_count": 17 + "output_type": "execute_result" } ], "source": [ @@ -764,8 +764,6 @@ "execution_count": 18, "id": "27", "metadata": { - "id": "27", - "outputId": "47e568b4-bdcd-477b-df5d-c907891d439b", "colab": { "base_uri": "https://localhost:8080/", "height": 34, @@ -781,200 +779,202 @@ "316e150ba0c24fc5bdd4d447c994be7d", "4083fa5e3357412880cde9e48023539a" ] - } + }, + "id": "27", + "outputId": "47e568b4-bdcd-477b-df5d-c907891d439b" }, "outputs": [ { - "output_type": "display_data", "data": { - "text/plain": [ - "Output()" - ], "application/vnd.jupyter.widget-view+json": { + "model_id": "70ee96c8ef3c45aa98219904eb3b9fe3", "version_major": 2, - "version_minor": 0, - "model_id": "70ee96c8ef3c45aa98219904eb3b9fe3" - } + "version_minor": 0 + }, + "text/plain": [ + "Output()" + ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [], "text/html": [ "
\n"
-            ]
+            ],
+            "text/plain": []
           },
-          "metadata": {}
+          "metadata": {},
+          "output_type": "display_data"
         },
         {
-          "output_type": "display_data",
           "data": {
-            "text/plain": [
-              "\n"
-            ],
             "text/html": [
               "
\n",
               "
\n" + ], + "text/plain": [ + "\n" ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [ - "Output()" - ], "application/vnd.jupyter.widget-view+json": { + "model_id": "147a5bd97280413eb9faa3058cb97d07", "version_major": 2, - "version_minor": 0, - "model_id": "147a5bd97280413eb9faa3058cb97d07" - } + "version_minor": 0 + }, + "text/plain": [ + "Output()" + ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [], "text/html": [ "
\n"
-            ]
+            ],
+            "text/plain": []
           },
-          "metadata": {}
+          "metadata": {},
+          "output_type": "display_data"
         },
         {
-          "output_type": "display_data",
           "data": {
-            "text/plain": [
-              "\n"
-            ],
             "text/html": [
               "
\n",
               "
\n" + ], + "text/plain": [ + "\n" ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [ - "Output()" - ], "application/vnd.jupyter.widget-view+json": { + "model_id": "9c719713b7f84b5bbc9c3b93ae018025", "version_major": 2, - "version_minor": 0, - "model_id": "9c719713b7f84b5bbc9c3b93ae018025" - } + "version_minor": 0 + }, + "text/plain": [ + "Output()" + ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [], "text/html": [ "
\n"
-            ]
+            ],
+            "text/plain": []
           },
-          "metadata": {}
+          "metadata": {},
+          "output_type": "display_data"
         },
         {
-          "output_type": "display_data",
           "data": {
-            "text/plain": [
-              "\n"
-            ],
             "text/html": [
               "
\n",
               "
\n" + ], + "text/plain": [ + "\n" ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "Initializing collection 'ChildOf'\n" ] }, { - "output_type": "display_data", "data": { - "text/plain": [ - "Output()" - ], "application/vnd.jupyter.widget-view+json": { + "model_id": "e75b133f77c440c3a5fd22971d759f5e", "version_major": 2, - "version_minor": 0, - "model_id": "e75b133f77c440c3a5fd22971d759f5e" - } + "version_minor": 0 + }, + "text/plain": [ + "Output()" + ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [], "text/html": [ "
\n"
-            ]
+            ],
+            "text/plain": []
           },
-          "metadata": {}
+          "metadata": {},
+          "output_type": "display_data"
         },
         {
-          "output_type": "display_data",
           "data": {
-            "text/plain": [
-              "\n"
-            ],
             "text/html": [
               "
\n",
               "
\n" + ], + "text/plain": [ + "\n" ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [ - "Output()" - ], "application/vnd.jupyter.widget-view+json": { + "model_id": "316e150ba0c24fc5bdd4d447c994be7d", "version_major": 2, - "version_minor": 0, - "model_id": "316e150ba0c24fc5bdd4d447c994be7d" - } + "version_minor": 0 + }, + "text/plain": [ + "Output()" + ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [], "text/html": [ "
\n"
-            ]
+            ],
+            "text/plain": []
           },
-          "metadata": {}
+          "metadata": {},
+          "output_type": "display_data"
         },
         {
-          "output_type": "display_data",
           "data": {
-            "text/plain": [
-              "\n"
-            ],
             "text/html": [
               "
\n",
               "
\n" + ], + "text/plain": [ + "\n" ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" } ], "source": [ @@ -1014,8 +1014,6 @@ "execution_count": 19, "id": "30", "metadata": { - "id": "30", - "outputId": "f1d0cd06-b861-4e4c-d15f-d25465119aaf", "colab": { "base_uri": "https://localhost:8080/", "height": 260, @@ -1079,1179 +1077,1181 @@ "5f528fd15f944d44acf9df355dd3f585", "e19611b67f1248e7935fb7943fc79dc2" ] - } + }, + "id": "30", + "outputId": "f1d0cd06-b861-4e4c-d15f-d25465119aaf" }, "outputs": [ { - "output_type": "display_data", "data": { - "text/plain": [ - "Output()" - ], "application/vnd.jupyter.widget-view+json": { + "model_id": "787cd3d8813d4515ad7e138aaa49ff8c", "version_major": 2, - "version_minor": 0, - "model_id": "787cd3d8813d4515ad7e138aaa49ff8c" - } + "version_minor": 0 + }, + "text/plain": [ + "Output()" + ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [], "text/html": [ "
\n"
-            ]
+            ],
+            "text/plain": []
           },
-          "metadata": {}
+          "metadata": {},
+          "output_type": "display_data"
         },
         {
-          "output_type": "display_data",
           "data": {
-            "text/plain": [
-              "\n"
-            ],
             "text/html": [
               "
\n",
               "
\n" + ], + "text/plain": [ + "\n" ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [ - "Output()" - ], "application/vnd.jupyter.widget-view+json": { + "model_id": "01ecb9afdf5e4f1d86a62d600c621401", "version_major": 2, - "version_minor": 0, - "model_id": "01ecb9afdf5e4f1d86a62d600c621401" - } + "version_minor": 0 + }, + "text/plain": [ + "Output()" + ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "Initializing collection 'Actor'\n" ] }, { - "output_type": "display_data", "data": { - "text/plain": [], "text/html": [ "
\n"
-            ]
+            ],
+            "text/plain": []
           },
-          "metadata": {}
+          "metadata": {},
+          "output_type": "display_data"
         },
         {
-          "output_type": "display_data",
           "data": {
-            "text/plain": [
-              "\n"
-            ],
             "text/html": [
               "
\n",
               "
\n" + ], + "text/plain": [ + "\n" ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [ - "Output()" - ], "application/vnd.jupyter.widget-view+json": { + "model_id": "dfc2dccaaf704fc8ab98d084161f8d6f", "version_major": 2, - "version_minor": 0, - "model_id": "dfc2dccaaf704fc8ab98d084161f8d6f" - } + "version_minor": 0 + }, + "text/plain": [ + "Output()" + ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [], "text/html": [ "
\n"
-            ]
+            ],
+            "text/plain": []
           },
-          "metadata": {}
+          "metadata": {},
+          "output_type": "display_data"
         },
         {
-          "output_type": "display_data",
           "data": {
-            "text/plain": [
-              "\n"
-            ],
             "text/html": [
               "
\n",
               "
\n" + ], + "text/plain": [ + "\n" ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "Initializing collection 'Class'\n" ] }, { - "output_type": "display_data", "data": { - "text/plain": [ - "Output()" - ], "application/vnd.jupyter.widget-view+json": { + "model_id": "c0298c61e6564c70900ed485a332f104", "version_major": 2, - "version_minor": 0, - "model_id": "c0298c61e6564c70900ed485a332f104" - } + "version_minor": 0 + }, + "text/plain": [ + "Output()" + ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [], "text/html": [ "
\n"
-            ]
+            ],
+            "text/plain": []
           },
-          "metadata": {}
+          "metadata": {},
+          "output_type": "display_data"
         },
         {
-          "output_type": "display_data",
           "data": {
-            "text/plain": [
-              "\n"
-            ],
             "text/html": [
               "
\n",
               "
\n" + ], + "text/plain": [ + "\n" ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [ - "Output()" - ], "application/vnd.jupyter.widget-view+json": { + "model_id": "1e2cac77fa2e43afb98d6d9bde57741b", "version_major": 2, - "version_minor": 0, - "model_id": "1e2cac77fa2e43afb98d6d9bde57741b" - } + "version_minor": 0 + }, + "text/plain": [ + "Output()" + ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [], "text/html": [ "
\n"
-            ]
+            ],
+            "text/plain": []
           },
-          "metadata": {}
+          "metadata": {},
+          "output_type": "display_data"
         },
         {
-          "output_type": "display_data",
           "data": {
-            "text/plain": [
-              "\n"
-            ],
             "text/html": [
               "
\n",
               "
\n" + ], + "text/plain": [ + "\n" ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [ - "Output()" - ], "application/vnd.jupyter.widget-view+json": { + "model_id": "6c719cccc182418b9060b951bf88fd2b", "version_major": 2, - "version_minor": 0, - "model_id": "6c719cccc182418b9060b951bf88fd2b" - } + "version_minor": 0 + }, + "text/plain": [ + "Output()" + ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "Initializing collection 'Country'\n" ] }, { - "output_type": "display_data", "data": { - "text/plain": [], "text/html": [ "
\n"
-            ]
+            ],
+            "text/plain": []
           },
-          "metadata": {}
+          "metadata": {},
+          "output_type": "display_data"
         },
         {
-          "output_type": "display_data",
           "data": {
-            "text/plain": [
-              "\n"
-            ],
             "text/html": [
               "
\n",
               "
\n" + ], + "text/plain": [ + "\n" ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [ - "Output()" - ], "application/vnd.jupyter.widget-view+json": { + "model_id": "a9245b5e66fc4c808bb3beec6c3a99f8", "version_major": 2, - "version_minor": 0, - "model_id": "a9245b5e66fc4c808bb3beec6c3a99f8" - } + "version_minor": 0 + }, + "text/plain": [ + "Output()" + ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [], "text/html": [ "
\n"
-            ]
+            ],
+            "text/plain": []
           },
-          "metadata": {}
+          "metadata": {},
+          "output_type": "display_data"
         },
         {
-          "output_type": "display_data",
           "data": {
-            "text/plain": [
-              "\n"
-            ],
             "text/html": [
               "
\n",
               "
\n" + ], + "text/plain": [ + "\n" ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [ - "Output()" - ], "application/vnd.jupyter.widget-view+json": { + "model_id": "0df0198bad8341e0b017d0a5039d6094", "version_major": 2, - "version_minor": 0, - "model_id": "0df0198bad8341e0b017d0a5039d6094" - } + "version_minor": 0 + }, + "text/plain": [ + "Output()" + ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "Initializing collection 'Event'\n" ] }, { - "output_type": "display_data", "data": { - "text/plain": [], "text/html": [ "
\n"
-            ]
+            ],
+            "text/plain": []
           },
-          "metadata": {}
+          "metadata": {},
+          "output_type": "display_data"
         },
         {
-          "output_type": "display_data",
           "data": {
-            "text/plain": [
-              "\n"
-            ],
             "text/html": [
               "
\n",
               "
\n" + ], + "text/plain": [ + "\n" ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [ - "Output()" - ], "application/vnd.jupyter.widget-view+json": { + "model_id": "4ab7df5989f445dabe4657d07f7b97b9", "version_major": 2, - "version_minor": 0, - "model_id": "4ab7df5989f445dabe4657d07f7b97b9" - } + "version_minor": 0 + }, + "text/plain": [ + "Output()" + ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [], "text/html": [ "
\n"
-            ]
+            ],
+            "text/plain": []
           },
-          "metadata": {}
+          "metadata": {},
+          "output_type": "display_data"
         },
         {
-          "output_type": "display_data",
           "data": {
-            "text/plain": [
-              "\n"
-            ],
             "text/html": [
               "
\n",
               "
\n" + ], + "text/plain": [ + "\n" ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [ - "Output()" - ], "application/vnd.jupyter.widget-view+json": { + "model_id": "d714f473459c4087aca075d7e41b0361", "version_major": 2, - "version_minor": 0, - "model_id": "d714f473459c4087aca075d7e41b0361" - } + "version_minor": 0 + }, + "text/plain": [ + "Output()" + ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "Initializing collection 'Location'\n" ] }, { - "output_type": "display_data", "data": { - "text/plain": [], "text/html": [ "
\n"
-            ]
+            ],
+            "text/plain": []
           },
-          "metadata": {}
+          "metadata": {},
+          "output_type": "display_data"
         },
         {
-          "output_type": "display_data",
           "data": {
-            "text/plain": [
-              "\n"
-            ],
             "text/html": [
               "
\n",
               "
\n" + ], + "text/plain": [ + "\n" ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [ - "Output()" - ], "application/vnd.jupyter.widget-view+json": { + "model_id": "3fd66aca0de4489788c231af73a8dc9f", "version_major": 2, - "version_minor": 0, - "model_id": "3fd66aca0de4489788c231af73a8dc9f" - } + "version_minor": 0 + }, + "text/plain": [ + "Output()" + ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [], "text/html": [ "
\n"
-            ]
+            ],
+            "text/plain": []
           },
-          "metadata": {}
+          "metadata": {},
+          "output_type": "display_data"
         },
         {
-          "output_type": "display_data",
           "data": {
-            "text/plain": [
-              "\n"
-            ],
             "text/html": [
               "
\n",
               "
\n" + ], + "text/plain": [ + "\n" ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [ - "Output()" - ], "application/vnd.jupyter.widget-view+json": { + "model_id": "443b07aa182d4fa08755353991442776", "version_major": 2, - "version_minor": 0, - "model_id": "443b07aa182d4fa08755353991442776" - } + "version_minor": 0 + }, + "text/plain": [ + "Output()" + ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "Initializing collection 'Region'\n" ] }, { - "output_type": "display_data", "data": { - "text/plain": [], "text/html": [ "
\n"
-            ]
+            ],
+            "text/plain": []
           },
-          "metadata": {}
+          "metadata": {},
+          "output_type": "display_data"
         },
         {
-          "output_type": "display_data",
           "data": {
-            "text/plain": [
-              "\n"
-            ],
             "text/html": [
               "
\n",
               "
\n" + ], + "text/plain": [ + "\n" ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [ - "Output()" - ], "application/vnd.jupyter.widget-view+json": { + "model_id": "48f34d7821774273bcc072e2168344fb", "version_major": 2, - "version_minor": 0, - "model_id": "48f34d7821774273bcc072e2168344fb" - } + "version_minor": 0 + }, + "text/plain": [ + "Output()" + ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [], "text/html": [ "
\n"
-            ]
+            ],
+            "text/plain": []
           },
-          "metadata": {}
+          "metadata": {},
+          "output_type": "display_data"
         },
         {
-          "output_type": "display_data",
           "data": {
-            "text/plain": [
-              "\n"
-            ],
             "text/html": [
               "
\n",
               "
\n" + ], + "text/plain": [ + "\n" ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [ - "Output()" - ], "application/vnd.jupyter.widget-view+json": { + "model_id": "2cb2acb201a04ec89f524003e4bf86d0", "version_major": 2, - "version_minor": 0, - "model_id": "2cb2acb201a04ec89f524003e4bf86d0" - } + "version_minor": 0 + }, + "text/plain": [ + "Output()" + ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "Initializing collection 'Source'\n" ] }, { - "output_type": "display_data", "data": { - "text/plain": [], "text/html": [ "
\n"
-            ]
+            ],
+            "text/plain": []
           },
-          "metadata": {}
+          "metadata": {},
+          "output_type": "display_data"
         },
         {
-          "output_type": "display_data",
           "data": {
-            "text/plain": [
-              "\n"
-            ],
             "text/html": [
               "
\n",
               "
\n" + ], + "text/plain": [ + "\n" ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [ - "Output()" - ], "application/vnd.jupyter.widget-view+json": { + "model_id": "1d1314830fc8414aab37de559cae3a7e", "version_major": 2, - "version_minor": 0, - "model_id": "1d1314830fc8414aab37de559cae3a7e" - } + "version_minor": 0 + }, + "text/plain": [ + "Output()" + ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [], "text/html": [ "
\n"
-            ]
+            ],
+            "text/plain": []
           },
-          "metadata": {}
+          "metadata": {},
+          "output_type": "display_data"
         },
         {
-          "output_type": "display_data",
           "data": {
-            "text/plain": [
-              "\n"
-            ],
             "text/html": [
               "
\n",
               "
\n" + ], + "text/plain": [ + "\n" ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [ - "Output()" - ], "application/vnd.jupyter.widget-view+json": { + "model_id": "f9f2787c50c14a879c052ecc78cf48fc", "version_major": 2, - "version_minor": 0, - "model_id": "f9f2787c50c14a879c052ecc78cf48fc" - } + "version_minor": 0 + }, + "text/plain": [ + "Output()" + ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "Initializing collection 'eventActor'\n" ] }, { - "output_type": "display_data", "data": { - "text/plain": [], "text/html": [ "
\n"
-            ]
+            ],
+            "text/plain": []
           },
-          "metadata": {}
+          "metadata": {},
+          "output_type": "display_data"
         },
         {
-          "output_type": "display_data",
           "data": {
-            "text/plain": [
-              "\n"
-            ],
             "text/html": [
               "
\n",
               "
\n" + ], + "text/plain": [ + "\n" ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [ - "Output()" - ], "application/vnd.jupyter.widget-view+json": { + "model_id": "b0f8ee4fe5c446e4966dafe58d68dee2", "version_major": 2, - "version_minor": 0, - "model_id": "b0f8ee4fe5c446e4966dafe58d68dee2" - } + "version_minor": 0 + }, + "text/plain": [ + "Output()" + ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [], "text/html": [ "
\n"
-            ]
+            ],
+            "text/plain": []
           },
-          "metadata": {}
+          "metadata": {},
+          "output_type": "display_data"
         },
         {
-          "output_type": "display_data",
           "data": {
-            "text/plain": [
-              "\n"
-            ],
             "text/html": [
               "
\n",
               "
\n" + ], + "text/plain": [ + "\n" ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "Initializing collection 'hasLocation'\n" ] }, { - "output_type": "display_data", "data": { - "text/plain": [ - "Output()" - ], "application/vnd.jupyter.widget-view+json": { + "model_id": "1a72b4fda58948e0a2eb71bdc719a9ec", "version_major": 2, - "version_minor": 0, - "model_id": "1a72b4fda58948e0a2eb71bdc719a9ec" - } + "version_minor": 0 + }, + "text/plain": [ + "Output()" + ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [], "text/html": [ "
\n"
-            ]
+            ],
+            "text/plain": []
           },
-          "metadata": {}
+          "metadata": {},
+          "output_type": "display_data"
         },
         {
-          "output_type": "display_data",
           "data": {
-            "text/plain": [
-              "\n"
-            ],
             "text/html": [
               "
\n",
               "
\n" + ], + "text/plain": [ + "\n" ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [ - "Output()" - ], "application/vnd.jupyter.widget-view+json": { + "model_id": "6edea384a5d84339a997485ee48ee4b3", "version_major": 2, - "version_minor": 0, - "model_id": "6edea384a5d84339a997485ee48ee4b3" - } + "version_minor": 0 + }, + "text/plain": [ + "Output()" + ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [], "text/html": [ "
\n"
-            ]
+            ],
+            "text/plain": []
           },
-          "metadata": {}
+          "metadata": {},
+          "output_type": "display_data"
         },
         {
-          "output_type": "display_data",
           "data": {
-            "text/plain": [
-              "\n"
-            ],
             "text/html": [
               "
\n",
               "
\n" + ], + "text/plain": [ + "\n" ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [ - "Output()" - ], "application/vnd.jupyter.widget-view+json": { + "model_id": "f25a84f15e3445e9b633df16055e3886", "version_major": 2, - "version_minor": 0, - "model_id": "f25a84f15e3445e9b633df16055e3886" - } + "version_minor": 0 + }, + "text/plain": [ + "Output()" + ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "Initializing collection 'hasSource'\n" ] }, { - "output_type": "display_data", "data": { - "text/plain": [], "text/html": [ "
\n"
-            ]
+            ],
+            "text/plain": []
           },
-          "metadata": {}
+          "metadata": {},
+          "output_type": "display_data"
         },
         {
-          "output_type": "display_data",
           "data": {
-            "text/plain": [
-              "\n"
-            ],
             "text/html": [
               "
\n",
               "
\n" + ], + "text/plain": [ + "\n" ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [ - "Output()" - ], "application/vnd.jupyter.widget-view+json": { + "model_id": "13d8b76a4c3f443ca0dee631fd3959b0", "version_major": 2, - "version_minor": 0, - "model_id": "13d8b76a4c3f443ca0dee631fd3959b0" - } + "version_minor": 0 + }, + "text/plain": [ + "Output()" + ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [], "text/html": [ "
\n"
-            ]
+            ],
+            "text/plain": []
           },
-          "metadata": {}
+          "metadata": {},
+          "output_type": "display_data"
         },
         {
-          "output_type": "display_data",
           "data": {
-            "text/plain": [
-              "\n"
-            ],
             "text/html": [
               "
\n",
               "
\n" + ], + "text/plain": [ + "\n" ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [ - "Output()" - ], "application/vnd.jupyter.widget-view+json": { + "model_id": "14fc56900a6d4df99016f3473c6e0676", "version_major": 2, - "version_minor": 0, - "model_id": "14fc56900a6d4df99016f3473c6e0676" - } + "version_minor": 0 + }, + "text/plain": [ + "Output()" + ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "Initializing collection 'inCountry'\n" ] }, { - "output_type": "display_data", "data": { - "text/plain": [], "text/html": [ "
\n"
-            ]
+            ],
+            "text/plain": []
           },
-          "metadata": {}
+          "metadata": {},
+          "output_type": "display_data"
         },
         {
-          "output_type": "display_data",
           "data": {
-            "text/plain": [
-              "\n"
-            ],
             "text/html": [
               "
\n",
               "
\n" + ], + "text/plain": [ + "\n" ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [ - "Output()" - ], "application/vnd.jupyter.widget-view+json": { + "model_id": "ffdc18c6a4d64e24886e8cd52efbb90f", "version_major": 2, - "version_minor": 0, - "model_id": "ffdc18c6a4d64e24886e8cd52efbb90f" - } + "version_minor": 0 + }, + "text/plain": [ + "Output()" + ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [], "text/html": [ "
\n"
-            ]
+            ],
+            "text/plain": []
           },
-          "metadata": {}
+          "metadata": {},
+          "output_type": "display_data"
         },
         {
-          "output_type": "display_data",
           "data": {
-            "text/plain": [
-              "\n"
-            ],
             "text/html": [
               "
\n",
               "
\n" + ], + "text/plain": [ + "\n" ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [ - "Output()" - ], "application/vnd.jupyter.widget-view+json": { + "model_id": "00bb413e3e8d4aa2ae5a6d22f161f9cf", "version_major": 2, - "version_minor": 0, - "model_id": "00bb413e3e8d4aa2ae5a6d22f161f9cf" - } + "version_minor": 0 + }, + "text/plain": [ + "Output()" + ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "Initializing collection 'inRegion'\n" ] }, { - "output_type": "display_data", "data": { - "text/plain": [], "text/html": [ "
\n"
-            ]
+            ],
+            "text/plain": []
           },
-          "metadata": {}
+          "metadata": {},
+          "output_type": "display_data"
         },
         {
-          "output_type": "display_data",
           "data": {
-            "text/plain": [
-              "\n"
-            ],
             "text/html": [
               "
\n",
               "
\n" + ], + "text/plain": [ + "\n" ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [ - "Output()" - ], "application/vnd.jupyter.widget-view+json": { + "model_id": "21cf9ccaa27f46bfa338e8e763e93fff", "version_major": 2, - "version_minor": 0, - "model_id": "21cf9ccaa27f46bfa338e8e763e93fff" - } + "version_minor": 0 + }, + "text/plain": [ + "Output()" + ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [], "text/html": [ "
\n"
-            ]
+            ],
+            "text/plain": []
           },
-          "metadata": {}
+          "metadata": {},
+          "output_type": "display_data"
         },
         {
-          "output_type": "display_data",
           "data": {
-            "text/plain": [
-              "\n"
-            ],
             "text/html": [
               "
\n",
               "
\n" + ], + "text/plain": [ + "\n" ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [ - "Output()" - ], "application/vnd.jupyter.widget-view+json": { + "model_id": "20d76c9bdcfd4cbebd03b49b2265fa15", "version_major": 2, - "version_minor": 0, - "model_id": "20d76c9bdcfd4cbebd03b49b2265fa15" - } + "version_minor": 0 + }, + "text/plain": [ + "Output()" + ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "Initializing collection 'subClass'\n" ] }, { - "output_type": "display_data", "data": { - "text/plain": [], "text/html": [ "
\n"
-            ]
+            ],
+            "text/plain": []
           },
-          "metadata": {}
+          "metadata": {},
+          "output_type": "display_data"
         },
         {
-          "output_type": "display_data",
           "data": {
-            "text/plain": [
-              "\n"
-            ],
             "text/html": [
               "
\n",
               "
\n" + ], + "text/plain": [ + "\n" ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [ - "Output()" - ], "application/vnd.jupyter.widget-view+json": { + "model_id": "33dc2087089d47888368b9d5a08e8065", "version_major": 2, - "version_minor": 0, - "model_id": "33dc2087089d47888368b9d5a08e8065" - } + "version_minor": 0 + }, + "text/plain": [ + "Output()" + ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [], "text/html": [ "
\n"
-            ]
+            ],
+            "text/plain": []
           },
-          "metadata": {}
+          "metadata": {},
+          "output_type": "display_data"
         },
         {
-          "output_type": "display_data",
           "data": {
-            "text/plain": [
-              "\n"
-            ],
             "text/html": [
               "
\n",
               "
\n" + ], + "text/plain": [ + "\n" ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [ - "Output()" - ], "application/vnd.jupyter.widget-view+json": { + "model_id": "2e28383458f6415bb6726ba7a340b727", "version_major": 2, - "version_minor": 0, - "model_id": "2e28383458f6415bb6726ba7a340b727" - } + "version_minor": 0 + }, + "text/plain": [ + "Output()" + ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "Initializing collection 'type'\n" ] }, { - "output_type": "display_data", "data": { - "text/plain": [], "text/html": [ "
\n"
-            ]
+            ],
+            "text/plain": []
           },
-          "metadata": {}
+          "metadata": {},
+          "output_type": "display_data"
         },
         {
-          "output_type": "display_data",
           "data": {
-            "text/plain": [
-              "\n"
-            ],
             "text/html": [
               "
\n",
               "
\n" + ], + "text/plain": [ + "\n" ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [ - "Output()" - ], "application/vnd.jupyter.widget-view+json": { + "model_id": "5f528fd15f944d44acf9df355dd3f585", "version_major": 2, - "version_minor": 0, - "model_id": "5f528fd15f944d44acf9df355dd3f585" - } + "version_minor": 0 + }, + "text/plain": [ + "Output()" + ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" }, { - "output_type": "display_data", "data": { - "text/plain": [], "text/html": [ "
\n"
-            ]
+            ],
+            "text/plain": []
           },
-          "metadata": {}
+          "metadata": {},
+          "output_type": "display_data"
         },
         {
-          "output_type": "display_data",
           "data": {
-            "text/plain": [
-              "\n"
-            ],
             "text/html": [
               "
\n",
               "
\n" + ], + "text/plain": [ + "\n" ] }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" } ], "source": [ @@ -2278,16 +2278,16 @@ "execution_count": 20, "id": "32", "metadata": { - "id": "32", - "outputId": "96dd371b-cb0a-4e38-f429-dc535b93dbf9", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "32", + "outputId": "96dd371b-cb0a-4e38-f429-dc535b93dbf9" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "{\n", " \"Graph Schema\": [\n", @@ -2949,16 +2949,16 @@ "execution_count": 21, "id": "33", "metadata": { - "id": "33", - "outputId": "d3fb20f9-b38b-4451-b999-5a5198b079d6", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "33", + "outputId": "d3fb20f9-b38b-4451-b999-5a5198b079d6" }, "outputs": [ { - "output_type": "stream", "name": "stderr", + "output_type": "stream", "text": [ "/usr/local/lib/python3.10/dist-packages/langchain_core/_api/deprecation.py:117: LangChainDeprecationWarning: The class `langchain_community.chat_models.openai.ChatOpenAI` was deprecated in langchain-community 0.0.10 and will be removed in 0.2.0. An updated version of the class exists in the langchain-openai package and should be used instead. To use it run `pip install -U langchain-openai` and import as `from langchain_openai import ChatOpenAI`.\n", " warn_deprecated(\n" @@ -3018,16 +3018,16 @@ "execution_count": 23, "id": "37", "metadata": { - "id": "37", - "outputId": "5970c32a-0cb8-4626-b296-bf0caaddff99", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "37", + "outputId": "5970c32a-0cb8-4626-b296-bf0caaddff99" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\n", "\n", @@ -3046,15 +3046,15 @@ ] }, { - "output_type": "execute_result", "data": { "text/plain": [ "{'query': 'Who are the 2 youngest characters?',\n", " 'result': 'The two youngest characters are Bran Stark, who is 10 years old, and Arya Stark, who is 11 years old.'}" ] }, + "execution_count": 23, "metadata": {}, - "execution_count": 23 + "output_type": "execute_result" } ], "source": [ @@ -3066,16 +3066,16 @@ "execution_count": 24, "id": "38", "metadata": { - "id": "38", - "outputId": "53ad1ac2-28d0-4d3f-f6d2-1e550063a2d1", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "38", + "outputId": "53ad1ac2-28d0-4d3f-f6d2-1e550063a2d1" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\n", "\n", @@ -3093,15 +3093,15 @@ ] }, { - "output_type": "execute_result", "data": { "text/plain": [ "{'query': 'How are Bran Stark and Arya Stark related?',\n", " 'result': 'Bran Stark and Arya Stark are related as siblings. They both are the children of Ned Stark and Catelyn Stark.'}" ] }, + "execution_count": 24, "metadata": {}, - "execution_count": 24 + "output_type": "execute_result" } ], "source": [ @@ -3113,16 +3113,16 @@ "execution_count": 25, "id": "39", "metadata": { - "id": "39", - "outputId": "64bea922-404c-4372-a941-8d321d16e837", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "39", + "outputId": "64bea922-404c-4372-a941-8d321d16e837" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\n", "\n", @@ -3139,15 +3139,15 @@ ] }, { - "output_type": "execute_result", "data": { "text/plain": [ "{'query': 'Who are Bran Stark’s grandparents?',\n", " 'result': \"Bran Stark's grandparents are Lyarra Stark and Rickard Stark.\"}" ] }, + "execution_count": 25, "metadata": {}, - "execution_count": 25 + "output_type": "execute_result" } ], "source": [ @@ -3159,16 +3159,16 @@ "execution_count": 26, "id": "40", "metadata": { - "id": "40", - "outputId": "2e7bea00-1b20-4c12-b36c-fe901e5d4a48", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "40", + "outputId": "2e7bea00-1b20-4c12-b36c-fe901e5d4a48" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\n", "\n", @@ -3186,15 +3186,15 @@ ] }, { - "output_type": "execute_result", "data": { "text/plain": [ "{'query': 'Fetch me the character count for each family',\n", " 'result': 'The count of characters for each family in the database is as follows: There is 1 character from the Baratheon family, 4 characters from the Lannister family, and 8 characters from the Stark family.'}" ] }, + "execution_count": 26, "metadata": {}, - "execution_count": 26 + "output_type": "execute_result" } ], "source": [ @@ -3206,16 +3206,16 @@ "execution_count": 27, "id": "41", "metadata": { - "id": "41", - "outputId": "ccf60d29-9642-423e-caf2-6d4413ea8042", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "41", + "outputId": "ccf60d29-9642-423e-caf2-6d4413ea8042" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\n", "\n", @@ -3235,15 +3235,15 @@ ] }, { - "output_type": "execute_result", "data": { "text/plain": [ "{'query': 'What is the age difference between Rickard Stark and Arya Stark?',\n", " 'result': 'The age difference between Rickard Stark and Arya Stark is 49 years.'}" ] }, + "execution_count": 27, "metadata": {}, - "execution_count": 27 + "output_type": "execute_result" } ], "source": [ @@ -3255,16 +3255,16 @@ "execution_count": 28, "id": "42", "metadata": { - "id": "42", - "outputId": "d5459311-3406-4933-b8da-e87822d3d7fd", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "42", + "outputId": "d5459311-3406-4933-b8da-e87822d3d7fd" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\n", "\n", @@ -3282,15 +3282,15 @@ ] }, { - "output_type": "execute_result", "data": { "text/plain": [ "{'query': 'Wie alt ist Rickard Stark?',\n", " 'result': 'Rickard Stark was 60 years old.'}" ] }, + "execution_count": 28, "metadata": {}, - "execution_count": 28 + "output_type": "execute_result" } ], "source": [ @@ -3302,16 +3302,16 @@ "execution_count": 95, "id": "43", "metadata": { - "id": "43", - "outputId": "2b87b1b7-9a12-445b-f14a-9c6b941b1a0e", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "43", + "outputId": "2b87b1b7-9a12-445b-f14a-9c6b941b1a0e" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\n", "\n", @@ -3331,7 +3331,6 @@ ] }, { - "output_type": "execute_result", "data": { "text/plain": [ "{'query': 'Fetch me the average age of all Stark characters',\n", @@ -3340,8 +3339,9 @@ " 'aql_result': [31.375]}" ] }, + "execution_count": 95, "metadata": {}, - "execution_count": 95 + "output_type": "execute_result" } ], "source": [ @@ -3353,16 +3353,16 @@ "execution_count": 30, "id": "44", "metadata": { - "id": "44", - "outputId": "08f7e236-a9e3-4a0d-ddf8-38f648a4a66d", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "44", + "outputId": "08f7e236-a9e3-4a0d-ddf8-38f648a4a66d" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\n", "\n", @@ -3380,15 +3380,15 @@ ] }, { - "output_type": "execute_result", "data": { "text/plain": [ "{'query': 'Does Bran Stark have a dead parent?',\n", " 'result': 'Yes, Bran Stark has a dead parent. His mother, Catelyn Stark, is deceased.'}" ] }, + "execution_count": 30, "metadata": {}, - "execution_count": 30 + "output_type": "execute_result" } ], "source": [ @@ -3400,16 +3400,16 @@ "execution_count": 31, "id": "45", "metadata": { - "id": "45", - "outputId": "2c1339cb-6d48-4bd1-bd9b-18e9d8343cf1", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "45", + "outputId": "2c1339cb-6d48-4bd1-bd9b-18e9d8343cf1" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\n", "\n", @@ -3425,15 +3425,15 @@ ] }, { - "output_type": "execute_result", "data": { "text/plain": [ "{'query': 'Add Jon Snow, 31, a male character. Use overwrite.',\n", " 'result': 'The character Jon Snow, a 31-year-old male, has been successfully added to the database. If there was a previous entry for Jon Snow, it has been overwritten with the new information.'}" ] }, + "execution_count": 31, "metadata": {}, - "execution_count": 31 + "output_type": "execute_result" } ], "source": [ @@ -3445,16 +3445,16 @@ "execution_count": 32, "id": "46", "metadata": { - "id": "46", - "outputId": "89f725c1-1728-4d6f-c2b2-baf760638b0b", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "46", + "outputId": "89f725c1-1728-4d6f-c2b2-baf760638b0b" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\n", "\n", @@ -3473,15 +3473,15 @@ ] }, { - "output_type": "execute_result", "data": { "text/plain": [ "{'query': 'Create a ChildOf edge from Jon Snow to Ned Stark.',\n", " 'result': 'A relationship has been established in the database indicating that Jon Snow is a child of Ned Stark.'}" ] }, + "execution_count": 32, "metadata": {}, - "execution_count": 32 + "output_type": "execute_result" } ], "source": [ @@ -3493,16 +3493,16 @@ "execution_count": 33, "id": "47", "metadata": { - "id": "47", - "outputId": "0b404dc7-98b9-4308-9263-7f130e7aef90", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "47", + "outputId": "0b404dc7-98b9-4308-9263-7f130e7aef90" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\n", "\n", @@ -3519,15 +3519,15 @@ ] }, { - "output_type": "execute_result", "data": { "text/plain": [ "{'query': 'Who is related to Ned Stark?',\n", " 'result': \"Ned Stark is related to several characters. His children are Jon Snow, Arya Stark, Sansa Stark, Robb Stark, and Bran Stark. Jon Snow is 31 years old and is alive. Arya Stark is 11 years old and is also alive. Sansa Stark is 13 years old and is alive. Robb Stark was 16 years old but is now deceased. Bran Stark is 10 years old and is alive. Ned Stark's parents are Lyarra Stark and Rickard Stark. Lyarra Stark was 60 years old but is now deceased. Rickard Stark was also 60 years old but is now deceased.\"}" ] }, + "execution_count": 33, "metadata": {}, - "execution_count": 33 + "output_type": "execute_result" } ], "source": [ @@ -3539,16 +3539,16 @@ "execution_count": 34, "id": "48", "metadata": { - "id": "48", - "outputId": "f68f7210-d0de-4521-e9ed-efb8c77a27aa", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "48", + "outputId": "f68f7210-d0de-4521-e9ed-efb8c77a27aa" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\n", "\n", @@ -3565,15 +3565,15 @@ ] }, { - "output_type": "execute_result", "data": { "text/plain": [ "{'query': 'What can you tell me about the characters?',\n", " 'result': 'The database contains information about several characters. Here are some of them:\\n\\n1. Rickard Stark: He is a male character who is not alive. He was 60 years old.\\n2. Lyarra Stark: She is a female character who is not alive. She was 60 years old.\\n3. Ned Stark: He is a male character who is alive. He is 41 years old.\\n4. Catelyn Stark: She is a female character who is not alive. She was 40 years old.\\n5. Arya Stark: She is a female character who is alive. She is 11 years old.\\n6. Bran Stark: He is a male character who is alive. He is 10 years old.\\n7. Robb Stark: He is a male character who is not alive. He was 16 years old.\\n8. Sansa Stark: She is a female character who is alive. She is 13 years old.\\n9. Tywin Lannister: He is a male character who is not alive. He was 67 years old.\\n10. Jaime Lannister: He is a male character who is alive. He is 36 years old.'}" ] }, + "execution_count": 34, "metadata": {}, - "execution_count": 34 + "output_type": "execute_result" } ], "source": [ @@ -3585,16 +3585,16 @@ "execution_count": 35, "id": "49", "metadata": { - "id": "49", - "outputId": "6905eb13-c5e9-4534-c595-599beeb0a6a1", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "49", + "outputId": "6905eb13-c5e9-4534-c595-599beeb0a6a1" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\n", "\n", @@ -3611,15 +3611,15 @@ ] }, { - "output_type": "execute_result", "data": { "text/plain": [ "{'query': 'Use the shortest path algorithm to go from Bran Stark to Rickard Stark',\n", " 'result': 'The shortest path from Bran Stark to Rickard Stark in the Game of Thrones graph goes through Ned Stark. Bran Stark, who is alive and 10 years old, is the son of Ned Stark, who is also alive and 41 years old. Ned Stark is the son of Rickard Stark, who is not alive and was 60 years old.'}" ] }, + "execution_count": 35, "metadata": {}, - "execution_count": 35 + "output_type": "execute_result" } ], "source": [ @@ -3631,16 +3631,16 @@ "execution_count": 36, "id": "50", "metadata": { - "id": "50", - "outputId": "1372b2d7-03a1-4b69-c401-6be33b24bb6b", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "50", + "outputId": "1372b2d7-03a1-4b69-c401-6be33b24bb6b" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\n", "\n", @@ -3657,15 +3657,15 @@ ] }, { - "output_type": "execute_result", "data": { "text/plain": [ "{'query': 'What is the family tree of Joffrey Baratheon?',\n", " 'result': \"Joffrey Baratheon's family tree includes his parents Jaime Lannister and Cersei Lannister. Jaime Lannister is alive and 36 years old. Cersei Lannister is also alive and 36 years old. His grandfather, Tywin Lannister, appears twice in the family tree. Tywin Lannister is not alive and was 67 years old.\"}" ] }, + "execution_count": 36, "metadata": {}, - "execution_count": 36 + "output_type": "execute_result" } ], "source": [ @@ -3677,16 +3677,16 @@ "execution_count": 92, "id": "51", "metadata": { - "id": "51", - "outputId": "667d1fb7-e2e8-438a-bbe4-766985126326", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "51", + "outputId": "667d1fb7-e2e8-438a-bbe4-766985126326" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\n", "\n", @@ -3704,7 +3704,6 @@ ] }, { - "output_type": "execute_result", "data": { "text/plain": [ "{'query': 'Is there a relationship between Bran Stark and Rickard Stark?',\n", @@ -3717,8 +3716,9 @@ " '_rev': '_hg5hliC--G'}]}" ] }, + "execution_count": 92, "metadata": {}, - "execution_count": 92 + "output_type": "execute_result" } ], "source": [ @@ -3730,16 +3730,16 @@ "execution_count": 38, "id": "52", "metadata": { - "id": "52", - "outputId": "0220a5e0-c26d-467d-ccd3-e70897cd2d06", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "52", + "outputId": "0220a5e0-c26d-467d-ccd3-e70897cd2d06" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\n", "\n", @@ -3757,15 +3757,15 @@ ] }, { - "output_type": "execute_result", "data": { "text/plain": [ "{'query': 'Are Arya Stark and Ned Stark related?',\n", " 'result': 'Yes, Arya Stark and Ned Stark are related. Ned Stark, who is alive and 41 years old, is a relative of Arya Stark.'}" ] }, + "execution_count": 38, "metadata": {}, - "execution_count": 38 + "output_type": "execute_result" } ], "source": [ @@ -3777,16 +3777,16 @@ "execution_count": 39, "id": "53", "metadata": { - "id": "53", - "outputId": "3661b581-4a60-4e30-dcd9-8cfad7307d45", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "53", + "outputId": "3661b581-4a60-4e30-dcd9-8cfad7307d45" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\n", "\n", @@ -3804,14 +3804,14 @@ ] }, { - "output_type": "execute_result", "data": { "text/plain": [ "{'query': 'Is Ned Stark alive?', 'result': 'Yes, Ned Stark is alive.'}" ] }, + "execution_count": 39, "metadata": {}, - "execution_count": 39 + "output_type": "execute_result" } ], "source": [ @@ -3823,16 +3823,16 @@ "execution_count": 40, "id": "54", "metadata": { - "id": "54", - "outputId": "883495ee-938e-4c2e-e84f-625a975d25df", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "54", + "outputId": "883495ee-938e-4c2e-e84f-625a975d25df" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\n", "\n", @@ -3848,15 +3848,15 @@ ] }, { - "output_type": "execute_result", "data": { "text/plain": [ "{'query': 'Ned Stark has died. Update the data',\n", " 'result': 'The data has been updated. Ned Stark is now marked as deceased in the database.'}" ] }, + "execution_count": 40, "metadata": {}, - "execution_count": 40 + "output_type": "execute_result" } ], "source": [ @@ -3868,16 +3868,16 @@ "execution_count": 41, "id": "55", "metadata": { - "id": "55", - "outputId": "24d0c699-1d55-4825-ba82-117230a44e91", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "55", + "outputId": "24d0c699-1d55-4825-ba82-117230a44e91" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\n", "\n", @@ -3895,15 +3895,15 @@ ] }, { - "output_type": "execute_result", "data": { "text/plain": [ "{'query': 'How many characters are alive? How many characters are dead?',\n", " 'result': 'There are 7 characters who are alive and 7 characters who are dead.'}" ] }, + "execution_count": 41, "metadata": {}, - "execution_count": 41 + "output_type": "execute_result" } ], "source": [ @@ -3915,16 +3915,16 @@ "execution_count": 42, "id": "56", "metadata": { - "id": "56", - "outputId": "9f519a8d-3dec-4745-9105-80fbc3788d66", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "56", + "outputId": "9f519a8d-3dec-4745-9105-80fbc3788d66" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\n", "\n", @@ -3943,15 +3943,15 @@ ] }, { - "output_type": "execute_result", "data": { "text/plain": [ "{'query': 'Is Arya Stark now an orphan?',\n", " 'result': 'Yes, Arya Stark is now an orphan. Both of her parents are deceased.'}" ] }, + "execution_count": 42, "metadata": {}, - "execution_count": 42 + "output_type": "execute_result" } ], "source": [ @@ -3987,16 +3987,16 @@ "execution_count": 44, "id": "59", "metadata": { - "id": "59", - "outputId": "2c397c3e-05f7-4b30-dee0-da9cebcad535", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "59", + "outputId": "2c397c3e-05f7-4b30-dee0-da9cebcad535" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\n", "\n", @@ -4015,15 +4015,15 @@ ] }, { - "output_type": "execute_result", "data": { "text/plain": [ "{'query': 'Fetch me 3 events that happened in December 2019',\n", " 'result': \"Here are 3 events that happened in December 2019:\\n\\n1. On December 1, 2019, UGTA members and workers marched in Algiers against foreign intervention and in favor of the army and the scheduled elections. The size of the protest was in the hundreds. There were no reported fatalities.\\n\\n2. On December 2, 2019, workers protested against the company, Sour El-Ghozlane in Bouira for not distributing salaries in over 4 months. The size of the protest was reported to be 260. There were no reported fatalities.\\n\\n3. On December 2, 2019, citizens protested in Jijel during a presidential candidate's speech against the elections. The size of the protest was not reported. There were no reported fatalities.\"}" ] }, + "execution_count": 44, "metadata": {}, - "execution_count": 44 + "output_type": "execute_result" } ], "source": [ @@ -4035,16 +4035,16 @@ "execution_count": 45, "id": "60", "metadata": { - "id": "60", - "outputId": "adf95cf4-fc07-446e-bd1b-37f764903299", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "60", + "outputId": "adf95cf4-fc07-446e-bd1b-37f764903299" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\n", "\n", @@ -4069,15 +4069,15 @@ ] }, { - "output_type": "execute_result", "data": { "text/plain": [ "{'query': \"Who is responsible for 'Event/ANG3310'?\",\n", " 'result': \"The event 'ANG3310' involves the actors 'Civilians (Angola)' and 'Unidentified Armed Group (Angola)'.\"}" ] }, + "execution_count": 45, "metadata": {}, - "execution_count": 45 + "output_type": "execute_result" } ], "source": [ @@ -4089,16 +4089,16 @@ "execution_count": 46, "id": "61", "metadata": { - "id": "61", - "outputId": "53823584-5dfc-44ea-f14e-8b09fe41055a", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "61", + "outputId": "53823584-5dfc-44ea-f14e-8b09fe41055a" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\n", "\n", @@ -4117,15 +4117,15 @@ ] }, { - "output_type": "execute_result", "data": { "text/plain": [ "{'query': \"Where did 'Event/ANG3310' take place?\",\n", " 'result': \"The event with the identifier 'ANG3310' took place in Kilamba Kiaxi.\"}" ] }, + "execution_count": 46, "metadata": {}, - "execution_count": 46 + "output_type": "execute_result" } ], "source": [ @@ -4137,17 +4137,17 @@ "execution_count": 91, "id": "62", "metadata": { - "id": "62", - "outputId": "435e8a90-6848-4c8e-a9a5-8cb096549e39", "colab": { "base_uri": "https://localhost:8080/", "height": 261 - } + }, + "id": "62", + "outputId": "435e8a90-6848-4c8e-a9a5-8cb096549e39" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\n", "\n", @@ -4165,17 +4165,17 @@ ] }, { - "output_type": "execute_result", "data": { - "text/plain": [ - "\"The event with the identifier 'Event/ANG3310' took place in the country Angola.\"" - ], "application/vnd.google.colaboratory.intrinsic+json": { "type": "string" - } + }, + "text/plain": [ + "\"The event with the identifier 'Event/ANG3310' took place in the country Angola.\"" + ] }, + "execution_count": 91, "metadata": {}, - "execution_count": 91 + "output_type": "execute_result" } ], "source": [ @@ -4187,16 +4187,16 @@ "execution_count": 89, "id": "63", "metadata": { - "id": "63", - "outputId": "b1ea48ca-7f07-4be5-90f6-30ed76a36443", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "63", + "outputId": "b1ea48ca-7f07-4be5-90f6-30ed76a36443" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\n", "\n", @@ -4217,7 +4217,6 @@ ] }, { - "output_type": "execute_result", "data": { "text/plain": [ "{'query': \"What region did 'Event/ANG3310' take place in?\",\n", @@ -4229,8 +4228,9 @@ " 'name': 'Middle Africa'}]}" ] }, + "execution_count": 89, "metadata": {}, - "execution_count": 89 + "output_type": "execute_result" } ], "source": [ @@ -4242,16 +4242,16 @@ "execution_count": 49, "id": "64", "metadata": { - "id": "64", - "outputId": "3c52b325-6a45-4a09-e699-e01574956270", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "64", + "outputId": "3c52b325-6a45-4a09-e699-e01574956270" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\n", "\n", @@ -4270,15 +4270,15 @@ ] }, { - "output_type": "execute_result", "data": { "text/plain": [ "{'query': \"What is the source of 'Event/ANG3310'?\",\n", " 'result': \"The source of the event 'ANG3310' is the 'Angola Press Agency', which operates on a national scale.\"}" ] }, + "execution_count": 49, "metadata": {}, - "execution_count": 49 + "output_type": "execute_result" } ], "source": [ @@ -4290,16 +4290,16 @@ "execution_count": 50, "id": "65", "metadata": { - "id": "65", - "outputId": "787f4387-6bb7-4475-b2e8-241d17259752", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "65", + "outputId": "787f4387-6bb7-4475-b2e8-241d17259752" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\n", "\n", @@ -4319,15 +4319,15 @@ ] }, { - "output_type": "execute_result", "data": { "text/plain": [ "{'query': \"What type of event is 'Event/ANG3310' classified as?\",\n", " 'result': \"The event 'Event/ANG3310' is classified as a 'Strategic developments' type of event.\"}" ] }, + "execution_count": 50, "metadata": {}, - "execution_count": 50 + "output_type": "execute_result" } ], "source": [ @@ -4339,16 +4339,16 @@ "execution_count": 51, "id": "66", "metadata": { - "id": "66", - "outputId": "5a075904-b257-426e-9648-ed2f1002be16", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "66", + "outputId": "5a075904-b257-426e-9648-ed2f1002be16" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\n", "\n", @@ -4365,15 +4365,15 @@ ] }, { - "output_type": "execute_result", "data": { "text/plain": [ "{'query': \"What are the classes associated to 'Strategic developments'?\",\n", " 'result': \"The classes associated with 'Strategic developments' are 'Agreement', 'Headquarters or base established', 'Non-violent transfer of territory', 'Arrests', and 'Other'.\"}" ] }, + "execution_count": 51, "metadata": {}, - "execution_count": 51 + "output_type": "execute_result" } ], "source": [ @@ -4385,16 +4385,16 @@ "execution_count": 52, "id": "67", "metadata": { - "id": "67", - "outputId": "e74cd3c9-2e50-4353-f9c1-48d6d1c079ca", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "67", + "outputId": "e74cd3c9-2e50-4353-f9c1-48d6d1c079ca" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\n", "\n", @@ -4417,15 +4417,15 @@ ] }, { - "output_type": "execute_result", "data": { "text/plain": [ "{'query': 'Fetch me the Actor with the most associated events. Remember to use INBOUND for eventActor',\n", " 'result': \"The actor associated with the most events in the database is 'Civilians (Democratic Republic of Congo)'.\"}" ] }, + "execution_count": 52, "metadata": {}, - "execution_count": 52 + "output_type": "execute_result" } ], "source": [ @@ -4437,16 +4437,16 @@ "execution_count": 53, "id": "68", "metadata": { - "id": "68", - "outputId": "9298ad6d-1f28-41bd-fbfe-cc4ad9e97576", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "68", + "outputId": "9298ad6d-1f28-41bd-fbfe-cc4ad9e97576" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\n", "\n", @@ -4466,15 +4466,15 @@ ] }, { - "output_type": "execute_result", "data": { "text/plain": [ "{'query': 'Which 2020 event has the largest number of fatalities?',\n", " 'result': 'The 2020 event with the largest number of fatalities was a military operation carried out by the Chadian army against Boko Haram (or ISWAP) militants in the Lac Region. This event occurred between March 31 and April 8. The military acknowledged that 52 Chadian soldiers were killed and 196 others were wounded in the operations, claiming to have killed 1000 Boko Haram militants. However, the declared toll is assessed to be exaggerated and therefore revised and coded as 100. This brings the total fatalities to 152.'}" ] }, + "execution_count": 53, "metadata": {}, - "execution_count": 53 + "output_type": "execute_result" } ], "source": [ @@ -4486,16 +4486,16 @@ "execution_count": 54, "id": "69", "metadata": { - "id": "69", - "outputId": "cf8e4d07-f867-48ae-919c-4da2c35a048a", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "69", + "outputId": "cf8e4d07-f867-48ae-919c-4da2c35a048a" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\n", "\n", @@ -4515,15 +4515,15 @@ ] }, { - "output_type": "execute_result", "data": { "text/plain": [ "{'query': 'Return the first 3 countries with the most associated events',\n", " 'result': 'The first three countries with the most associated events are the Democratic Republic of Congo with 2046 events, Kenya with 1192 events, and Burundi with 1030 events.'}" ] }, + "execution_count": 54, "metadata": {}, - "execution_count": 54 + "output_type": "execute_result" } ], "source": [ @@ -4535,22 +4535,22 @@ "execution_count": 55, "id": "70", "metadata": { - "id": "70", - "outputId": "ceee8bad-5459-4cce-8ec2-dcd01a402073", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "70", + "outputId": "ceee8bad-5459-4cce-8ec2-dcd01a402073" }, "outputs": [ { - "output_type": "execute_result", "data": { "text/plain": [ "True" ] }, + "execution_count": 55, "metadata": {}, - "execution_count": 55 + "output_type": "execute_result" } ], "source": [ @@ -4585,16 +4585,16 @@ "execution_count": 56, "id": "71", "metadata": { - "id": "71", - "outputId": "ed08caab-5cdf-4886-f90d-ec921aa5ee4a", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "71", + "outputId": "ed08caab-5cdf-4886-f90d-ec921aa5ee4a" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\n", "\n", @@ -4622,16 +4622,16 @@ "execution_count": 57, "id": "72", "metadata": { - "id": "72", - "outputId": "45e0bd9d-76ee-4841-ee04-34ed8c6df0cf", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "72", + "outputId": "45e0bd9d-76ee-4841-ee04-34ed8c6df0cf" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\n", "\n", @@ -4666,16 +4666,16 @@ "execution_count": 58, "id": "73", "metadata": { - "id": "73", - "outputId": "562ccedb-514d-47da-8c63-795e15f6d531", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "73", + "outputId": "562ccedb-514d-47da-8c63-795e15f6d531" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\n", "\n", @@ -4711,22 +4711,22 @@ "execution_count": 59, "id": "74", "metadata": { - "id": "74", - "outputId": "d34b6c33-be64-4e93-d283-34c31a369080", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "74", + "outputId": "d34b6c33-be64-4e93-d283-34c31a369080" }, "outputs": [ { - "output_type": "execute_result", "data": { "text/plain": [ "True" ] }, + "execution_count": 59, "metadata": {}, - "execution_count": 59 + "output_type": "execute_result" } ], "source": [ @@ -4759,16 +4759,16 @@ "execution_count": 60, "id": "75", "metadata": { - "id": "75", - "outputId": "1ea16621-5c9b-4692-891c-3d86b9515932", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "75", + "outputId": "1ea16621-5c9b-4692-891c-3d86b9515932" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\n", "\n", @@ -4796,16 +4796,16 @@ "execution_count": 61, "id": "76", "metadata": { - "id": "76", - "outputId": "c161768b-57d3-46f0-de8b-5706d3b0e452", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "76", + "outputId": "c161768b-57d3-46f0-de8b-5706d3b0e452" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\n", "\n", @@ -4843,16 +4843,16 @@ "execution_count": 62, "id": "77", "metadata": { - "id": "77", - "outputId": "596da623-5fd3-467c-9459-2f0ce1fa792e", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "77", + "outputId": "596da623-5fd3-467c-9459-2f0ce1fa792e" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\n", "\n", @@ -4922,16 +4922,16 @@ "execution_count": 63, "id": "81", "metadata": { - "id": "81", - "outputId": "e602ea96-f61f-4290-d8c2-f228b919b951", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "81", + "outputId": "e602ea96-f61f-4290-d8c2-f228b919b951" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\n", "\n", @@ -4948,15 +4948,15 @@ ] }, { - "output_type": "execute_result", "data": { "text/plain": [ "{'query': 'Who are the grandchildren of Rickard Stark?',\n", " 'result': 'Rickard Stark does not have any recorded grandchildren in the database.'}" ] }, + "execution_count": 63, "metadata": {}, - "execution_count": 63 + "output_type": "execute_result" } ], "source": [ @@ -4969,16 +4969,16 @@ "execution_count": 64, "id": "82", "metadata": { - "id": "82", - "outputId": "c78f2429-e3af-44f6-a619-9529e52050e3", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "82", + "outputId": "c78f2429-e3af-44f6-a619-9529e52050e3" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\n", "\n", @@ -4995,15 +4995,15 @@ ] }, { - "output_type": "execute_result", "data": { "text/plain": [ "{'query': 'Who are the grandchildren of Rickard Stark? Remember to use INBOUND',\n", " 'result': 'The grandchildren of Rickard Stark are Jon Snow, Arya Stark, Sansa Stark, Robb Stark, and Bran Stark.'}" ] }, + "execution_count": 64, "metadata": {}, - "execution_count": 64 + "output_type": "execute_result" } ], "source": [ @@ -5016,16 +5016,16 @@ "execution_count": 65, "id": "83", "metadata": { - "id": "83", - "outputId": "1d7f77a4-8482-45d8-8d76-6302e62d9c82", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "83", + "outputId": "1d7f77a4-8482-45d8-8d76-6302e62d9c82" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\n", "\n", @@ -5042,15 +5042,15 @@ ] }, { - "output_type": "execute_result", "data": { "text/plain": [ "{'query': 'Who are the grandchildren of Tywin Lannister?',\n", " 'result': \"The grandchildren of Tywin Lannister are Joffrey Baratheon. Please note that Joffrey Baratheon is listed twice, indicating that he is a grandchild through both of Tywin's children.\"}" ] }, + "execution_count": 65, "metadata": {}, - "execution_count": 65 + "output_type": "execute_result" } ], "source": [ @@ -5333,16 +5333,16 @@ "execution_count": 72, "id": "95", "metadata": { - "id": "95", - "outputId": "9442c09e-b209-44ec-a65f-ab030986ff2d", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "95", + "outputId": "9442c09e-b209-44ec-a65f-ab030986ff2d" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\n", "\n", @@ -5360,15 +5360,15 @@ ] }, { - "output_type": "execute_result", "data": { "text/plain": [ "{'query': 'Is Ned Stark alive?',\n", " 'result': \"Oh, I hate to be the bearer of bad news, but Ned Stark has joined the choir invisible. He is an ex-character. He's shuffled off this mortal coil. In simpler terms, no, Ned Stark is not alive.\"}" ] }, + "execution_count": 72, "metadata": {}, - "execution_count": 72 + "output_type": "execute_result" } ], "source": [ @@ -5471,33 +5471,33 @@ "execution_count": 77, "id": "99", "metadata": { - "id": "99", - "outputId": "9fe0e40c-a2b3-4439-9ab7-213b65d4c0b3", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "99", + "outputId": "9fe0e40c-a2b3-4439-9ab7-213b65d4c0b3" }, "outputs": [ { - "output_type": "execute_result", "data": { "text/plain": [ "FileObject(id='file-egN1bG3TNxKOMGG3TRpCMxWL', bytes=1455, created_at=1710184143, filename='aql.jsonl', object='file', purpose='fine-tune', status='processed', status_details=None)" ] }, + "execution_count": 77, "metadata": {}, - "execution_count": 77 + "output_type": "execute_result" } ], "source": [ "# 2. Create the OpenAI File\n", "\n", "import os\n", - "from openai import OpenAI\n", + "import openai\n", "\n", "openai.api_key = os.getenv(\"OPENAI_API_KEY\")\n", "\n", - "client = OpenAI()\n", + "client = openai.OpenAI()\n", "\n", "openai_file = client.files.create(\n", " file=open(\"aql.jsonl\", \"rb\"),\n", @@ -5512,22 +5512,22 @@ "execution_count": 81, "id": "100", "metadata": { - "id": "100", - "outputId": "3db42e8c-b3ea-4ad6-840f-fa3f1be751ac", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "100", + "outputId": "3db42e8c-b3ea-4ad6-840f-fa3f1be751ac" }, "outputs": [ { - "output_type": "execute_result", "data": { "text/plain": [ "FineTuningJob(id='ftjob-DYn1hfmeBmsDkK77zemvL1oS', created_at=1710184183, error=Error(code=None, message=None, param=None, error=None), fine_tuned_model=None, finished_at=None, hyperparameters=Hyperparameters(n_epochs='auto', batch_size='auto', learning_rate_multiplier='auto'), model='gpt-3.5-turbo-0125', object='fine_tuning.job', organization_id='org-qxPkNPWF8DKL1WPIc5huNbv1', result_files=[], status='validating_files', trained_tokens=None, training_file='file-egN1bG3TNxKOMGG3TRpCMxWL', validation_file=None, user_provided_suffix=None)" ] }, + "execution_count": 81, "metadata": {}, - "execution_count": 81 + "output_type": "execute_result" } ], "source": [ @@ -5543,16 +5543,16 @@ "execution_count": 101, "id": "101", "metadata": { - "id": "101", - "outputId": "eaccf4c5-4ccc-4ba1-dac7-80b650224477", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "101", + "outputId": "eaccf4c5-4ccc-4ba1-dac7-80b650224477" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "done!\n" ] @@ -5611,16 +5611,16 @@ "execution_count": 104, "id": "104", "metadata": { - "id": "104", - "outputId": "23b05d9f-e932-4703-ecab-46d89f499832", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "104", + "outputId": "23b05d9f-e932-4703-ecab-46d89f499832" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\n", "\n", @@ -5646,7 +5646,6 @@ ] }, { - "output_type": "execute_result", "data": { "text/plain": [ "{'query': 'How old is Ned Stark?',\n", @@ -5655,8 +5654,9 @@ " 'aql_result': [41]}" ] }, + "execution_count": 104, "metadata": {}, - "execution_count": 104 + "output_type": "execute_result" } ], "source": [ @@ -5669,16 +5669,16 @@ "execution_count": 105, "id": "105", "metadata": { - "id": "105", - "outputId": "09591e48-a064-4c1d-f916-e84cc1bea6da", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "105", + "outputId": "09591e48-a064-4c1d-f916-e84cc1bea6da" }, "outputs": [ { - "output_type": "stream", "name": "stdout", + "output_type": "stream", "text": [ "\n", "\n", @@ -5711,14 +5711,14 @@ ] }, { - "output_type": "execute_result", "data": { "text/plain": [ "{'query': 'How old is Ned Stark?', 'result': 'Ned Stark is 41 years old.'}" ] }, + "execution_count": 105, "metadata": {}, - "execution_count": 105 + "output_type": "execute_result" } ], "source": [ @@ -5820,22 +5820,22 @@ "execution_count": 144, "id": "110", "metadata": { - "id": "110", - "outputId": "1ec03dd0-c620-403d-d092-d3971db090af", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "110", + "outputId": "1ec03dd0-c620-403d-d092-d3971db090af" }, "outputs": [ { - "output_type": "execute_result", "data": { "text/plain": [ "Response(response='Protesters have gathered in the streets due to concerns about the increase in food prices, high unemployment rates, and a perceived decline in essential government services.', source_nodes=[NodeWithScore(node=TextNode(id_='158c69fc-2fba-4f32-a998-91a3a47a16ca', embedding=None, metadata={'_id': 'Event/ALG2554'}, excluded_embed_metadata_keys=[], excluded_llm_metadata_keys=[], relationships={: RelatedNodeInfo(node_id='038eafc2-1e7a-4cf7-826c-41ead79ceaab', node_type=, metadata={'_id': 'Event/ALG2554'}, hash='934e2b16f008b227f4b9bd563eab504ac01d2296c544bef445176eb75ad2b0a3'), : RelatedNodeInfo(node_id='337d4352-b089-4772-bbf6-db591a54833f', node_type=, metadata={'_id': 'Event/ALG2553'}, hash='70b02ab3d240c802aa60cd72264d3adad57daa5d04fa174a511d4a0899298728'), : RelatedNodeInfo(node_id='a622f88b-c6b9-467f-a3ca-b351139e45f5', node_type=, metadata={}, hash='6c6bdd8671d153dd0b70aea14a915a151337fa0bc889f6cdc8c65dce6175c8b3')}, text='Protesters gather in the streets over the rise of food prices, unemployment, and a perceived deterioration of basic government services., 2011-01-05T00:00:00.000Z, Protests, 0', start_char_idx=0, end_char_idx=175, text_template='{metadata_str}\\n\\n{content}', metadata_template='{key}: {value}', metadata_seperator='\\n'), score=0.8528379279022342), NodeWithScore(node=TextNode(id_='1855d0f9-97b4-479b-bdaa-96c90dad7185', embedding=None, metadata={'_id': 'Event/ALG2555'}, excluded_embed_metadata_keys=[], excluded_llm_metadata_keys=[], relationships={: RelatedNodeInfo(node_id='6d5dd696-77f6-48ff-93b9-c743249fa077', node_type=, metadata={'_id': 'Event/ALG2555'}, hash='ad792bbbba20eec788b2a259da32e19c15851ed158f90a5fd059e15dc7b961fa'), : RelatedNodeInfo(node_id='a8e2252c-c600-472a-8fd5-402acf47dbea', node_type=, metadata={'_id': 'Event/ALG2559'}, hash='3f364098aff7624a0a86585ac54567044b49085e0143904303e7f499efc238ba'), : RelatedNodeInfo(node_id='6f80f573-8be0-4e05-8f30-4a530d9f983d', node_type=, metadata={}, hash='e7a71c1105679ddc330bae6e78e4e36679d809ef5a46bbb2c8ca820eb066d284')}, text='Protesters gather in the streets over the rise of food prices, unemployment, and a perceived deterioration of basic government services., 2011-01-05T00:00:00.000Z, Protests, 0', start_char_idx=0, end_char_idx=175, text_template='{metadata_str}\\n\\n{content}', metadata_template='{key}: {value}', metadata_seperator='\\n'), score=0.8519977629659838)], metadata={'158c69fc-2fba-4f32-a998-91a3a47a16ca': {'_id': 'Event/ALG2554'}, '1855d0f9-97b4-479b-bdaa-96c90dad7185': {'_id': 'Event/ALG2555'}})" ] }, + "execution_count": 144, "metadata": {}, - "execution_count": 144 + "output_type": "execute_result" } ], "source": [ @@ -5948,22 +5948,22 @@ "execution_count": 134, "id": "116", "metadata": { - "id": "116", - "outputId": "8ab1bd4f-2c28-4d84-aaf4-6e0a3c637ab8", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "116", + "outputId": "8ab1bd4f-2c28-4d84-aaf4-6e0a3c637ab8" }, "outputs": [ { - "output_type": "execute_result", "data": { "text/plain": [ "Response(response='National Union for the Total Independence of Angola', source_nodes=[NodeWithScore(node=TextNode(id_='cd0f1b76-e2a9-444f-a1e7-69aa70905bdd', embedding=None, metadata={'_id': 'Actor/fa638dbcb53f818c5e12dd09542efedf'}, excluded_embed_metadata_keys=[], excluded_llm_metadata_keys=[], relationships={: RelatedNodeInfo(node_id='03a3bbba-e945-4497-8297-cd12d27045cf', node_type=, metadata={'_id': 'Actor/fa638dbcb53f818c5e12dd09542efedf'}, hash='9c03b3ced77eed0465aa9509c4133601952135beb1bf9b9c4c1c34c15c3f8637'), : RelatedNodeInfo(node_id='e23eae4e-9a22-4d16-86a1-aebecb1a7730', node_type=, metadata={'_id': 'Actor/7ce21c73939d25a5797624adeb219433'}, hash='122b531e1b03d8c51cd871db2959109abf236fdf2de581724e8bb682c7068c12'), : RelatedNodeInfo(node_id='34b3624d-04a8-4d7b-822c-3f3f1cc9832f', node_type=, metadata={}, hash='847f5b8366fd43866cedd4940ce1179fa8e834fdc7b9007a59e08961400e65b8')}, text='Former UNITA: National Union for the Total Independence of Angola', start_char_idx=0, end_char_idx=65, text_template='{metadata_str}\\n\\n{content}', metadata_template='{key}: {value}', metadata_seperator='\\n'), score=0.8614664686763281), NodeWithScore(node=TextNode(id_='2833e01f-7019-4dd7-9216-742cfebf67e7', embedding=None, metadata={'_id': 'Actor/9bf5e0a27d6c6ec8113ff71756802331'}, excluded_embed_metadata_keys=[], excluded_llm_metadata_keys=[], relationships={: RelatedNodeInfo(node_id='21b10caa-fa0f-4c3e-9638-9a600425d378', node_type=, metadata={'_id': 'Actor/9bf5e0a27d6c6ec8113ff71756802331'}, hash='c1a025475ca5fd65e68103deedd4c11f71370b2978f460bcfee5755a4f18be2e'), : RelatedNodeInfo(node_id='58437b79-582f-4eb2-bc8d-2da99dcd3914', node_type=, metadata={'_id': 'Actor/827a99003b0685f6f2db84bc0db726d0'}, hash='f33dd57065b77a9d9002be32e4f371a7a8eb53f6795f44ddaa7fb695b82a8161'), : RelatedNodeInfo(node_id='024fc5a4-e0f4-45ff-8a52-15bc22bbbd7d', node_type=, metadata={}, hash='42090e4f8de57e7efe1fc2892d9b1fb5a305f5ec6c964cb93de0b9dba80853ed')}, text='UNITA: National Union for the Total Independence of Angola', start_char_idx=0, end_char_idx=58, text_template='{metadata_str}\\n\\n{content}', metadata_template='{key}: {value}', metadata_seperator='\\n'), score=0.8602056427642614)], metadata={'cd0f1b76-e2a9-444f-a1e7-69aa70905bdd': {'_id': 'Actor/fa638dbcb53f818c5e12dd09542efedf'}, '2833e01f-7019-4dd7-9216-742cfebf67e7': {'_id': 'Actor/9bf5e0a27d6c6ec8113ff71756802331'}, 'selector_result': MultiSelection(selections=[SingleSelection(index=1, reason=\"The question 'What does UNITA stand for?' is likely related to an 'Actor' collection data query, as UNITA is likely an organization or entity represented by actors.\")])})" ] }, + "execution_count": 134, "metadata": {}, - "execution_count": 134 + "output_type": "execute_result" } ], "source": [ @@ -5974,57 +5974,57 @@ }, { "cell_type": "code", - "source": [ - "router_query_engine.query(\"What are some Actors associated to Angola?\")" - ], + "execution_count": 138, + "id": "Fo67Trjm_-qy", "metadata": { - "id": "Fo67Trjm_-qy", - "outputId": "626a704a-a3bb-498f-c37c-a0c54a28dcd6", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "Fo67Trjm_-qy", + "outputId": "626a704a-a3bb-498f-c37c-a0c54a28dcd6" }, - "id": "Fo67Trjm_-qy", - "execution_count": 138, "outputs": [ { - "output_type": "execute_result", "data": { "text/plain": [ "Response(response='Government of Angola and UNITA', source_nodes=[NodeWithScore(node=TextNode(id_='300fe63d-7686-44d5-9082-1f06ab8415f5', embedding=None, metadata={'_id': 'Actor/c830f275ce678ee9a0184606db329a4c'}, excluded_embed_metadata_keys=[], excluded_llm_metadata_keys=[], relationships={: RelatedNodeInfo(node_id='92ac5f1d-6a18-4880-9470-d639dd5f4206', node_type=, metadata={'_id': 'Actor/c830f275ce678ee9a0184606db329a4c'}, hash='17866ed7ab330f3824a838c7a47a3da12f692cc88e99447be466f4ff34743f09'), : RelatedNodeInfo(node_id='18ab1c7e-602f-42fb-9fa0-7262e9085027', node_type=, metadata={'_id': 'Actor/a3cf97fe7c908c8075cf470fd30f5691'}, hash='0c1a1c683f7b2e1fe2cb7992ee5b01332f03438e55f172ad6c43527ffab923ca'), : RelatedNodeInfo(node_id='9bfe9371-4af9-4b4c-abf5-22243bd07cfb', node_type=, metadata={}, hash='bb78323a2b9c15b892b56858d37f784b9c1314c008367413721d6d28bcb426c1')}, text='Government of Angola (1975-)', start_char_idx=0, end_char_idx=28, text_template='{metadata_str}\\n\\n{content}', metadata_template='{key}: {value}', metadata_seperator='\\n'), score=0.8721270332984348), NodeWithScore(node=TextNode(id_='2833e01f-7019-4dd7-9216-742cfebf67e7', embedding=None, metadata={'_id': 'Actor/9bf5e0a27d6c6ec8113ff71756802331'}, excluded_embed_metadata_keys=[], excluded_llm_metadata_keys=[], relationships={: RelatedNodeInfo(node_id='21b10caa-fa0f-4c3e-9638-9a600425d378', node_type=, metadata={'_id': 'Actor/9bf5e0a27d6c6ec8113ff71756802331'}, hash='c1a025475ca5fd65e68103deedd4c11f71370b2978f460bcfee5755a4f18be2e'), : RelatedNodeInfo(node_id='58437b79-582f-4eb2-bc8d-2da99dcd3914', node_type=, metadata={'_id': 'Actor/827a99003b0685f6f2db84bc0db726d0'}, hash='f33dd57065b77a9d9002be32e4f371a7a8eb53f6795f44ddaa7fb695b82a8161'), : RelatedNodeInfo(node_id='024fc5a4-e0f4-45ff-8a52-15bc22bbbd7d', node_type=, metadata={}, hash='42090e4f8de57e7efe1fc2892d9b1fb5a305f5ec6c964cb93de0b9dba80853ed')}, text='UNITA: National Union for the Total Independence of Angola', start_char_idx=0, end_char_idx=58, text_template='{metadata_str}\\n\\n{content}', metadata_template='{key}: {value}', metadata_seperator='\\n'), score=0.8702608020248003)], metadata={'300fe63d-7686-44d5-9082-1f06ab8415f5': {'_id': 'Actor/c830f275ce678ee9a0184606db329a4c'}, '2833e01f-7019-4dd7-9216-742cfebf67e7': {'_id': 'Actor/9bf5e0a27d6c6ec8113ff71756802331'}, 'selector_result': MultiSelection(selections=[SingleSelection(index=1, reason=\"The query engine for 'Actor' collection data would be most relevant to the question 'What are some Actors associated to Angola?' as it focuses on retrieving information about actors, which are likely to include individuals associated with Angola.\")])})" ] }, + "execution_count": 138, "metadata": {}, - "execution_count": 138 + "output_type": "execute_result" } + ], + "source": [ + "router_query_engine.query(\"What are some Actors associated to Angola?\")" ] }, { "cell_type": "code", - "source": [ - "router_query_engine.query(\"Tell me about an event that had at least 1 fatality\")" - ], + "execution_count": 148, + "id": "wETZgig_ATU9", "metadata": { - "id": "wETZgig_ATU9", - "outputId": "d04a0f83-6b21-4383-c4fb-231255c431e3", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "wETZgig_ATU9", + "outputId": "d04a0f83-6b21-4383-c4fb-231255c431e3" }, - "id": "wETZgig_ATU9", - "execution_count": 148, "outputs": [ { - "output_type": "execute_result", "data": { "text/plain": [ "Response(response='An event that had at least 1 fatality involved 2 deaths due to rioting reported by The Liberte Daily.', source_nodes=[NodeWithScore(node=TextNode(id_='0333a1a9-5118-4eff-b0a1-e824e2751a6a', embedding=None, metadata={'_id': 'Event/ALG548'}, excluded_embed_metadata_keys=[], excluded_llm_metadata_keys=[], relationships={: RelatedNodeInfo(node_id='7e9660cd-6f91-4e2d-af8f-edf7f0a39be3', node_type=, metadata={'_id': 'Event/ALG548'}, hash='181229cb01578544cd0216b9c6f809404f41523327a9d20be13ffc8e71e43517'), : RelatedNodeInfo(node_id='5547a459-f56c-4423-a10d-71d905fa620c', node_type=, metadata={'_id': 'Event/ALG547'}, hash='68bf1d15a7bc0fa9a88308774812ac20afb1de4c8bfc5ceb7cdc9390e4f378c6'), : RelatedNodeInfo(node_id='192c4105-2171-468f-b724-8dc5ff7bfad9', node_type=, metadata={}, hash='2556a141dead3eff57f3262caf5ce64f234d2fd948808c916a7e716230ecaa30')}, text='The Liberte Daily reported that 2 more deaths due to rioting had occurred on Monday. Both were allegedly shot by police, although the locations of the shootings were not reported., 2001-05-28T00:00:00.000Z, Violence_against_civilians, 2', start_char_idx=0, end_char_idx=236, text_template='{metadata_str}\\n\\n{content}', metadata_template='{key}: {value}', metadata_seperator='\\n'), score=0.8191686461095953), NodeWithScore(node=TextNode(id_='8e517a19-abd1-457c-a913-ff28125466ca', embedding=None, metadata={'_id': 'Event/ALG623'}, excluded_embed_metadata_keys=[], excluded_llm_metadata_keys=[], relationships={: RelatedNodeInfo(node_id='ff1bf6b6-3134-4b47-b717-b9c668c590b9', node_type=, metadata={'_id': 'Event/ALG623'}, hash='164ef9c1fe3f41fa6191d1af7b52c5566690090e11eb31c47504a94ed987283a'), : RelatedNodeInfo(node_id='b6ac9243-6590-4175-8caf-5af12a11e6d9', node_type=, metadata={'_id': 'Event/ALG624'}, hash='a2bdd9643de2d6a574815f2797977da31b90d538513c8ba6eaea84cf7032cc74'), : RelatedNodeInfo(node_id='f4738570-453b-49de-9d18-eb814623f9c4', node_type=, metadata={}, hash='0aa79e4edcfe1086fa34f646201d19e416d41f72712e31b3ee9fc9a6c127f7c5')}, text='43 people have been reported killed in the Mascara region over the last two weeks (reported on Sept.1, 28 fatalities reported in other events)., 2001-08-25T00:00:00.000Z, Violence_against_civilians, 15', start_char_idx=0, end_char_idx=201, text_template='{metadata_str}\\n\\n{content}', metadata_template='{key}: {value}', metadata_seperator='\\n'), score=0.8188363212047347)], metadata={'0333a1a9-5118-4eff-b0a1-e824e2751a6a': {'_id': 'Event/ALG548'}, '8e517a19-abd1-457c-a913-ff28125466ca': {'_id': 'Event/ALG623'}, 'selector_result': MultiSelection(selections=[SingleSelection(index=0, reason=\"The query engine for 'Event' collection data would be most relevant to the question about an event with at least 1 fatality.\")])})" ] }, + "execution_count": 148, "metadata": {}, - "execution_count": 148 + "output_type": "execute_result" } - ] + ], + "source": [ + "router_query_engine.query(\"Tell me about an event that had at least 1 fatality\")" + ] }, { "cell_type": "markdown", @@ -6038,30 +6038,30 @@ }, { "cell_type": "code", - "source": [ - "# Notice how no relationships are being dervied, the response is empty:\n", - "router_query_engine.query(\"What events are linked to the Government of Angola?\")" - ], + "execution_count": 145, + "id": "FS-84fDbAt7M", "metadata": { - "id": "FS-84fDbAt7M", - "outputId": "fe08413f-34ff-4d1e-e3be-4514b01a20dd", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "FS-84fDbAt7M", + "outputId": "fe08413f-34ff-4d1e-e3be-4514b01a20dd" }, - "id": "FS-84fDbAt7M", - "execution_count": 145, "outputs": [ { - "output_type": "execute_result", "data": { "text/plain": [ "Response(response='None of the events mentioned in the context information are linked to the Government of Angola.', source_nodes=[NodeWithScore(node=TextNode(id_='988a894c-3f07-433f-b6ac-9acace8b6be2', embedding=None, metadata={'_id': 'Event/ALG2367'}, excluded_embed_metadata_keys=[], excluded_llm_metadata_keys=[], relationships={: RelatedNodeInfo(node_id='71a1b58c-28fe-4d4c-8192-7283a1e2d512', node_type=, metadata={'_id': 'Event/ALG2367'}, hash='0c107782789a1674b8dbabd024723b1cca3c9719f7664bb9997e75aafb5497fb'), : RelatedNodeInfo(node_id='1af36b49-069f-4938-b9a8-90db5b4396dd', node_type=, metadata={'_id': 'Event/ALG2366'}, hash='e590568ecd134130ee54e91ccdafe2191af671e60455d7da0b8290fd2bb00417'), : RelatedNodeInfo(node_id='34e6df18-5137-4e56-b23f-b0e41d422e46', node_type=, metadata={}, hash='403943b3cb8db64fd00c4395895b226428bf8fc72855df43afa63aae0e4b1f5a')}, text='Protests were observed this week, part of a wave of demonstrations over housing conditions, the state of roads, and gas and electricity cuts. Authorities insist that Algerias 2010 budget allots significant spending to health infrastructure, habitat and town planning, and social services like water, gas, electricity and urban transport., 2009-10-15T00:00:00.000Z, Protests, 0', start_char_idx=0, end_char_idx=376, text_template='{metadata_str}\\n\\n{content}', metadata_template='{key}: {value}', metadata_seperator='\\n'), score=0.8098310160208833), NodeWithScore(node=TextNode(id_='fd2a4303-7856-43db-9e62-d90edf614329', embedding=None, metadata={'_id': 'Event/ALG2931'}, excluded_embed_metadata_keys=[], excluded_llm_metadata_keys=[], relationships={: RelatedNodeInfo(node_id='5c87170f-e39c-43aa-a8ee-25f954aba3d3', node_type=, metadata={'_id': 'Event/ALG2931'}, hash='45841faf32e5ee0a249e499cdb81798fa07291b8768aad4368ae53c3cbee36a5'), : RelatedNodeInfo(node_id='358ea7c2-b8ca-4b45-8674-ece1be96926a', node_type=, metadata={'_id': 'Event/ALG2929'}, hash='c906b4c3303083537c82d9f6d4a48019d982fbf6868c9fea4eb1a16052c41db2'), : RelatedNodeInfo(node_id='26f00775-279d-42c7-8f6d-e77b22b76dc1', node_type=, metadata={}, hash='02a9cc380cd877239f0156fff9b4ff21bcab52104d50f7bff6904ef4fc4c9943')}, text='Several provinces of the country witnessed protests linked to unemployment, urban planning, lack of gas and water, and especially to housing problem. In the province of Tipasa, west of Algiers, citizens of Halloula-Essahilia village last Thursday took to the streets and blocked National Road 67 to protest against the cancellation of the scheduled visit of the governor of Tipasa, during which they hoped to present their grievances to the first responsible of the province. They used burning tires and other objects to denounce the lack of drinking water in homes pipes for five days, the fall of a child in a sewer and to claim social order., 2011-12-22T00:00:00.000Z, Riots, 0', start_char_idx=0, end_char_idx=680, text_template='{metadata_str}\\n\\n{content}', metadata_template='{key}: {value}', metadata_seperator='\\n'), score=0.8092197909480777)], metadata={'988a894c-3f07-433f-b6ac-9acace8b6be2': {'_id': 'Event/ALG2367'}, 'fd2a4303-7856-43db-9e62-d90edf614329': {'_id': 'Event/ALG2931'}, 'selector_result': MultiSelection(selections=[SingleSelection(index=0, reason=\"The query engine for 'Event' collection data would be most relevant to the question 'What events are linked to the Government of Angola?' as it focuses on events and their data.\")])})" ] }, + "execution_count": 145, "metadata": {}, - "execution_count": 145 + "output_type": "execute_result" } + ], + "source": [ + "# Notice how no relationships are being dervied, the response is empty:\n", + "router_query_engine.query(\"What events are linked to the Government of Angola?\")" ] }, { @@ -6111,10 +6111,37 @@ }, "widgets": { "application/vnd.jupyter.widget-state+json": { - "70ee96c8ef3c45aa98219904eb3b9fe3": { + "00bb413e3e8d4aa2ae5a6d22f161f9cf": { "model_module": "@jupyter-widgets/output", + "model_module_version": "1.0.0", "model_name": "OutputModel", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/output", + "_model_module_version": "1.0.0", + "_model_name": "OutputModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/output", + "_view_module_version": "1.0.0", + "_view_name": "OutputView", + "layout": "IPY_MODEL_4d3c7dbf69da4fb499307835431b6a09", + "msg_id": "", + "outputs": [ + { + "data": { + "text/html": "
GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/edge_collection/inRegion.json ▰▰▱… 0:0…\n
\n", + "text/plain": "GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/edge_collection/inRegion.json \u001b[38;2;91;192;222m▰▰▱…\u001b[0m \u001b[33m0:0…\u001b[0m\n" + }, + "metadata": {}, + "output_type": "display_data" + } + ] + } + }, + "01ecb9afdf5e4f1d86a62d600c621401": { + "model_module": "@jupyter-widgets/output", "model_module_version": "1.0.0", + "model_name": "OutputModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/output", @@ -6124,24 +6151,132 @@ "_view_module": "@jupyter-widgets/output", "_view_module_version": "1.0.0", "_view_name": "OutputView", - "layout": "IPY_MODEL_eddd34db2d804dcf8bec541202e00305", + "layout": "IPY_MODEL_b04d48b009814255bec75e8815e9b8b2", "msg_id": "", "outputs": [ { - "output_type": "display_data", "data": { - "text/plain": "GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/root_metadata.json \u001b[38;2;91;192;222m▰▰▱▱▱▱▱\u001b[0m \u001b[33m0:00:00\u001b[0m\n", - "text/html": "
GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/root_metadata.json ▰▰▱▱▱▱▱ 0:00:00\n
\n" + "text/html": "
GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/vertex_collection/Actor.json ▰▰▰… 0:00…\n
\n", + "text/plain": "GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/vertex_collection/Actor.json \u001b[38;2;91;192;222m▰▰▰…\u001b[0m \u001b[33m0:00…\u001b[0m\n" }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" } ] } }, - "eddd34db2d804dcf8bec541202e00305": { + "0df0198bad8341e0b017d0a5039d6094": { + "model_module": "@jupyter-widgets/output", + "model_module_version": "1.0.0", + "model_name": "OutputModel", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/output", + "_model_module_version": "1.0.0", + "_model_name": "OutputModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/output", + "_view_module_version": "1.0.0", + "_view_name": "OutputView", + "layout": "IPY_MODEL_6a6ca17c07f94dcab0bc3853e3e25e3e", + "msg_id": "", + "outputs": [ + { + "data": { + "text/html": "
GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/vertex_collection/Event.json ▰▱▱… 0:00…\n
\n", + "text/plain": "GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/vertex_collection/Event.json \u001b[38;2;91;192;222m▰▱▱…\u001b[0m \u001b[33m0:00…\u001b[0m\n" + }, + "metadata": {}, + "output_type": "display_data" + } + ] + } + }, + "13d8b76a4c3f443ca0dee631fd3959b0": { + "model_module": "@jupyter-widgets/output", + "model_module_version": "1.0.0", + "model_name": "OutputModel", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/output", + "_model_module_version": "1.0.0", + "_model_name": "OutputModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/output", + "_view_module_version": "1.0.0", + "_view_name": "OutputView", + "layout": "IPY_MODEL_9af4fff0dbaa4cbdaed50a2d06859ad6", + "msg_id": "", + "outputs": [ + { + "data": { + "text/html": "
Collection: hasSource ▰▰▰▰▰▱▱ 0:00:04\n
\n", + "text/plain": "Collection: hasSource \u001b[38;2;91;192;222m▰▰▰▰▰▱▱\u001b[0m \u001b[33m0:00:04\u001b[0m\n" + }, + "metadata": {}, + "output_type": "display_data" + } + ] + } + }, + "147a5bd97280413eb9faa3058cb97d07": { + "model_module": "@jupyter-widgets/output", + "model_module_version": "1.0.0", + "model_name": "OutputModel", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/output", + "_model_module_version": "1.0.0", + "_model_name": "OutputModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/output", + "_view_module_version": "1.0.0", + "_view_name": "OutputView", + "layout": "IPY_MODEL_87d7d473913245e685ca190c5fd19afd", + "msg_id": "", + "outputs": [ + { + "data": { + "text/html": "
GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/gameofthrones/vertex_collection/Characters.json ▰▰▰… 0:0…\n
\n", + "text/plain": "GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/gameofthrones/vertex_collection/Characters.json \u001b[38;2;91;192;222m▰▰▰…\u001b[0m \u001b[33m0:0…\u001b[0m\n" + }, + "metadata": {}, + "output_type": "display_data" + } + ] + } + }, + "14fc56900a6d4df99016f3473c6e0676": { + "model_module": "@jupyter-widgets/output", + "model_module_version": "1.0.0", + "model_name": "OutputModel", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/output", + "_model_module_version": "1.0.0", + "_model_name": "OutputModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/output", + "_view_module_version": "1.0.0", + "_view_name": "OutputView", + "layout": "IPY_MODEL_4e7914d83ed64042b3998f915e6d829b", + "msg_id": "", + "outputs": [ + { + "data": { + "text/html": "
GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/edge_collection/inCountry.json ▰▰… 0:0…\n
\n", + "text/plain": "GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/edge_collection/inCountry.json \u001b[38;2;91;192;222m▰▰…\u001b[0m \u001b[33m0:0…\u001b[0m\n" + }, + "metadata": {}, + "output_type": "display_data" + } + ] + } + }, + "1929aaf08f4544edba0a08b91a489ce3": { "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", "model_module_version": "1.2.0", + "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", @@ -6190,10 +6325,37 @@ "width": null } }, - "147a5bd97280413eb9faa3058cb97d07": { + "1a72b4fda58948e0a2eb71bdc719a9ec": { "model_module": "@jupyter-widgets/output", + "model_module_version": "1.0.0", "model_name": "OutputModel", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/output", + "_model_module_version": "1.0.0", + "_model_name": "OutputModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/output", + "_view_module_version": "1.0.0", + "_view_name": "OutputView", + "layout": "IPY_MODEL_731201f02f5c4472816523f311a5bbbd", + "msg_id": "", + "outputs": [ + { + "data": { + "text/html": "
GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/edge_collection/hasLocation.json ▰… 0:…\n
\n", + "text/plain": "GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/edge_collection/hasLocation.json \u001b[38;2;91;192;222m▰…\u001b[0m \u001b[33m0:…\u001b[0m\n" + }, + "metadata": {}, + "output_type": "display_data" + } + ] + } + }, + "1d1314830fc8414aab37de559cae3a7e": { + "model_module": "@jupyter-widgets/output", "model_module_version": "1.0.0", + "model_name": "OutputModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/output", @@ -6203,24 +6365,105 @@ "_view_module": "@jupyter-widgets/output", "_view_module_version": "1.0.0", "_view_name": "OutputView", - "layout": "IPY_MODEL_87d7d473913245e685ca190c5fd19afd", + "layout": "IPY_MODEL_2204c3cd02fb44a8893193aa436ce237", "msg_id": "", "outputs": [ { - "output_type": "display_data", "data": { - "text/plain": "GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/gameofthrones/vertex_collection/Characters.json \u001b[38;2;91;192;222m▰▰▰…\u001b[0m \u001b[33m0:0…\u001b[0m\n", - "text/html": "
GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/gameofthrones/vertex_collection/Characters.json ▰▰▰… 0:0…\n
\n" + "text/html": "
Collection: Source ▰▰▰▱▱▱▱ 0:00:00\n
\n", + "text/plain": "Collection: Source \u001b[38;2;91;192;222m▰▰▰▱▱▱▱\u001b[0m \u001b[33m0:00:00\u001b[0m\n" }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" } ] } }, - "87d7d473913245e685ca190c5fd19afd": { + "1e2cac77fa2e43afb98d6d9bde57741b": { + "model_module": "@jupyter-widgets/output", + "model_module_version": "1.0.0", + "model_name": "OutputModel", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/output", + "_model_module_version": "1.0.0", + "_model_name": "OutputModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/output", + "_view_module_version": "1.0.0", + "_view_name": "OutputView", + "layout": "IPY_MODEL_830a7c760c3a43ee8ee40c1e06798a14", + "msg_id": "", + "outputs": [ + { + "data": { + "text/html": "
Collection: Class ▰▱▱▱▱▱▱ 0:00:00\n
\n", + "text/plain": "Collection: Class \u001b[38;2;91;192;222m▰▱▱▱▱▱▱\u001b[0m \u001b[33m0:00:00\u001b[0m\n" + }, + "metadata": {}, + "output_type": "display_data" + } + ] + } + }, + "20d76c9bdcfd4cbebd03b49b2265fa15": { + "model_module": "@jupyter-widgets/output", + "model_module_version": "1.0.0", + "model_name": "OutputModel", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/output", + "_model_module_version": "1.0.0", + "_model_name": "OutputModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/output", + "_view_module_version": "1.0.0", + "_view_name": "OutputView", + "layout": "IPY_MODEL_54da99ce57ce418bae748462b7f75097", + "msg_id": "", + "outputs": [ + { + "data": { + "text/html": "
GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/edge_collection/subClass.json ▰▰▱… 0:0…\n
\n", + "text/plain": "GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/edge_collection/subClass.json \u001b[38;2;91;192;222m▰▰▱…\u001b[0m \u001b[33m0:0…\u001b[0m\n" + }, + "metadata": {}, + "output_type": "display_data" + } + ] + } + }, + "21cf9ccaa27f46bfa338e8e763e93fff": { + "model_module": "@jupyter-widgets/output", + "model_module_version": "1.0.0", + "model_name": "OutputModel", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/output", + "_model_module_version": "1.0.0", + "_model_name": "OutputModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/output", + "_view_module_version": "1.0.0", + "_view_name": "OutputView", + "layout": "IPY_MODEL_3cda846de799490fa17347b6df055779", + "msg_id": "", + "outputs": [ + { + "data": { + "text/html": "
Collection: inRegion ▰▱▱▱▱▱▱ 0:00:00\n
\n", + "text/plain": "Collection: inRegion \u001b[38;2;91;192;222m▰▱▱▱▱▱▱\u001b[0m \u001b[33m0:00:00\u001b[0m\n" + }, + "metadata": {}, + "output_type": "display_data" + } + ] + } + }, + "2204c3cd02fb44a8893193aa436ce237": { "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", "model_module_version": "1.2.0", + "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", @@ -6269,37 +6512,10 @@ "width": null } }, - "9c719713b7f84b5bbc9c3b93ae018025": { - "model_module": "@jupyter-widgets/output", - "model_name": "OutputModel", - "model_module_version": "1.0.0", - "state": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/output", - "_model_module_version": "1.0.0", - "_model_name": "OutputModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/output", - "_view_module_version": "1.0.0", - "_view_name": "OutputView", - "layout": "IPY_MODEL_ade3d0b0a6de40ce83e27e7385cf728d", - "msg_id": "", - "outputs": [ - { - "output_type": "display_data", - "data": { - "text/plain": "Collection: Characters \u001b[38;2;91;192;222m▰▱▱▱▱▱▱\u001b[0m \u001b[33m0:00:00\u001b[0m\n", - "text/html": "
Collection: Characters ▰▱▱▱▱▱▱ 0:00:00\n
\n" - }, - "metadata": {} - } - ] - } - }, - "ade3d0b0a6de40ce83e27e7385cf728d": { + "287733dd66da40ccbc7933737b98e7c7": { "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", "model_module_version": "1.2.0", + "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", @@ -6348,10 +6564,91 @@ "width": null } }, - "e75b133f77c440c3a5fd22971d759f5e": { + "2cb2acb201a04ec89f524003e4bf86d0": { + "model_module": "@jupyter-widgets/output", + "model_module_version": "1.0.0", + "model_name": "OutputModel", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/output", + "_model_module_version": "1.0.0", + "_model_name": "OutputModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/output", + "_view_module_version": "1.0.0", + "_view_name": "OutputView", + "layout": "IPY_MODEL_8dd40f435d1749e2be2cd59527d144d8", + "msg_id": "", + "outputs": [ + { + "data": { + "text/html": "
GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/vertex_collection/Source.json ▰▰▰… 0:0…\n
\n", + "text/plain": "GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/vertex_collection/Source.json \u001b[38;2;91;192;222m▰▰▰…\u001b[0m \u001b[33m0:0…\u001b[0m\n" + }, + "metadata": {}, + "output_type": "display_data" + } + ] + } + }, + "2e28383458f6415bb6726ba7a340b727": { + "model_module": "@jupyter-widgets/output", + "model_module_version": "1.0.0", + "model_name": "OutputModel", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/output", + "_model_module_version": "1.0.0", + "_model_name": "OutputModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/output", + "_view_module_version": "1.0.0", + "_view_name": "OutputView", + "layout": "IPY_MODEL_bd5d1c41edac4817a435116142b6993f", + "msg_id": "", + "outputs": [ + { + "data": { + "text/html": "
GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/edge_collection/type.json ▰▰▱▱▱… 0:00:…\n
\n", + "text/plain": "GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/edge_collection/type.json \u001b[38;2;91;192;222m▰▰▱▱▱…\u001b[0m \u001b[33m0:00:…\u001b[0m\n" + }, + "metadata": {}, + "output_type": "display_data" + } + ] + } + }, + "316e150ba0c24fc5bdd4d447c994be7d": { + "model_module": "@jupyter-widgets/output", + "model_module_version": "1.0.0", + "model_name": "OutputModel", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/output", + "_model_module_version": "1.0.0", + "_model_name": "OutputModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/output", + "_view_module_version": "1.0.0", + "_view_name": "OutputView", + "layout": "IPY_MODEL_4083fa5e3357412880cde9e48023539a", + "msg_id": "", + "outputs": [ + { + "data": { + "text/html": "
Collection: ChildOf ▰▱▱▱▱▱▱ 0:00:00\n
\n", + "text/plain": "Collection: ChildOf \u001b[38;2;91;192;222m▰▱▱▱▱▱▱\u001b[0m \u001b[33m0:00:00\u001b[0m\n" + }, + "metadata": {}, + "output_type": "display_data" + } + ] + } + }, + "33dc2087089d47888368b9d5a08e8065": { "model_module": "@jupyter-widgets/output", - "model_name": "OutputModel", "model_module_version": "1.0.0", + "model_name": "OutputModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/output", @@ -6361,24 +6658,24 @@ "_view_module": "@jupyter-widgets/output", "_view_module_version": "1.0.0", "_view_name": "OutputView", - "layout": "IPY_MODEL_47d55e09f93f4adab47035b886f77e72", + "layout": "IPY_MODEL_287733dd66da40ccbc7933737b98e7c7", "msg_id": "", "outputs": [ { - "output_type": "display_data", "data": { - "text/plain": "GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/gameofthrones/edge_collection/ChildOf.json \u001b[38;2;91;192;222m▰▰▰▱▱…\u001b[0m \u001b[33m0:00:00\u001b[0m\n", - "text/html": "
GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/gameofthrones/edge_collection/ChildOf.json ▰▰▰▱▱… 0:00:00\n
\n" + "text/html": "
Collection: subClass ▰▱▱▱▱▱▱ 0:00:00\n
\n", + "text/plain": "Collection: subClass \u001b[38;2;91;192;222m▰▱▱▱▱▱▱\u001b[0m \u001b[33m0:00:00\u001b[0m\n" }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" } ] } }, - "47d55e09f93f4adab47035b886f77e72": { + "35dcc210e7df45b0aea55852fcf02466": { "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", "model_module_version": "1.2.0", + "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", @@ -6427,37 +6724,10 @@ "width": null } }, - "316e150ba0c24fc5bdd4d447c994be7d": { - "model_module": "@jupyter-widgets/output", - "model_name": "OutputModel", - "model_module_version": "1.0.0", - "state": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/output", - "_model_module_version": "1.0.0", - "_model_name": "OutputModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/output", - "_view_module_version": "1.0.0", - "_view_name": "OutputView", - "layout": "IPY_MODEL_4083fa5e3357412880cde9e48023539a", - "msg_id": "", - "outputs": [ - { - "output_type": "display_data", - "data": { - "text/plain": "Collection: ChildOf \u001b[38;2;91;192;222m▰▱▱▱▱▱▱\u001b[0m \u001b[33m0:00:00\u001b[0m\n", - "text/html": "
Collection: ChildOf ▰▱▱▱▱▱▱ 0:00:00\n
\n" - }, - "metadata": {} - } - ] - } - }, - "4083fa5e3357412880cde9e48023539a": { + "36da2525b19847e1addebd4a26b6979f": { "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", "model_module_version": "1.2.0", + "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", @@ -6506,37 +6776,10 @@ "width": null } }, - "787cd3d8813d4515ad7e138aaa49ff8c": { - "model_module": "@jupyter-widgets/output", - "model_name": "OutputModel", - "model_module_version": "1.0.0", - "state": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/output", - "_model_module_version": "1.0.0", - "_model_name": "OutputModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/output", - "_view_module_version": "1.0.0", - "_view_name": "OutputView", - "layout": "IPY_MODEL_3afc205fe9b840258b7b0656665551b1", - "msg_id": "", - "outputs": [ - { - "output_type": "display_data", - "data": { - "text/plain": "GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/root_metadata.json \u001b[38;2;91;192;222m▰▰▰▱▱▱▱\u001b[0m \u001b[33m0:00:00\u001b[0m\n", - "text/html": "
GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/root_metadata.json ▰▰▰▱▱▱▱ 0:00:00\n
\n" - }, - "metadata": {} - } - ] - } - }, - "3afc205fe9b840258b7b0656665551b1": { + "38c9a48129e24829a96d566785a6688c": { "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", "model_module_version": "1.2.0", + "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", @@ -6585,37 +6828,10 @@ "width": null } }, - "01ecb9afdf5e4f1d86a62d600c621401": { - "model_module": "@jupyter-widgets/output", - "model_name": "OutputModel", - "model_module_version": "1.0.0", - "state": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/output", - "_model_module_version": "1.0.0", - "_model_name": "OutputModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/output", - "_view_module_version": "1.0.0", - "_view_name": "OutputView", - "layout": "IPY_MODEL_b04d48b009814255bec75e8815e9b8b2", - "msg_id": "", - "outputs": [ - { - "output_type": "display_data", - "data": { - "text/plain": "GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/vertex_collection/Actor.json \u001b[38;2;91;192;222m▰▰▰…\u001b[0m \u001b[33m0:00…\u001b[0m\n", - "text/html": "
GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/vertex_collection/Actor.json ▰▰▰… 0:00…\n
\n" - }, - "metadata": {} - } - ] - } - }, - "b04d48b009814255bec75e8815e9b8b2": { + "3afc205fe9b840258b7b0656665551b1": { "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", "model_module_version": "1.2.0", + "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", @@ -6664,37 +6880,10 @@ "width": null } }, - "dfc2dccaaf704fc8ab98d084161f8d6f": { - "model_module": "@jupyter-widgets/output", - "model_name": "OutputModel", - "model_module_version": "1.0.0", - "state": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/output", - "_model_module_version": "1.0.0", - "_model_name": "OutputModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/output", - "_view_module_version": "1.0.0", - "_view_name": "OutputView", - "layout": "IPY_MODEL_35dcc210e7df45b0aea55852fcf02466", - "msg_id": "", - "outputs": [ - { - "output_type": "display_data", - "data": { - "text/plain": "Collection: Actor \u001b[38;2;91;192;222m▰▰▱▱▱▱▱\u001b[0m \u001b[33m0:00:00\u001b[0m\n", - "text/html": "
Collection: Actor ▰▰▱▱▱▱▱ 0:00:00\n
\n" - }, - "metadata": {} - } - ] - } - }, - "35dcc210e7df45b0aea55852fcf02466": { + "3cda846de799490fa17347b6df055779": { "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", "model_module_version": "1.2.0", + "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", @@ -6743,10 +6932,10 @@ "width": null } }, - "c0298c61e6564c70900ed485a332f104": { + "3fd66aca0de4489788c231af73a8dc9f": { "model_module": "@jupyter-widgets/output", - "model_name": "OutputModel", "model_module_version": "1.0.0", + "model_name": "OutputModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/output", @@ -6756,24 +6945,24 @@ "_view_module": "@jupyter-widgets/output", "_view_module_version": "1.0.0", "_view_name": "OutputView", - "layout": "IPY_MODEL_ce7a6a346cac4456aaad509590b84445", + "layout": "IPY_MODEL_bf1f854832fe4ddabaea0090c9bf1916", "msg_id": "", "outputs": [ { - "output_type": "display_data", "data": { - "text/plain": "GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/vertex_collection/Class.json \u001b[38;2;91;192;222m▰▰▰…\u001b[0m \u001b[33m0:00…\u001b[0m\n", - "text/html": "
GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/vertex_collection/Class.json ▰▰▰… 0:00…\n
\n" + "text/html": "
Collection: Location ▰▰▰▰▰▰▱ 0:00:00\n
\n", + "text/plain": "Collection: Location \u001b[38;2;91;192;222m▰▰▰▰▰▰▱\u001b[0m \u001b[33m0:00:00\u001b[0m\n" }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" } ] } }, - "ce7a6a346cac4456aaad509590b84445": { + "4083fa5e3357412880cde9e48023539a": { "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", "model_module_version": "1.2.0", + "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", @@ -6822,10 +7011,10 @@ "width": null } }, - "1e2cac77fa2e43afb98d6d9bde57741b": { + "443b07aa182d4fa08755353991442776": { "model_module": "@jupyter-widgets/output", - "model_name": "OutputModel", "model_module_version": "1.0.0", + "model_name": "OutputModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/output", @@ -6835,24 +7024,24 @@ "_view_module": "@jupyter-widgets/output", "_view_module_version": "1.0.0", "_view_name": "OutputView", - "layout": "IPY_MODEL_830a7c760c3a43ee8ee40c1e06798a14", + "layout": "IPY_MODEL_a43fd065c67041a183df402874c30020", "msg_id": "", "outputs": [ { - "output_type": "display_data", "data": { - "text/plain": "Collection: Class \u001b[38;2;91;192;222m▰▱▱▱▱▱▱\u001b[0m \u001b[33m0:00:00\u001b[0m\n", - "text/html": "
Collection: Class ▰▱▱▱▱▱▱ 0:00:00\n
\n" + "text/html": "
GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/vertex_collection/Region.json ▰▰▱… 0:0…\n
\n", + "text/plain": "GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/vertex_collection/Region.json \u001b[38;2;91;192;222m▰▰▱…\u001b[0m \u001b[33m0:0…\u001b[0m\n" }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" } ] } }, - "830a7c760c3a43ee8ee40c1e06798a14": { + "47d55e09f93f4adab47035b886f77e72": { "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", "model_module_version": "1.2.0", + "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", @@ -6901,10 +7090,37 @@ "width": null } }, - "6c719cccc182418b9060b951bf88fd2b": { + "48f34d7821774273bcc072e2168344fb": { "model_module": "@jupyter-widgets/output", + "model_module_version": "1.0.0", "model_name": "OutputModel", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/output", + "_model_module_version": "1.0.0", + "_model_name": "OutputModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/output", + "_view_module_version": "1.0.0", + "_view_name": "OutputView", + "layout": "IPY_MODEL_36da2525b19847e1addebd4a26b6979f", + "msg_id": "", + "outputs": [ + { + "data": { + "text/html": "
Collection: Region ▰▱▱▱▱▱▱ 0:00:00\n
\n", + "text/plain": "Collection: Region \u001b[38;2;91;192;222m▰▱▱▱▱▱▱\u001b[0m \u001b[33m0:00:00\u001b[0m\n" + }, + "metadata": {}, + "output_type": "display_data" + } + ] + } + }, + "4ab7df5989f445dabe4657d07f7b97b9": { + "model_module": "@jupyter-widgets/output", "model_module_version": "1.0.0", + "model_name": "OutputModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/output", @@ -6914,24 +7130,24 @@ "_view_module": "@jupyter-widgets/output", "_view_module_version": "1.0.0", "_view_name": "OutputView", - "layout": "IPY_MODEL_7a8655bc8c3b46fc9a2909cf670e9064", + "layout": "IPY_MODEL_bd9d20ef71c24856889a0e876754e627", "msg_id": "", "outputs": [ { - "output_type": "display_data", "data": { - "text/plain": "GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/vertex_collection/Country.json \u001b[38;2;91;192;222m▰▰…\u001b[0m \u001b[33m0:0…\u001b[0m\n", - "text/html": "
GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/vertex_collection/Country.json ▰▰… 0:0…\n
\n" + "text/html": "
Collection: Event ▰▰▰▰▰▰▱ 0:00:04\n
\n", + "text/plain": "Collection: Event \u001b[38;2;91;192;222m▰▰▰▰▰▰▱\u001b[0m \u001b[33m0:00:04\u001b[0m\n" }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" } ] } }, - "7a8655bc8c3b46fc9a2909cf670e9064": { + "4d3c7dbf69da4fb499307835431b6a09": { "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", "model_module_version": "1.2.0", + "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", @@ -6980,37 +7196,10 @@ "width": null } }, - "a9245b5e66fc4c808bb3beec6c3a99f8": { - "model_module": "@jupyter-widgets/output", - "model_name": "OutputModel", - "model_module_version": "1.0.0", - "state": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/output", - "_model_module_version": "1.0.0", - "_model_name": "OutputModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/output", - "_view_module_version": "1.0.0", - "_view_name": "OutputView", - "layout": "IPY_MODEL_38c9a48129e24829a96d566785a6688c", - "msg_id": "", - "outputs": [ - { - "output_type": "display_data", - "data": { - "text/plain": "Collection: Country \u001b[38;2;91;192;222m▰▱▱▱▱▱▱\u001b[0m \u001b[33m0:00:00\u001b[0m\n", - "text/html": "
Collection: Country ▰▱▱▱▱▱▱ 0:00:00\n
\n" - }, - "metadata": {} - } - ] - } - }, - "38c9a48129e24829a96d566785a6688c": { + "4e7914d83ed64042b3998f915e6d829b": { "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", "model_module_version": "1.2.0", + "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", @@ -7059,37 +7248,10 @@ "width": null } }, - "0df0198bad8341e0b017d0a5039d6094": { - "model_module": "@jupyter-widgets/output", - "model_name": "OutputModel", - "model_module_version": "1.0.0", - "state": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/output", - "_model_module_version": "1.0.0", - "_model_name": "OutputModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/output", - "_view_module_version": "1.0.0", - "_view_name": "OutputView", - "layout": "IPY_MODEL_6a6ca17c07f94dcab0bc3853e3e25e3e", - "msg_id": "", - "outputs": [ - { - "output_type": "display_data", - "data": { - "text/plain": "GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/vertex_collection/Event.json \u001b[38;2;91;192;222m▰▱▱…\u001b[0m \u001b[33m0:00…\u001b[0m\n", - "text/html": "
GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/vertex_collection/Event.json ▰▱▱… 0:00…\n
\n" - }, - "metadata": {} - } - ] - } - }, - "6a6ca17c07f94dcab0bc3853e3e25e3e": { + "54da99ce57ce418bae748462b7f75097": { "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", "model_module_version": "1.2.0", + "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", @@ -7138,10 +7300,10 @@ "width": null } }, - "4ab7df5989f445dabe4657d07f7b97b9": { + "5f528fd15f944d44acf9df355dd3f585": { "model_module": "@jupyter-widgets/output", - "model_name": "OutputModel", "model_module_version": "1.0.0", + "model_name": "OutputModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/output", @@ -7151,24 +7313,24 @@ "_view_module": "@jupyter-widgets/output", "_view_module_version": "1.0.0", "_view_name": "OutputView", - "layout": "IPY_MODEL_bd9d20ef71c24856889a0e876754e627", + "layout": "IPY_MODEL_e19611b67f1248e7935fb7943fc79dc2", "msg_id": "", "outputs": [ { - "output_type": "display_data", "data": { - "text/plain": "Collection: Event \u001b[38;2;91;192;222m▰▰▰▰▰▰▱\u001b[0m \u001b[33m0:00:04\u001b[0m\n", - "text/html": "
Collection: Event ▰▰▰▰▰▰▱ 0:00:04\n
\n" + "text/html": "
Collection: type ▰▰▰▰▱▱▱ 0:00:04\n
\n", + "text/plain": "Collection: type \u001b[38;2;91;192;222m▰▰▰▰▱▱▱\u001b[0m \u001b[33m0:00:04\u001b[0m\n" }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" } ] } }, - "bd9d20ef71c24856889a0e876754e627": { + "6072ffb0bfc9471ba8227137be406b1b": { "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", "model_module_version": "1.2.0", + "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", @@ -7217,37 +7379,10 @@ "width": null } }, - "d714f473459c4087aca075d7e41b0361": { - "model_module": "@jupyter-widgets/output", - "model_name": "OutputModel", - "model_module_version": "1.0.0", - "state": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/output", - "_model_module_version": "1.0.0", - "_model_name": "OutputModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/output", - "_view_module_version": "1.0.0", - "_view_name": "OutputView", - "layout": "IPY_MODEL_65ec933ff80e445d9faefe0b6de2794e", - "msg_id": "", - "outputs": [ - { - "output_type": "display_data", - "data": { - "text/plain": "GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/vertex_collection/Location.json \u001b[38;2;91;192;222m▰…\u001b[0m \u001b[33m0:0…\u001b[0m\n", - "text/html": "
GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/vertex_collection/Location.json ▰… 0:0…\n
\n" - }, - "metadata": {} - } - ] - } - }, "65ec933ff80e445d9faefe0b6de2794e": { "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", "model_module_version": "1.2.0", + "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", @@ -7296,37 +7431,10 @@ "width": null } }, - "3fd66aca0de4489788c231af73a8dc9f": { - "model_module": "@jupyter-widgets/output", - "model_name": "OutputModel", - "model_module_version": "1.0.0", - "state": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/output", - "_model_module_version": "1.0.0", - "_model_name": "OutputModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/output", - "_view_module_version": "1.0.0", - "_view_name": "OutputView", - "layout": "IPY_MODEL_bf1f854832fe4ddabaea0090c9bf1916", - "msg_id": "", - "outputs": [ - { - "output_type": "display_data", - "data": { - "text/plain": "Collection: Location \u001b[38;2;91;192;222m▰▰▰▰▰▰▱\u001b[0m \u001b[33m0:00:00\u001b[0m\n", - "text/html": "
Collection: Location ▰▰▰▰▰▰▱ 0:00:00\n
\n" - }, - "metadata": {} - } - ] - } - }, - "bf1f854832fe4ddabaea0090c9bf1916": { + "6a6ca17c07f94dcab0bc3853e3e25e3e": { "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", "model_module_version": "1.2.0", + "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", @@ -7375,10 +7483,37 @@ "width": null } }, - "443b07aa182d4fa08755353991442776": { + "6c719cccc182418b9060b951bf88fd2b": { "model_module": "@jupyter-widgets/output", + "model_module_version": "1.0.0", "model_name": "OutputModel", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/output", + "_model_module_version": "1.0.0", + "_model_name": "OutputModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/output", + "_view_module_version": "1.0.0", + "_view_name": "OutputView", + "layout": "IPY_MODEL_7a8655bc8c3b46fc9a2909cf670e9064", + "msg_id": "", + "outputs": [ + { + "data": { + "text/html": "
GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/vertex_collection/Country.json ▰▰… 0:0…\n
\n", + "text/plain": "GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/vertex_collection/Country.json \u001b[38;2;91;192;222m▰▰…\u001b[0m \u001b[33m0:0…\u001b[0m\n" + }, + "metadata": {}, + "output_type": "display_data" + } + ] + } + }, + "6edea384a5d84339a997485ee48ee4b3": { + "model_module": "@jupyter-widgets/output", "model_module_version": "1.0.0", + "model_name": "OutputModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/output", @@ -7388,24 +7523,51 @@ "_view_module": "@jupyter-widgets/output", "_view_module_version": "1.0.0", "_view_name": "OutputView", - "layout": "IPY_MODEL_a43fd065c67041a183df402874c30020", + "layout": "IPY_MODEL_6072ffb0bfc9471ba8227137be406b1b", "msg_id": "", "outputs": [ { - "output_type": "display_data", "data": { - "text/plain": "GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/vertex_collection/Region.json \u001b[38;2;91;192;222m▰▰▱…\u001b[0m \u001b[33m0:0…\u001b[0m\n", - "text/html": "
GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/vertex_collection/Region.json ▰▰▱… 0:0…\n
\n" + "text/html": "
Collection: hasLocation ▰▰▰▰▱▱▱ 0:00:04\n
\n", + "text/plain": "Collection: hasLocation \u001b[38;2;91;192;222m▰▰▰▰▱▱▱\u001b[0m \u001b[33m0:00:04\u001b[0m\n" }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" } ] } }, - "a43fd065c67041a183df402874c30020": { + "70ee96c8ef3c45aa98219904eb3b9fe3": { + "model_module": "@jupyter-widgets/output", + "model_module_version": "1.0.0", + "model_name": "OutputModel", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/output", + "_model_module_version": "1.0.0", + "_model_name": "OutputModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/output", + "_view_module_version": "1.0.0", + "_view_name": "OutputView", + "layout": "IPY_MODEL_eddd34db2d804dcf8bec541202e00305", + "msg_id": "", + "outputs": [ + { + "data": { + "text/html": "
GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/root_metadata.json ▰▰▱▱▱▱▱ 0:00:00\n
\n", + "text/plain": "GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/root_metadata.json \u001b[38;2;91;192;222m▰▰▱▱▱▱▱\u001b[0m \u001b[33m0:00:00\u001b[0m\n" + }, + "metadata": {}, + "output_type": "display_data" + } + ] + } + }, + "731201f02f5c4472816523f311a5bbbd": { "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", "model_module_version": "1.2.0", + "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", @@ -7454,10 +7616,10 @@ "width": null } }, - "48f34d7821774273bcc072e2168344fb": { + "787cd3d8813d4515ad7e138aaa49ff8c": { "model_module": "@jupyter-widgets/output", - "model_name": "OutputModel", "model_module_version": "1.0.0", + "model_name": "OutputModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/output", @@ -7467,24 +7629,24 @@ "_view_module": "@jupyter-widgets/output", "_view_module_version": "1.0.0", "_view_name": "OutputView", - "layout": "IPY_MODEL_36da2525b19847e1addebd4a26b6979f", + "layout": "IPY_MODEL_3afc205fe9b840258b7b0656665551b1", "msg_id": "", "outputs": [ { - "output_type": "display_data", "data": { - "text/plain": "Collection: Region \u001b[38;2;91;192;222m▰▱▱▱▱▱▱\u001b[0m \u001b[33m0:00:00\u001b[0m\n", - "text/html": "
Collection: Region ▰▱▱▱▱▱▱ 0:00:00\n
\n" + "text/html": "
GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/root_metadata.json ▰▰▰▱▱▱▱ 0:00:00\n
\n", + "text/plain": "GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/root_metadata.json \u001b[38;2;91;192;222m▰▰▰▱▱▱▱\u001b[0m \u001b[33m0:00:00\u001b[0m\n" }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" } ] } }, - "36da2525b19847e1addebd4a26b6979f": { + "7a8655bc8c3b46fc9a2909cf670e9064": { "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", "model_module_version": "1.2.0", + "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", @@ -7533,37 +7695,10 @@ "width": null } }, - "2cb2acb201a04ec89f524003e4bf86d0": { - "model_module": "@jupyter-widgets/output", - "model_name": "OutputModel", - "model_module_version": "1.0.0", - "state": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/output", - "_model_module_version": "1.0.0", - "_model_name": "OutputModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/output", - "_view_module_version": "1.0.0", - "_view_name": "OutputView", - "layout": "IPY_MODEL_8dd40f435d1749e2be2cd59527d144d8", - "msg_id": "", - "outputs": [ - { - "output_type": "display_data", - "data": { - "text/plain": "GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/vertex_collection/Source.json \u001b[38;2;91;192;222m▰▰▰…\u001b[0m \u001b[33m0:0…\u001b[0m\n", - "text/html": "
GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/vertex_collection/Source.json ▰▰▰… 0:0…\n
\n" - }, - "metadata": {} - } - ] - } - }, - "8dd40f435d1749e2be2cd59527d144d8": { + "830a7c760c3a43ee8ee40c1e06798a14": { "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", "model_module_version": "1.2.0", + "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", @@ -7612,37 +7747,10 @@ "width": null } }, - "1d1314830fc8414aab37de559cae3a7e": { - "model_module": "@jupyter-widgets/output", - "model_name": "OutputModel", - "model_module_version": "1.0.0", - "state": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/output", - "_model_module_version": "1.0.0", - "_model_name": "OutputModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/output", - "_view_module_version": "1.0.0", - "_view_name": "OutputView", - "layout": "IPY_MODEL_2204c3cd02fb44a8893193aa436ce237", - "msg_id": "", - "outputs": [ - { - "output_type": "display_data", - "data": { - "text/plain": "Collection: Source \u001b[38;2;91;192;222m▰▰▰▱▱▱▱\u001b[0m \u001b[33m0:00:00\u001b[0m\n", - "text/html": "
Collection: Source ▰▰▰▱▱▱▱ 0:00:00\n
\n" - }, - "metadata": {} - } - ] - } - }, - "2204c3cd02fb44a8893193aa436ce237": { + "87d7d473913245e685ca190c5fd19afd": { "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", "model_module_version": "1.2.0", + "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", @@ -7691,37 +7799,10 @@ "width": null } }, - "f9f2787c50c14a879c052ecc78cf48fc": { - "model_module": "@jupyter-widgets/output", - "model_name": "OutputModel", - "model_module_version": "1.0.0", - "state": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/output", - "_model_module_version": "1.0.0", - "_model_name": "OutputModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/output", - "_view_module_version": "1.0.0", - "_view_name": "OutputView", - "layout": "IPY_MODEL_1929aaf08f4544edba0a08b91a489ce3", - "msg_id": "", - "outputs": [ - { - "output_type": "display_data", - "data": { - "text/plain": "GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/edge_collection/eventActor.json \u001b[38;2;91;192;222m▰…\u001b[0m \u001b[33m0:0…\u001b[0m\n", - "text/html": "
GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/edge_collection/eventActor.json ▰… 0:0…\n
\n" - }, - "metadata": {} - } - ] - } - }, - "1929aaf08f4544edba0a08b91a489ce3": { + "8dd40f435d1749e2be2cd59527d144d8": { "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", "model_module_version": "1.2.0", + "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", @@ -7770,37 +7851,10 @@ "width": null } }, - "b0f8ee4fe5c446e4966dafe58d68dee2": { - "model_module": "@jupyter-widgets/output", - "model_name": "OutputModel", - "model_module_version": "1.0.0", - "state": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/output", - "_model_module_version": "1.0.0", - "_model_name": "OutputModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/output", - "_view_module_version": "1.0.0", - "_view_name": "OutputView", - "layout": "IPY_MODEL_ceec724abeee4fb898211f7bee085551", - "msg_id": "", - "outputs": [ - { - "output_type": "display_data", - "data": { - "text/plain": "Collection: eventActor \u001b[38;2;91;192;222m▰▰▱▱▱▱▱\u001b[0m \u001b[33m0:00:07\u001b[0m\n", - "text/html": "
Collection: eventActor ▰▰▱▱▱▱▱ 0:00:07\n
\n" - }, - "metadata": {} - } - ] - } - }, - "ceec724abeee4fb898211f7bee085551": { + "9af4fff0dbaa4cbdaed50a2d06859ad6": { "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", "model_module_version": "1.2.0", + "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", @@ -7849,10 +7903,10 @@ "width": null } }, - "1a72b4fda58948e0a2eb71bdc719a9ec": { + "9c719713b7f84b5bbc9c3b93ae018025": { "model_module": "@jupyter-widgets/output", - "model_name": "OutputModel", "model_module_version": "1.0.0", + "model_name": "OutputModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/output", @@ -7862,24 +7916,24 @@ "_view_module": "@jupyter-widgets/output", "_view_module_version": "1.0.0", "_view_name": "OutputView", - "layout": "IPY_MODEL_731201f02f5c4472816523f311a5bbbd", + "layout": "IPY_MODEL_ade3d0b0a6de40ce83e27e7385cf728d", "msg_id": "", "outputs": [ { - "output_type": "display_data", "data": { - "text/plain": "GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/edge_collection/hasLocation.json \u001b[38;2;91;192;222m▰…\u001b[0m \u001b[33m0:…\u001b[0m\n", - "text/html": "
GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/edge_collection/hasLocation.json ▰… 0:…\n
\n" + "text/html": "
Collection: Characters ▰▱▱▱▱▱▱ 0:00:00\n
\n", + "text/plain": "Collection: Characters \u001b[38;2;91;192;222m▰▱▱▱▱▱▱\u001b[0m \u001b[33m0:00:00\u001b[0m\n" }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" } ] } }, - "731201f02f5c4472816523f311a5bbbd": { + "a43fd065c67041a183df402874c30020": { "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", "model_module_version": "1.2.0", + "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", @@ -7928,10 +7982,10 @@ "width": null } }, - "6edea384a5d84339a997485ee48ee4b3": { + "a9245b5e66fc4c808bb3beec6c3a99f8": { "model_module": "@jupyter-widgets/output", - "model_name": "OutputModel", "model_module_version": "1.0.0", + "model_name": "OutputModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/output", @@ -7941,24 +7995,24 @@ "_view_module": "@jupyter-widgets/output", "_view_module_version": "1.0.0", "_view_name": "OutputView", - "layout": "IPY_MODEL_6072ffb0bfc9471ba8227137be406b1b", + "layout": "IPY_MODEL_38c9a48129e24829a96d566785a6688c", "msg_id": "", "outputs": [ { - "output_type": "display_data", "data": { - "text/plain": "Collection: hasLocation \u001b[38;2;91;192;222m▰▰▰▰▱▱▱\u001b[0m \u001b[33m0:00:04\u001b[0m\n", - "text/html": "
Collection: hasLocation ▰▰▰▰▱▱▱ 0:00:04\n
\n" + "text/html": "
Collection: Country ▰▱▱▱▱▱▱ 0:00:00\n
\n", + "text/plain": "Collection: Country \u001b[38;2;91;192;222m▰▱▱▱▱▱▱\u001b[0m \u001b[33m0:00:00\u001b[0m\n" }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" } ] } }, - "6072ffb0bfc9471ba8227137be406b1b": { + "ade3d0b0a6de40ce83e27e7385cf728d": { "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", "model_module_version": "1.2.0", + "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", @@ -8007,37 +8061,10 @@ "width": null } }, - "f25a84f15e3445e9b633df16055e3886": { - "model_module": "@jupyter-widgets/output", - "model_name": "OutputModel", - "model_module_version": "1.0.0", - "state": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/output", - "_model_module_version": "1.0.0", - "_model_name": "OutputModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/output", - "_view_module_version": "1.0.0", - "_view_name": "OutputView", - "layout": "IPY_MODEL_cdf1c5f8046c453b9a3357d363c36644", - "msg_id": "", - "outputs": [ - { - "output_type": "display_data", - "data": { - "text/plain": "GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/edge_collection/hasSource.json \u001b[38;2;91;192;222m▰▰…\u001b[0m \u001b[33m0:0…\u001b[0m\n", - "text/html": "
GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/edge_collection/hasSource.json ▰▰… 0:0…\n
\n" - }, - "metadata": {} - } - ] - } - }, - "cdf1c5f8046c453b9a3357d363c36644": { + "b04d48b009814255bec75e8815e9b8b2": { "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", "model_module_version": "1.2.0", + "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", @@ -8086,10 +8113,10 @@ "width": null } }, - "13d8b76a4c3f443ca0dee631fd3959b0": { + "b0f8ee4fe5c446e4966dafe58d68dee2": { "model_module": "@jupyter-widgets/output", - "model_name": "OutputModel", "model_module_version": "1.0.0", + "model_name": "OutputModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/output", @@ -8099,24 +8126,24 @@ "_view_module": "@jupyter-widgets/output", "_view_module_version": "1.0.0", "_view_name": "OutputView", - "layout": "IPY_MODEL_9af4fff0dbaa4cbdaed50a2d06859ad6", + "layout": "IPY_MODEL_ceec724abeee4fb898211f7bee085551", "msg_id": "", "outputs": [ { - "output_type": "display_data", "data": { - "text/plain": "Collection: hasSource \u001b[38;2;91;192;222m▰▰▰▰▰▱▱\u001b[0m \u001b[33m0:00:04\u001b[0m\n", - "text/html": "
Collection: hasSource ▰▰▰▰▰▱▱ 0:00:04\n
\n" + "text/html": "
Collection: eventActor ▰▰▱▱▱▱▱ 0:00:07\n
\n", + "text/plain": "Collection: eventActor \u001b[38;2;91;192;222m▰▰▱▱▱▱▱\u001b[0m \u001b[33m0:00:07\u001b[0m\n" }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" } ] } }, - "9af4fff0dbaa4cbdaed50a2d06859ad6": { + "bd5d1c41edac4817a435116142b6993f": { "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", "model_module_version": "1.2.0", + "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", @@ -8165,37 +8192,10 @@ "width": null } }, - "14fc56900a6d4df99016f3473c6e0676": { - "model_module": "@jupyter-widgets/output", - "model_name": "OutputModel", - "model_module_version": "1.0.0", - "state": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/output", - "_model_module_version": "1.0.0", - "_model_name": "OutputModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/output", - "_view_module_version": "1.0.0", - "_view_name": "OutputView", - "layout": "IPY_MODEL_4e7914d83ed64042b3998f915e6d829b", - "msg_id": "", - "outputs": [ - { - "output_type": "display_data", - "data": { - "text/plain": "GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/edge_collection/inCountry.json \u001b[38;2;91;192;222m▰▰…\u001b[0m \u001b[33m0:0…\u001b[0m\n", - "text/html": "
GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/edge_collection/inCountry.json ▰▰… 0:0…\n
\n" - }, - "metadata": {} - } - ] - } - }, - "4e7914d83ed64042b3998f915e6d829b": { + "bd9d20ef71c24856889a0e876754e627": { "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", "model_module_version": "1.2.0", + "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", @@ -8244,37 +8244,10 @@ "width": null } }, - "ffdc18c6a4d64e24886e8cd52efbb90f": { - "model_module": "@jupyter-widgets/output", - "model_name": "OutputModel", - "model_module_version": "1.0.0", - "state": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/output", - "_model_module_version": "1.0.0", - "_model_name": "OutputModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/output", - "_view_module_version": "1.0.0", - "_view_name": "OutputView", - "layout": "IPY_MODEL_e720851d72204e31b0cb1f95d8adb3f6", - "msg_id": "", - "outputs": [ - { - "output_type": "display_data", - "data": { - "text/plain": "Collection: inCountry \u001b[38;2;91;192;222m▰▱▱▱▱▱▱\u001b[0m \u001b[33m0:00:00\u001b[0m\n", - "text/html": "
Collection: inCountry ▰▱▱▱▱▱▱ 0:00:00\n
\n" - }, - "metadata": {} - } - ] - } - }, - "e720851d72204e31b0cb1f95d8adb3f6": { + "bf1f854832fe4ddabaea0090c9bf1916": { "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", "model_module_version": "1.2.0", + "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", @@ -8323,10 +8296,10 @@ "width": null } }, - "00bb413e3e8d4aa2ae5a6d22f161f9cf": { + "c0298c61e6564c70900ed485a332f104": { "model_module": "@jupyter-widgets/output", - "model_name": "OutputModel", "model_module_version": "1.0.0", + "model_name": "OutputModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/output", @@ -8336,24 +8309,24 @@ "_view_module": "@jupyter-widgets/output", "_view_module_version": "1.0.0", "_view_name": "OutputView", - "layout": "IPY_MODEL_4d3c7dbf69da4fb499307835431b6a09", + "layout": "IPY_MODEL_ce7a6a346cac4456aaad509590b84445", "msg_id": "", "outputs": [ { - "output_type": "display_data", "data": { - "text/plain": "GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/edge_collection/inRegion.json \u001b[38;2;91;192;222m▰▰▱…\u001b[0m \u001b[33m0:0…\u001b[0m\n", - "text/html": "
GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/edge_collection/inRegion.json ▰▰▱… 0:0…\n
\n" + "text/html": "
GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/vertex_collection/Class.json ▰▰▰… 0:00…\n
\n", + "text/plain": "GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/vertex_collection/Class.json \u001b[38;2;91;192;222m▰▰▰…\u001b[0m \u001b[33m0:00…\u001b[0m\n" }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" } ] } }, - "4d3c7dbf69da4fb499307835431b6a09": { + "cdf1c5f8046c453b9a3357d363c36644": { "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", "model_module_version": "1.2.0", + "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", @@ -8402,37 +8375,10 @@ "width": null } }, - "21cf9ccaa27f46bfa338e8e763e93fff": { - "model_module": "@jupyter-widgets/output", - "model_name": "OutputModel", - "model_module_version": "1.0.0", - "state": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/output", - "_model_module_version": "1.0.0", - "_model_name": "OutputModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/output", - "_view_module_version": "1.0.0", - "_view_name": "OutputView", - "layout": "IPY_MODEL_3cda846de799490fa17347b6df055779", - "msg_id": "", - "outputs": [ - { - "output_type": "display_data", - "data": { - "text/plain": "Collection: inRegion \u001b[38;2;91;192;222m▰▱▱▱▱▱▱\u001b[0m \u001b[33m0:00:00\u001b[0m\n", - "text/html": "
Collection: inRegion ▰▱▱▱▱▱▱ 0:00:00\n
\n" - }, - "metadata": {} - } - ] - } - }, - "3cda846de799490fa17347b6df055779": { + "ce7a6a346cac4456aaad509590b84445": { "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", "model_module_version": "1.2.0", + "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", @@ -8481,37 +8427,10 @@ "width": null } }, - "20d76c9bdcfd4cbebd03b49b2265fa15": { - "model_module": "@jupyter-widgets/output", - "model_name": "OutputModel", - "model_module_version": "1.0.0", - "state": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/output", - "_model_module_version": "1.0.0", - "_model_name": "OutputModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/output", - "_view_module_version": "1.0.0", - "_view_name": "OutputView", - "layout": "IPY_MODEL_54da99ce57ce418bae748462b7f75097", - "msg_id": "", - "outputs": [ - { - "output_type": "display_data", - "data": { - "text/plain": "GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/edge_collection/subClass.json \u001b[38;2;91;192;222m▰▰▱…\u001b[0m \u001b[33m0:0…\u001b[0m\n", - "text/html": "
GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/edge_collection/subClass.json ▰▰▱… 0:0…\n
\n" - }, - "metadata": {} - } - ] - } - }, - "54da99ce57ce418bae748462b7f75097": { + "ceec724abeee4fb898211f7bee085551": { "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", "model_module_version": "1.2.0", + "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", @@ -8560,10 +8479,37 @@ "width": null } }, - "33dc2087089d47888368b9d5a08e8065": { + "d714f473459c4087aca075d7e41b0361": { "model_module": "@jupyter-widgets/output", + "model_module_version": "1.0.0", "model_name": "OutputModel", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/output", + "_model_module_version": "1.0.0", + "_model_name": "OutputModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/output", + "_view_module_version": "1.0.0", + "_view_name": "OutputView", + "layout": "IPY_MODEL_65ec933ff80e445d9faefe0b6de2794e", + "msg_id": "", + "outputs": [ + { + "data": { + "text/html": "
GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/vertex_collection/Location.json ▰… 0:0…\n
\n", + "text/plain": "GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/vertex_collection/Location.json \u001b[38;2;91;192;222m▰…\u001b[0m \u001b[33m0:0…\u001b[0m\n" + }, + "metadata": {}, + "output_type": "display_data" + } + ] + } + }, + "dfc2dccaaf704fc8ab98d084161f8d6f": { + "model_module": "@jupyter-widgets/output", "model_module_version": "1.0.0", + "model_name": "OutputModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/output", @@ -8573,24 +8519,24 @@ "_view_module": "@jupyter-widgets/output", "_view_module_version": "1.0.0", "_view_name": "OutputView", - "layout": "IPY_MODEL_287733dd66da40ccbc7933737b98e7c7", + "layout": "IPY_MODEL_35dcc210e7df45b0aea55852fcf02466", "msg_id": "", "outputs": [ { - "output_type": "display_data", "data": { - "text/plain": "Collection: subClass \u001b[38;2;91;192;222m▰▱▱▱▱▱▱\u001b[0m \u001b[33m0:00:00\u001b[0m\n", - "text/html": "
Collection: subClass ▰▱▱▱▱▱▱ 0:00:00\n
\n" + "text/html": "
Collection: Actor ▰▰▱▱▱▱▱ 0:00:00\n
\n", + "text/plain": "Collection: Actor \u001b[38;2;91;192;222m▰▰▱▱▱▱▱\u001b[0m \u001b[33m0:00:00\u001b[0m\n" }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" } ] } }, - "287733dd66da40ccbc7933737b98e7c7": { + "e19611b67f1248e7935fb7943fc79dc2": { "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", "model_module_version": "1.2.0", + "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", @@ -8639,37 +8585,10 @@ "width": null } }, - "2e28383458f6415bb6726ba7a340b727": { - "model_module": "@jupyter-widgets/output", - "model_name": "OutputModel", - "model_module_version": "1.0.0", - "state": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/output", - "_model_module_version": "1.0.0", - "_model_name": "OutputModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/output", - "_view_module_version": "1.0.0", - "_view_name": "OutputView", - "layout": "IPY_MODEL_bd5d1c41edac4817a435116142b6993f", - "msg_id": "", - "outputs": [ - { - "output_type": "display_data", - "data": { - "text/plain": "GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/edge_collection/type.json \u001b[38;2;91;192;222m▰▰▱▱▱…\u001b[0m \u001b[33m0:00:…\u001b[0m\n", - "text/html": "
GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/edge_collection/type.json ▰▰▱▱▱… 0:00:…\n
\n" - }, - "metadata": {} - } - ] - } - }, - "bd5d1c41edac4817a435116142b6993f": { + "e720851d72204e31b0cb1f95d8adb3f6": { "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", "model_module_version": "1.2.0", + "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", @@ -8718,10 +8637,10 @@ "width": null } }, - "5f528fd15f944d44acf9df355dd3f585": { + "e75b133f77c440c3a5fd22971d759f5e": { "model_module": "@jupyter-widgets/output", - "model_name": "OutputModel", "model_module_version": "1.0.0", + "model_name": "OutputModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/output", @@ -8731,24 +8650,24 @@ "_view_module": "@jupyter-widgets/output", "_view_module_version": "1.0.0", "_view_name": "OutputView", - "layout": "IPY_MODEL_e19611b67f1248e7935fb7943fc79dc2", + "layout": "IPY_MODEL_47d55e09f93f4adab47035b886f77e72", "msg_id": "", "outputs": [ { - "output_type": "display_data", "data": { - "text/plain": "Collection: type \u001b[38;2;91;192;222m▰▰▰▰▱▱▱\u001b[0m \u001b[33m0:00:04\u001b[0m\n", - "text/html": "
Collection: type ▰▰▰▰▱▱▱ 0:00:04\n
\n" + "text/html": "
GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/gameofthrones/edge_collection/ChildOf.json ▰▰▰▱▱… 0:00:00\n
\n", + "text/plain": "GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/gameofthrones/edge_collection/ChildOf.json \u001b[38;2;91;192;222m▰▰▰▱▱…\u001b[0m \u001b[33m0:00:00\u001b[0m\n" }, - "metadata": {} + "metadata": {}, + "output_type": "display_data" } ] } }, - "e19611b67f1248e7935fb7943fc79dc2": { + "eddd34db2d804dcf8bec541202e00305": { "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", "model_module_version": "1.2.0", + "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", @@ -8796,10 +8715,91 @@ "visibility": null, "width": null } + }, + "f25a84f15e3445e9b633df16055e3886": { + "model_module": "@jupyter-widgets/output", + "model_module_version": "1.0.0", + "model_name": "OutputModel", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/output", + "_model_module_version": "1.0.0", + "_model_name": "OutputModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/output", + "_view_module_version": "1.0.0", + "_view_name": "OutputView", + "layout": "IPY_MODEL_cdf1c5f8046c453b9a3357d363c36644", + "msg_id": "", + "outputs": [ + { + "data": { + "text/html": "
GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/edge_collection/hasSource.json ▰▰… 0:0…\n
\n", + "text/plain": "GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/edge_collection/hasSource.json \u001b[38;2;91;192;222m▰▰…\u001b[0m \u001b[33m0:0…\u001b[0m\n" + }, + "metadata": {}, + "output_type": "display_data" + } + ] + } + }, + "f9f2787c50c14a879c052ecc78cf48fc": { + "model_module": "@jupyter-widgets/output", + "model_module_version": "1.0.0", + "model_name": "OutputModel", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/output", + "_model_module_version": "1.0.0", + "_model_name": "OutputModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/output", + "_view_module_version": "1.0.0", + "_view_name": "OutputView", + "layout": "IPY_MODEL_1929aaf08f4544edba0a08b91a489ce3", + "msg_id": "", + "outputs": [ + { + "data": { + "text/html": "
GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/edge_collection/eventActor.json ▰… 0:0…\n
\n", + "text/plain": "GET: https://arangodb-dataset-library-ml.s3.amazonaws.com/open_intelligence/edge_collection/eventActor.json \u001b[38;2;91;192;222m▰…\u001b[0m \u001b[33m0:0…\u001b[0m\n" + }, + "metadata": {}, + "output_type": "display_data" + } + ] + } + }, + "ffdc18c6a4d64e24886e8cd52efbb90f": { + "model_module": "@jupyter-widgets/output", + "model_module_version": "1.0.0", + "model_name": "OutputModel", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/output", + "_model_module_version": "1.0.0", + "_model_name": "OutputModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/output", + "_view_module_version": "1.0.0", + "_view_name": "OutputView", + "layout": "IPY_MODEL_e720851d72204e31b0cb1f95d8adb3f6", + "msg_id": "", + "outputs": [ + { + "data": { + "text/html": "
Collection: inCountry ▰▱▱▱▱▱▱ 0:00:00\n
\n", + "text/plain": "Collection: inCountry \u001b[38;2;91;192;222m▰▱▱▱▱▱▱\u001b[0m \u001b[33m0:00:00\u001b[0m\n" + }, + "metadata": {}, + "output_type": "display_data" + } + ] + } } } } }, "nbformat": 4, "nbformat_minor": 5 -} \ No newline at end of file +}