diff --git a/MyIA.AI.Notebooks/SymbolicAI/SymbolicLearning/SL-8-KnowledgeGraphs-ILP-Csharp.ipynb b/MyIA.AI.Notebooks/SymbolicAI/SymbolicLearning/SL-8-KnowledgeGraphs-ILP-Csharp.ipynb index 8bcf905781..eaed99e9c0 100644 --- a/MyIA.AI.Notebooks/SymbolicAI/SymbolicLearning/SL-8-KnowledgeGraphs-ILP-Csharp.ipynb +++ b/MyIA.AI.Notebooks/SymbolicAI/SymbolicLearning/SL-8-KnowledgeGraphs-ILP-Csharp.ipynb @@ -50,13 +50,128 @@ "id": "9f6c5e13", "metadata": { "execution": { - "iopub.execute_input": "2026-07-07T20:34:38.401218Z", - "iopub.status.busy": "2026-07-07T20:34:38.397218Z", - "iopub.status.idle": "2026-07-07T20:34:39.691953Z", - "shell.execute_reply": "2026-07-07T20:34:39.691382Z" + "iopub.execute_input": "2026-10-15T05:48:32.229408Z", + "iopub.status.busy": "2026-10-15T05:48:32.222462Z", + "iopub.status.idle": "2026-10-15T05:48:35.659460Z", + "shell.execute_reply": "2026-10-15T05:48:35.652073Z" } }, "outputs": [ + { + "data": { + "text/html": [ + "\r\n", + "
\r\n", + " \r\n", + " \r\n", + "
" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, { "data": { "text/html": [ @@ -108,10 +223,10 @@ "id": "617af7af", "metadata": { "execution": { - "iopub.execute_input": "2026-07-07T20:34:39.691953Z", - "iopub.status.busy": "2026-07-07T20:34:39.691953Z", - "iopub.status.idle": "2026-07-07T20:34:39.939052Z", - "shell.execute_reply": "2026-07-07T20:34:39.938053Z" + "iopub.execute_input": "2026-10-15T05:48:35.702940Z", + "iopub.status.busy": "2026-10-15T05:48:35.661049Z", + "iopub.status.idle": "2026-10-15T05:48:36.169115Z", + "shell.execute_reply": "2026-10-15T05:48:36.168918Z" } }, "outputs": [ @@ -256,10 +371,10 @@ "id": "3ae8ad58", "metadata": { "execution": { - "iopub.execute_input": "2026-07-07T20:34:39.940053Z", - "iopub.status.busy": "2026-07-07T20:34:39.940053Z", - "iopub.status.idle": "2026-07-07T20:34:40.138277Z", - "shell.execute_reply": "2026-07-07T20:34:40.138277Z" + "iopub.execute_input": "2026-10-15T05:48:36.170446Z", + "iopub.status.busy": "2026-10-15T05:48:36.170248Z", + "iopub.status.idle": "2026-10-15T05:48:36.490733Z", + "shell.execute_reply": "2026-10-15T05:48:36.490478Z" } }, "outputs": [ @@ -535,10 +650,10 @@ "id": "ceafedc4", "metadata": { "execution": { - "iopub.execute_input": "2026-07-07T20:34:40.138277Z", - "iopub.status.busy": "2026-07-07T20:34:40.138277Z", - "iopub.status.idle": "2026-07-07T20:34:40.214944Z", - "shell.execute_reply": "2026-07-07T20:34:40.214944Z" + "iopub.execute_input": "2026-10-15T05:48:36.492219Z", + "iopub.status.busy": "2026-10-15T05:48:36.492013Z", + "iopub.status.idle": "2026-10-15T05:48:36.723786Z", + "shell.execute_reply": "2026-10-15T05:48:36.723266Z" } }, "outputs": [ @@ -660,10 +775,10 @@ "id": "4221a27b", "metadata": { "execution": { - "iopub.execute_input": "2026-07-07T20:34:40.214944Z", - "iopub.status.busy": "2026-07-07T20:34:40.214944Z", - "iopub.status.idle": "2026-07-07T20:34:40.365756Z", - "shell.execute_reply": "2026-07-07T20:34:40.365756Z" + "iopub.execute_input": "2026-10-15T05:48:36.725629Z", + "iopub.status.busy": "2026-10-15T05:48:36.725384Z", + "iopub.status.idle": "2026-10-15T05:48:37.021397Z", + "shell.execute_reply": "2026-10-15T05:48:37.021252Z" } }, "outputs": [ @@ -814,10 +929,10 @@ "id": "106704b4", "metadata": { "execution": { - "iopub.execute_input": "2026-07-07T20:34:40.365756Z", - "iopub.status.busy": "2026-07-07T20:34:40.365756Z", - "iopub.status.idle": "2026-07-07T20:34:40.415020Z", - "shell.execute_reply": "2026-07-07T20:34:40.415020Z" + "iopub.execute_input": "2026-10-15T05:48:37.022659Z", + "iopub.status.busy": "2026-10-15T05:48:37.022498Z", + "iopub.status.idle": "2026-10-15T05:48:37.128463Z", + "shell.execute_reply": "2026-10-15T05:48:37.128276Z" } }, "outputs": [ @@ -958,10 +1073,10 @@ "id": "8d143f8c", "metadata": { "execution": { - "iopub.execute_input": "2026-07-07T20:34:40.415020Z", - "iopub.status.busy": "2026-07-07T20:34:40.415020Z", - "iopub.status.idle": "2026-07-07T20:34:40.467181Z", - "shell.execute_reply": "2026-07-07T20:34:40.467181Z" + "iopub.execute_input": "2026-10-15T05:48:37.129721Z", + "iopub.status.busy": "2026-10-15T05:48:37.129537Z", + "iopub.status.idle": "2026-10-15T05:48:37.260136Z", + "shell.execute_reply": "2026-10-15T05:48:37.259965Z" } }, "outputs": [ @@ -1073,10 +1188,10 @@ "id": "9fc192c8", "metadata": { "execution": { - "iopub.execute_input": "2026-07-07T20:34:40.468179Z", - "iopub.status.busy": "2026-07-07T20:34:40.468179Z", - "iopub.status.idle": "2026-07-07T20:34:40.555057Z", - "shell.execute_reply": "2026-07-07T20:34:40.555057Z" + "iopub.execute_input": "2026-10-15T05:48:37.261473Z", + "iopub.status.busy": "2026-10-15T05:48:37.261302Z", + "iopub.status.idle": "2026-10-15T05:48:37.520225Z", + "shell.execute_reply": "2026-10-15T05:48:37.520049Z" } }, "outputs": [ @@ -1275,18 +1390,10 @@ "text": [ " Julie\r\n" ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "\r\n", - "(1,133): warning CS8632: The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.\r\n", - "\r\n" - ] } ], "source": [ + "#nullable enable\n", "static void PrintFamilyTree(Dictionary> rels, string root, string indent = \"\", HashSet? visited = null)\n", "{\n", " visited ??= new HashSet();\n", @@ -1307,7 +1414,7 @@ "var allChildren = relations[\"parentOf\"].Select(p => p.o).ToHashSet();\n", "var roots = allEntities.Where(e => relations[\"parentOf\"].Any(p => p.s == e) && !allChildren.Contains(e)).OrderBy(x => x);\n", "foreach (var root in roots)\n", - " PrintFamilyTree(relations, root);" + " PrintFamilyTree(relations, root);\n" ] }, {