diff --git a/2024/lab9/Lab9 - RAG over KG.ipynb b/2024/lab9/Lab9 - RAG over KG.ipynb index 1200b35..ad10521 100644 --- a/2024/lab9/Lab9 - RAG over KG.ipynb +++ b/2024/lab9/Lab9 - RAG over KG.ipynb @@ -154,22 +154,7 @@ "\n", "SELECT ?uri ?predicate ?label ?type\n", "WHERE {\n", - " ?uri a ?type ;\n", - " ?predicate ?label .\n", - " FILTER (\n", - " ?type = owl:Class ||\n", - " ?type = owl:DatatypeProperty ||\n", - " ?type = owl:ObjectProperty\n", - " )\n", - " FILTER (\n", - " ?predicate = rdfs:label ||\n", - " ?predicate = skos:prefLabel ||\n", - " ?predicate = skos:altLabel ||\n", - " ?predicate = skos:definition ||\n", - " ?predicate = rdfs:comment ||\n", - " ?predicate = dcterms:description ||\n", - " ?predicate = dc:title\n", - " )\n", + " TODO\n", "}\"\"\"\n", "\n", "class OntologyLoader(BaseLoader):\n", @@ -215,31 +200,9 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "name": "stderr", - "output_type": "stream", - "text": [ - "\u001b[32m2024-03-17 11:02:48.072\u001b[0m | \u001b[33m\u001b[1mWARNING \u001b[0m | \u001b[36mfastembed.embedding\u001b[0m:\u001b[36m\u001b[0m:\u001b[36m7\u001b[0m - \u001b[33m\u001b[1mDefaultEmbedding, FlagEmbedding, JinaEmbedding are deprecated. Use TextEmbedding instead.\u001b[0m\n" - ] - }, - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "4e0eea67b54c477ea3fd7e5ecd8e7e45", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "Fetching 9 files: 0%| | 0/9 [00:00