From e3ef741277f90ad0851bf47f4dfb02f1b3fdc9a4 Mon Sep 17 00:00:00 2001
From: Christian Boulanger <info@bibliograph.org>
Date: Mon, 18 Mar 2024 09:15:12 +0100
Subject: [PATCH] Fix typo

---
 wikidata/data-extraction.ipynb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/wikidata/data-extraction.ipynb b/wikidata/data-extraction.ipynb
index 9f555d5..e7d23cd 100644
--- a/wikidata/data-extraction.ipynb
+++ b/wikidata/data-extraction.ipynb
@@ -211,7 +211,7 @@
    "source": [
     "## Manual correction\n",
     "\n",
-    "The data has now been downloaded to `data/<name>-chatgpt.csv`. It needs to be cleaned and augmented before upload, for example by loading it into OpenRefine and reconciling the `object` column via the  WikiData Reconciliation service. Afterward, remove the object-qid column and recreate it via the \"add column based on this column\" function using `ucell.recon.match.id` GREL expression. \n",
+    "The data has now been downloaded to `data/<name>-chatgpt.csv`. It needs to be cleaned and augmented before upload, for example by loading it into OpenRefine and reconciling the `object` column via the  WikiData Reconciliation service. Afterward, remove the object-qid column and recreate it via the \"add column based on this column\" function using `cell.recon.match.id` GREL expression. \n",
     "\n",
     "Otherwise, you can also just look up the terms and fill out the object-qid column manually. \n",
     "\n",
@@ -507,7 +507,7 @@
     "\n",
     "\n",
     "# main function\n",
-    "def update_wikidata(file_path):\n",
+    "def update_wikidata_from_csv(file_path):\n",
     "    site = Site(\"wikidata\", \"wikidata\")\n",
     "    repo = site.data_repository()\n",
     "\n",
@@ -559,7 +559,7 @@
     "            previous_object_qid = object_qid\n",
     "            previous_claim = claim\n",
     "\n",
-    "update_wikidata('data/Erhard Blankenburg.csv')"
+    "update_wikidata_from_csv('data/Erhard Blankenburg.csv')"
    ],
    "metadata": {
     "collapsed": false,
-- 
GitLab