From c9c63843a955d5b411e5cfe46d41779c76ac9f13 Mon Sep 17 00:00:00 2001
From: cboulanger <info@bibliograph.org>
Date: Sat, 9 Mar 2024 11:27:29 +0100
Subject: [PATCH] Fix wikipedia query

---
 wikidata/query-wikidata.ipynb | 188 +++++++++++++++++++++-------------
 wikidata/scholars.csv         |  37 +++----
 2 files changed, 136 insertions(+), 89 deletions(-)

diff --git a/wikidata/query-wikidata.ipynb b/wikidata/query-wikidata.ipynb
index 62233c8..56e087a 100644
--- a/wikidata/query-wikidata.ipynb
+++ b/wikidata/query-wikidata.ipynb
@@ -2,19 +2,20 @@
  "cells": [
   {
    "cell_type": "code",
-   "execution_count": 45,
+   "execution_count": 51,
    "id": "initial_id",
    "metadata": {
     "collapsed": true,
     "ExecuteTime": {
-     "end_time": "2024-03-06T15:11:09.869085700Z",
-     "start_time": "2024-03-06T15:11:09.839951600Z"
+     "end_time": "2024-03-09T10:11:18.347072Z",
+     "start_time": "2024-03-09T10:11:18.344958Z"
     }
    },
    "outputs": [],
    "source": [
+    "import os.path\n",
+    "import textwrap\n",
     "import requests\n",
-    "import pandas as pd\n",
     "\n",
     "def generate_sparql_query(fullName, property_labels_to_ids, language='en'):\n",
     "    \"\"\"\n",
@@ -29,72 +30,133 @@
     "    propSelection = \"\"\n",
     "    for label, pid in property_labels_to_ids.items():\n",
     "        if label.endswith(\"_id\") or label.startswith(\"image\"):\n",
-    "            propSelection += f\"OPTIONAL {{ ?item wdt:{pid} ?{label}. }}\"\n",
+    "            propSelection += f\"\"\"\n",
+    "                OPTIONAL {{ ?item wdt:{pid} ?{label}. }}\"\"\"\n",
     "        elif label.startswith(\"date\"):  \n",
     "            # Dates, fetched directly but need special handling for formatting if desired\n",
-    "            propSelection += f\"OPTIONAL {{ ?item wdt:{pid} ?{label}. }}\"            \n",
+    "            propSelection += f\"\"\"\n",
+    "                OPTIONAL {{ ?item wdt:{pid} ?{label}. }}\"\"\"\n",
     "        else:\n",
-    "            propSelection += f\"\"\"OPTIONAL {{ ?item wdt:{pid} ?{label}Id .\n",
-    "                                   ?{label}Id rdfs:label ?{label} FILTER(LANG(?{label}) = \"{language}\") .\n",
-    "                                   SERVICE wikibase:label {{ bd:serviceParam wikibase:language \"{language}\". }} }}\"\"\"\n",
-    "\n",
-    "    # Include English and German Wikipedia URLs\n",
-    "    wikipediaURLs = \"\"\"\n",
-    "    OPTIONAL { ?article schema:about ?item; schema:inLanguage \"en\"; schema:isPartOf <https://en.wikipedia.org/>. BIND(CONCAT(STR(?article)) AS ?englishWikipedia) }\n",
-    "    OPTIONAL { ?article schema:about ?item; schema:inLanguage \"de\"; schema:isPartOf <https://de.wikipedia.org/>. BIND(CONCAT(STR(?article)) AS ?germanWikipedia) }\n",
-    "    \"\"\"\n",
+    "            propSelection += f\"\"\"\n",
+    "                OPTIONAL {{ ?item wdt:{pid} ?{label}Id .\n",
+    "                   ?{label}Id rdfs:label ?{label} FILTER(LANG(?{label}) = \"{language}\") .\n",
+    "                   SERVICE wikibase:label {{ bd:serviceParam wikibase:language \"{language}\". }} }}\"\"\"\n",
     "\n",
-    "    query = f\"\"\"\n",
-    "    SELECT DISTINCT ?itemLabel {\"\".join([f\"(SAMPLE(?{label}) AS ?{label})\" for label in property_labels_to_ids])} ?englishWikipedia ?germanWikipedia WHERE {{\n",
-    "      ?item wdt:P31 wd:Q5; rdfs:label \"{fullName}\"@{language}.\n",
-    "      {propSelection}\n",
-    "      {wikipediaURLs}\n",
+    "    query = textwrap.dedent(f\"\"\"\n",
+    "    SELECT DISTINCT ?item ?itemLabel {\"\".join([f\"(SAMPLE(?{label}) AS ?{label})\" for label in property_labels_to_ids])}\n",
+    "    WHERE {{\n",
+    "          ?item wdt:P31 wd:Q5; rdfs:label \"{fullName}\"@{language}.\n",
+    "          {textwrap.dedent(propSelection)}\n",
     "    }}\n",
-    "    GROUP BY ?itemLabel ?englishWikipedia ?germanWikipedia\n",
-    "    \"\"\"\n",
+    "    GROUP BY ?item ?itemLabel \n",
+    "    \"\"\")\n",
     "    return query\n",
     "\n",
     "def construct_image_url(filename):\n",
     "    return f\"https://commons.wikimedia.org/wiki/Special:FilePath/{requests.utils.quote(filename)}\"\n",
     "\n",
     "\n",
-    "def query_wikidata(fullName, property_labels_to_ids, language='en'):\n",
+    "def get_wikipedia_links(qid, languages):\n",
+    "    \"\"\"\n",
+    "    Fetch Wikipedia links for a given Wikidata QID and a list of languages.\n",
+    "\n",
+    "    Parameters:\n",
+    "    - qid (str): The QID of the Wikidata item.\n",
+    "    - languages (list): A list of language codes (e.g., ['en', 'de']).\n",
+    "\n",
+    "    Returns:\n",
+    "    - dict: A dictionary with languages as keys and Wikipedia URLs as values.\n",
+    "    \"\"\"\n",
+    "    url = \"https://www.wikidata.org/w/api.php\"\n",
+    "    params = {\n",
+    "        \"action\": \"wbgetentities\",\n",
+    "        \"ids\": qid,\n",
+    "        \"props\": \"sitelinks\",\n",
+    "        \"format\": \"json\"\n",
+    "    }\n",
+    "\n",
+    "    response = requests.get(url, params=params)\n",
+    "    data = response.json()\n",
+    "\n",
+    "    links = {}\n",
+    "    if \"entities\" in data and qid in data[\"entities\"]:\n",
+    "        sitelinks = data[\"entities\"][qid].get(\"sitelinks\", {})\n",
+    "        for lang in languages:\n",
+    "            sitekey = f\"{lang}wiki\"\n",
+    "            if sitekey in sitelinks:\n",
+    "                links[lang] = sitelinks[sitekey][\"url\"]\n",
+    "            else:\n",
+    "                links[lang] = None  # Or use '' to represent absence of link\n",
+    "\n",
+    "    return links\n",
+    "\n",
+    "\n",
+    "def query_wikidata(fullName, property_map, language='en'):\n",
     "    SPARQL_ENDPOINT = \"https://query.wikidata.org/sparql\"\n",
-    "    query = generate_sparql_query(fullName, property_labels_to_ids, language)\n",
+    "    query = generate_sparql_query(fullName, property_map, language)\n",
     "    headers = {'User-Agent': 'Mozilla/5.0', 'Accept': 'application/json'}\n",
     "    response = requests.get(SPARQL_ENDPOINT, headers=headers, params={'query': query, 'format': 'json'})\n",
     "\n",
-    "    if response.status_code == 200:\n",
-    "        results = response.json()['results']['bindings']\n",
-    "        data = {'fullName': fullName}  # Initialize with fullName to ensure it appears first\n",
-    "        if results:\n",
-    "            for label in property_labels_to_ids:\n",
-    "                if f\"{label}\" in results[0]:\n",
-    "                    value = results[0][f\"{label}\"]['value']\n",
-    "                    #if label.startswith(\"image\"):\n",
-    "                    #    value = construct_image_url(value)\n",
-    "                    data[label] = value\n",
-    "                else:\n",
-    "                    data[label] = None\n",
-    "            return data\n",
-    "    return None\n",
+    "    if response.status_code != 200:\n",
+    "        response.raise_for_status()\n",
+    "        \n",
+    "    results = response.json()['results']['bindings']\n",
+    "    \n",
+    "    if not results:\n",
+    "        return None\n",
+    "    \n",
+    "    # Initialize with fullName to ensure it appears first\n",
+    "    data = {\n",
+    "        'fullName': fullName\n",
+    "    }\n",
+    "    \n",
+    "    # use first result\n",
+    "    result = results[0]\n",
+    "    \n",
+    "    # iterate over fields\n",
+    "    for label in property_map:\n",
+    "        if label in result:\n",
+    "            value = result[label]['value']\n",
+    "            data[label] = value\n",
+    "        else:\n",
+    "            data[label] = None\n",
+    "            \n",
+    "    # add item URI\n",
+    "    data['item'] = os.path.basename(result['item']['value'])\n",
+    "        \n",
+    "    return data\n",
+    "\n",
     "\n",
-    "def properties_to_dataframe(names, property_labels_to_ids, language='en'):\n",
+    "def get_person_info_from_wikidata(names, property_map, language='en'):\n",
     "    all_data = []\n",
     "    for fullName in names:\n",
-    "        data = query_wikidata(fullName, property_labels_to_ids, language)\n",
+    "        data = query_wikidata(fullName, property_map, language)\n",
     "        if data:\n",
     "            all_data.append(data)\n",
     "    if all_data:\n",
     "        # Ensure fullName appears first by reordering columns based on property_labels_to_ids keys\n",
-    "        columns_order = ['fullName'] + list(property_labels_to_ids.keys())\n",
+    "        columns_order = ['fullName', 'item'] + list(property_map.keys())\n",
     "        df = pd.DataFrame(all_data, columns=columns_order)\n",
     "    else:\n",
-    "        df = pd.DataFrame(columns=['fullName'] + list(property_labels_to_ids.keys()))\n",
-    "    return df\n",
-    "\n",
-    "\n",
-    "\n",
+    "        df = pd.DataFrame(columns=['fullName'] + list(property_map.keys()))\n",
+    "    return df"
+   ]
+  },
+  {
+   "cell_type": "code",
+   "execution_count": 52,
+   "outputs": [
+    {
+     "data": {
+      "text/plain": "                 fullName        item sexOrGender  \\\n0             Hans Kelsen      Q84165        male   \n1         Hugo Sinzheimer      Q86043        male   \n2             Karl Renner      Q11726        male   \n3          Ernst Fraenkel      Q86812        male   \n4   Franz Leopold Neumann  Q112562068        male   \n5        Otto Kahn-Freund     Q121832        male   \n6        Otto Kirchheimer     Q214397        male   \n7           Ludwig Bendix   Q28053205        male   \n8         Arthur Nussbaum     Q103088        male   \n9          Theodor Geiger      Q96410        male   \n10     Erhard Blankenburg   Q51595283        male   \n11        Wolfgang Kaupen   Q93221485        male   \n12       Rüdiger Lautmann      Q91074        male   \n13             Thilo Ramm   Q59533838        male   \n14      Rudolf Wiethölter    Q1512482        male   \n15         Niklas Luhmann   Q85691627        None   \n16        Gunther Teubner      Q98304        male   \n17        Volkmar Gessner   Q15435946        male   \n\n                                                image  \\\n0   http://commons.wikimedia.org/wiki/Special:File...   \n1   http://commons.wikimedia.org/wiki/Special:File...   \n2   http://commons.wikimedia.org/wiki/Special:File...   \n3                                                None   \n4                                                None   \n5   http://commons.wikimedia.org/wiki/Special:File...   \n6                                                None   \n7                                                None   \n8   http://commons.wikimedia.org/wiki/Special:File...   \n9                                                None   \n10  http://commons.wikimedia.org/wiki/Special:File...   \n11                                               None   \n12  http://commons.wikimedia.org/wiki/Special:File...   \n13                                               None   \n14                                               None   \n15                                               None   \n16  http://commons.wikimedia.org/wiki/Special:File...   \n17  http://commons.wikimedia.org/wiki/Special:File...   \n\n        countryOfCitizenship givenName   familyName           dateOfBirth  \\\n0               Cisleithania      Hans       Kelsen  1881-10-11T00:00:00Z   \n1                    Germany      Hugo   Sinzheimer  1875-04-12T00:00:00Z   \n2               Cisleithania      Karl       Renner  1870-12-14T00:00:00Z   \n3                    Germany     Ernst     Fraenkel  1898-12-26T00:00:00Z   \n4                       None   Leopold      Neumann                  None   \n5                    Germany      Otto         None  1900-11-17T00:00:00Z   \n6                    Germany      Otto  Kirchheimer  1905-11-11T00:00:00Z   \n7                       None    Ludwig       Bendix  1857-10-28T00:00:00Z   \n8   United States of America    Arthur     Nussbaum  1877-01-31T00:00:00Z   \n9                    Germany   Theodor       Geiger  1891-11-09T00:00:00Z   \n10                   Germany    Erhard  Blankenburg  1938-10-30T00:00:00Z   \n11                      None  Wolfgang         None  1936-01-01T00:00:00Z   \n12                   Germany   Rüdiger         None  1935-12-22T00:00:00Z   \n13                   Germany     Thilo         Ramm  1925-04-04T00:00:00Z   \n14                   Germany    Rudolf         None  1929-07-17T00:00:00Z   \n15                      None      None         None                  None   \n16                   Germany   Gunther      Teubner  1944-04-30T00:00:00Z   \n17                   Germany   Volkmar      Gessner  1937-10-09T00:00:00Z   \n\n             dateOfDeath          occupation        fieldOfWork  \\\n0   1973-04-19T00:00:00Z               judge  international law   \n1   1945-09-16T00:00:00Z              lawyer               None   \n2   1950-12-31T00:00:00Z              lawyer           politics   \n3   1975-03-28T00:00:00Z              lawyer               None   \n4                   None             printer         publishing   \n5   1979-08-16T00:00:00Z               judge               None   \n6   1965-11-22T00:00:00Z              jurist               None   \n7   1923-09-28T00:00:00Z  university teacher               None   \n8   1964-11-22T00:00:00Z              lawyer                law   \n9   1952-06-16T00:00:00Z  university teacher               None   \n10  2018-03-28T00:00:00Z    sociology of law   sociology of law   \n11  1981-01-01T00:00:00Z         sociologist   sociology of law   \n12                  None              author   sociology of law   \n13  2018-06-17T00:00:00Z              writer               None   \n14                  None              jurist               None   \n15                  None          researcher               None   \n16                  None              jurist               None   \n17  2014-11-08T00:00:00Z               judge    comparative law   \n\n                                employer                viaf_id  \\\n0                     Charles University               31998356   \n1            Goethe University Frankfurt               27864307   \n2            Austrian Federal Government               61669459   \n3                 Free University Berlin               27108403   \n4                                   None  637163874508945722514   \n5                   University of Oxford               76317591   \n6           Office of Strategic Services               32042801   \n7                                   None               88720482   \n8                    Columbia University                5180962   \n9   Technical University of Braunschweig               56667946   \n10          Free University of Amsterdam               64109592   \n11                                  None               32919813   \n12                  University of Bremen               24732961   \n13              FernUniversität in Hagen                9924244   \n14           Goethe University Frankfurt              106974404   \n15                                  None                   None   \n16           Goethe University Frankfurt              108364502   \n17                  University of Bremen               69100039   \n\n             isni_id      gnd_id  \n0   0000000121266076   118561219  \n1   0000000109619641   118614711  \n2   0000000121358165   118599739  \n3   0000000110230959   118534602  \n4               None        None  \n5   0000000109168959   118559362  \n6   0000000081110244   118562371  \n7   0000000061811334  1023309920  \n8   0000000120988288   117071676  \n9   0000000109038951   118538187  \n10  0000000110676109   115459235  \n11  0000000035495614   124045405  \n12  000000011469331X   120502208  \n13  0000000108689541   116327391  \n14  0000000116961365  1034437860  \n15              None        None  \n16  0000000109312017   119443562  \n17  0000000109127065   170469328  ",
+      "text/html": "<div>\n<style scoped>\n    .dataframe tbody tr th:only-of-type {\n        vertical-align: middle;\n    }\n\n    .dataframe tbody tr th {\n        vertical-align: top;\n    }\n\n    .dataframe thead th {\n        text-align: right;\n    }\n</style>\n<table border=\"1\" class=\"dataframe\">\n  <thead>\n    <tr style=\"text-align: right;\">\n      <th></th>\n      <th>fullName</th>\n      <th>item</th>\n      <th>sexOrGender</th>\n      <th>image</th>\n      <th>countryOfCitizenship</th>\n      <th>givenName</th>\n      <th>familyName</th>\n      <th>dateOfBirth</th>\n      <th>dateOfDeath</th>\n      <th>occupation</th>\n      <th>fieldOfWork</th>\n      <th>employer</th>\n      <th>viaf_id</th>\n      <th>isni_id</th>\n      <th>gnd_id</th>\n    </tr>\n  </thead>\n  <tbody>\n    <tr>\n      <th>0</th>\n      <td>Hans Kelsen</td>\n      <td>Q84165</td>\n      <td>male</td>\n      <td>http://commons.wikimedia.org/wiki/Special:File...</td>\n      <td>Cisleithania</td>\n      <td>Hans</td>\n      <td>Kelsen</td>\n      <td>1881-10-11T00:00:00Z</td>\n      <td>1973-04-19T00:00:00Z</td>\n      <td>judge</td>\n      <td>international law</td>\n      <td>Charles University</td>\n      <td>31998356</td>\n      <td>0000000121266076</td>\n      <td>118561219</td>\n    </tr>\n    <tr>\n      <th>1</th>\n      <td>Hugo Sinzheimer</td>\n      <td>Q86043</td>\n      <td>male</td>\n      <td>http://commons.wikimedia.org/wiki/Special:File...</td>\n      <td>Germany</td>\n      <td>Hugo</td>\n      <td>Sinzheimer</td>\n      <td>1875-04-12T00:00:00Z</td>\n      <td>1945-09-16T00:00:00Z</td>\n      <td>lawyer</td>\n      <td>None</td>\n      <td>Goethe University Frankfurt</td>\n      <td>27864307</td>\n      <td>0000000109619641</td>\n      <td>118614711</td>\n    </tr>\n    <tr>\n      <th>2</th>\n      <td>Karl Renner</td>\n      <td>Q11726</td>\n      <td>male</td>\n      <td>http://commons.wikimedia.org/wiki/Special:File...</td>\n      <td>Cisleithania</td>\n      <td>Karl</td>\n      <td>Renner</td>\n      <td>1870-12-14T00:00:00Z</td>\n      <td>1950-12-31T00:00:00Z</td>\n      <td>lawyer</td>\n      <td>politics</td>\n      <td>Austrian Federal Government</td>\n      <td>61669459</td>\n      <td>0000000121358165</td>\n      <td>118599739</td>\n    </tr>\n    <tr>\n      <th>3</th>\n      <td>Ernst Fraenkel</td>\n      <td>Q86812</td>\n      <td>male</td>\n      <td>None</td>\n      <td>Germany</td>\n      <td>Ernst</td>\n      <td>Fraenkel</td>\n      <td>1898-12-26T00:00:00Z</td>\n      <td>1975-03-28T00:00:00Z</td>\n      <td>lawyer</td>\n      <td>None</td>\n      <td>Free University Berlin</td>\n      <td>27108403</td>\n      <td>0000000110230959</td>\n      <td>118534602</td>\n    </tr>\n    <tr>\n      <th>4</th>\n      <td>Franz Leopold Neumann</td>\n      <td>Q112562068</td>\n      <td>male</td>\n      <td>None</td>\n      <td>None</td>\n      <td>Leopold</td>\n      <td>Neumann</td>\n      <td>None</td>\n      <td>None</td>\n      <td>printer</td>\n      <td>publishing</td>\n      <td>None</td>\n      <td>637163874508945722514</td>\n      <td>None</td>\n      <td>None</td>\n    </tr>\n    <tr>\n      <th>5</th>\n      <td>Otto Kahn-Freund</td>\n      <td>Q121832</td>\n      <td>male</td>\n      <td>http://commons.wikimedia.org/wiki/Special:File...</td>\n      <td>Germany</td>\n      <td>Otto</td>\n      <td>None</td>\n      <td>1900-11-17T00:00:00Z</td>\n      <td>1979-08-16T00:00:00Z</td>\n      <td>judge</td>\n      <td>None</td>\n      <td>University of Oxford</td>\n      <td>76317591</td>\n      <td>0000000109168959</td>\n      <td>118559362</td>\n    </tr>\n    <tr>\n      <th>6</th>\n      <td>Otto Kirchheimer</td>\n      <td>Q214397</td>\n      <td>male</td>\n      <td>None</td>\n      <td>Germany</td>\n      <td>Otto</td>\n      <td>Kirchheimer</td>\n      <td>1905-11-11T00:00:00Z</td>\n      <td>1965-11-22T00:00:00Z</td>\n      <td>jurist</td>\n      <td>None</td>\n      <td>Office of Strategic Services</td>\n      <td>32042801</td>\n      <td>0000000081110244</td>\n      <td>118562371</td>\n    </tr>\n    <tr>\n      <th>7</th>\n      <td>Ludwig Bendix</td>\n      <td>Q28053205</td>\n      <td>male</td>\n      <td>None</td>\n      <td>None</td>\n      <td>Ludwig</td>\n      <td>Bendix</td>\n      <td>1857-10-28T00:00:00Z</td>\n      <td>1923-09-28T00:00:00Z</td>\n      <td>university teacher</td>\n      <td>None</td>\n      <td>None</td>\n      <td>88720482</td>\n      <td>0000000061811334</td>\n      <td>1023309920</td>\n    </tr>\n    <tr>\n      <th>8</th>\n      <td>Arthur Nussbaum</td>\n      <td>Q103088</td>\n      <td>male</td>\n      <td>http://commons.wikimedia.org/wiki/Special:File...</td>\n      <td>United States of America</td>\n      <td>Arthur</td>\n      <td>Nussbaum</td>\n      <td>1877-01-31T00:00:00Z</td>\n      <td>1964-11-22T00:00:00Z</td>\n      <td>lawyer</td>\n      <td>law</td>\n      <td>Columbia University</td>\n      <td>5180962</td>\n      <td>0000000120988288</td>\n      <td>117071676</td>\n    </tr>\n    <tr>\n      <th>9</th>\n      <td>Theodor Geiger</td>\n      <td>Q96410</td>\n      <td>male</td>\n      <td>None</td>\n      <td>Germany</td>\n      <td>Theodor</td>\n      <td>Geiger</td>\n      <td>1891-11-09T00:00:00Z</td>\n      <td>1952-06-16T00:00:00Z</td>\n      <td>university teacher</td>\n      <td>None</td>\n      <td>Technical University of Braunschweig</td>\n      <td>56667946</td>\n      <td>0000000109038951</td>\n      <td>118538187</td>\n    </tr>\n    <tr>\n      <th>10</th>\n      <td>Erhard Blankenburg</td>\n      <td>Q51595283</td>\n      <td>male</td>\n      <td>http://commons.wikimedia.org/wiki/Special:File...</td>\n      <td>Germany</td>\n      <td>Erhard</td>\n      <td>Blankenburg</td>\n      <td>1938-10-30T00:00:00Z</td>\n      <td>2018-03-28T00:00:00Z</td>\n      <td>sociology of law</td>\n      <td>sociology of law</td>\n      <td>Free University of Amsterdam</td>\n      <td>64109592</td>\n      <td>0000000110676109</td>\n      <td>115459235</td>\n    </tr>\n    <tr>\n      <th>11</th>\n      <td>Wolfgang Kaupen</td>\n      <td>Q93221485</td>\n      <td>male</td>\n      <td>None</td>\n      <td>None</td>\n      <td>Wolfgang</td>\n      <td>None</td>\n      <td>1936-01-01T00:00:00Z</td>\n      <td>1981-01-01T00:00:00Z</td>\n      <td>sociologist</td>\n      <td>sociology of law</td>\n      <td>None</td>\n      <td>32919813</td>\n      <td>0000000035495614</td>\n      <td>124045405</td>\n    </tr>\n    <tr>\n      <th>12</th>\n      <td>Rüdiger Lautmann</td>\n      <td>Q91074</td>\n      <td>male</td>\n      <td>http://commons.wikimedia.org/wiki/Special:File...</td>\n      <td>Germany</td>\n      <td>Rüdiger</td>\n      <td>None</td>\n      <td>1935-12-22T00:00:00Z</td>\n      <td>None</td>\n      <td>author</td>\n      <td>sociology of law</td>\n      <td>University of Bremen</td>\n      <td>24732961</td>\n      <td>000000011469331X</td>\n      <td>120502208</td>\n    </tr>\n    <tr>\n      <th>13</th>\n      <td>Thilo Ramm</td>\n      <td>Q59533838</td>\n      <td>male</td>\n      <td>None</td>\n      <td>Germany</td>\n      <td>Thilo</td>\n      <td>Ramm</td>\n      <td>1925-04-04T00:00:00Z</td>\n      <td>2018-06-17T00:00:00Z</td>\n      <td>writer</td>\n      <td>None</td>\n      <td>FernUniversität in Hagen</td>\n      <td>9924244</td>\n      <td>0000000108689541</td>\n      <td>116327391</td>\n    </tr>\n    <tr>\n      <th>14</th>\n      <td>Rudolf Wiethölter</td>\n      <td>Q1512482</td>\n      <td>male</td>\n      <td>None</td>\n      <td>Germany</td>\n      <td>Rudolf</td>\n      <td>None</td>\n      <td>1929-07-17T00:00:00Z</td>\n      <td>None</td>\n      <td>jurist</td>\n      <td>None</td>\n      <td>Goethe University Frankfurt</td>\n      <td>106974404</td>\n      <td>0000000116961365</td>\n      <td>1034437860</td>\n    </tr>\n    <tr>\n      <th>15</th>\n      <td>Niklas Luhmann</td>\n      <td>Q85691627</td>\n      <td>None</td>\n      <td>None</td>\n      <td>None</td>\n      <td>None</td>\n      <td>None</td>\n      <td>None</td>\n      <td>None</td>\n      <td>researcher</td>\n      <td>None</td>\n      <td>None</td>\n      <td>None</td>\n      <td>None</td>\n      <td>None</td>\n    </tr>\n    <tr>\n      <th>16</th>\n      <td>Gunther Teubner</td>\n      <td>Q98304</td>\n      <td>male</td>\n      <td>http://commons.wikimedia.org/wiki/Special:File...</td>\n      <td>Germany</td>\n      <td>Gunther</td>\n      <td>Teubner</td>\n      <td>1944-04-30T00:00:00Z</td>\n      <td>None</td>\n      <td>jurist</td>\n      <td>None</td>\n      <td>Goethe University Frankfurt</td>\n      <td>108364502</td>\n      <td>0000000109312017</td>\n      <td>119443562</td>\n    </tr>\n    <tr>\n      <th>17</th>\n      <td>Volkmar Gessner</td>\n      <td>Q15435946</td>\n      <td>male</td>\n      <td>http://commons.wikimedia.org/wiki/Special:File...</td>\n      <td>Germany</td>\n      <td>Volkmar</td>\n      <td>Gessner</td>\n      <td>1937-10-09T00:00:00Z</td>\n      <td>2014-11-08T00:00:00Z</td>\n      <td>judge</td>\n      <td>comparative law</td>\n      <td>University of Bremen</td>\n      <td>69100039</td>\n      <td>0000000109127065</td>\n      <td>170469328</td>\n    </tr>\n  </tbody>\n</table>\n</div>"
+     },
+     "execution_count": 52,
+     "metadata": {},
+     "output_type": "execute_result"
+    }
+   ],
+   "source": [
     "# Now calling the updated function with the 'language' parameter\n",
     "property_labels_to_ids = {\n",
     "    'sexOrGender': 'P21',\n",
@@ -111,24 +173,7 @@
     "    'isni_id': 'P213',\n",
     "    'gnd_id': 'P227'\n",
     "}\n",
-    "\n"
-   ]
-  },
-  {
-   "cell_type": "code",
-   "execution_count": 46,
-   "outputs": [
-    {
-     "data": {
-      "text/plain": "                 fullName sexOrGender  \\\n0             Hans Kelsen        male   \n1         Hugo Sinzheimer        male   \n2             Karl Renner        male   \n3          Ernst Fraenkel        male   \n4   Franz Leopold Neumann        male   \n5        Otto Kahn-Freund        male   \n6        Otto Kirchheimer        male   \n7           Ludwig Bendix        male   \n8         Arthur Nussbaum        male   \n9          Theodor Geiger        male   \n10     Erhard Blankenburg        male   \n11        Wolfgang Kaupen        male   \n12       Rüdiger Lautmann        male   \n13             Thilo Ramm        male   \n14      Rudolf Wiethölter        male   \n15         Niklas Luhmann        male   \n16        Gunther Teubner        male   \n\n                                                image  \\\n0   http://commons.wikimedia.org/wiki/Special:File...   \n1   http://commons.wikimedia.org/wiki/Special:File...   \n2   http://commons.wikimedia.org/wiki/Special:File...   \n3                                                None   \n4                                                None   \n5   http://commons.wikimedia.org/wiki/Special:File...   \n6                                                None   \n7                                                None   \n8   http://commons.wikimedia.org/wiki/Special:File...   \n9                                                None   \n10  http://commons.wikimedia.org/wiki/Special:File...   \n11                                               None   \n12  http://commons.wikimedia.org/wiki/Special:File...   \n13                                               None   \n14                                               None   \n15  http://commons.wikimedia.org/wiki/Special:File...   \n16  http://commons.wikimedia.org/wiki/Special:File...   \n\n         countryOfCitizenship givenName   familyName           dateOfBirth  \\\n0              Czechoslovakia      Hans       Kelsen  1881-10-11T00:00:00Z   \n1                     Germany      Hugo   Sinzheimer  1875-04-12T00:00:00Z   \n2   First Republic of Austria      Karl       Renner  1870-12-14T00:00:00Z   \n3                     Germany     Ernst     Fraenkel  1891-04-05T00:00:00Z   \n4                        None   Leopold      Neumann                  None   \n5                     Germany      Otto         None  1900-11-17T00:00:00Z   \n6                     Germany      Otto  Kirchheimer  1905-11-11T00:00:00Z   \n7                     Germany    Ludwig       Bendix  1877-06-28T00:00:00Z   \n8                     Germany    Arthur     Nussbaum  1877-01-31T00:00:00Z   \n9                     Germany   Theodor       Geiger  1891-11-09T00:00:00Z   \n10                    Germany    Erhard  Blankenburg  1938-10-30T00:00:00Z   \n11                       None  Wolfgang         None  1936-01-01T00:00:00Z   \n12                    Germany   Rüdiger         None  1935-12-22T00:00:00Z   \n13                    Germany     Thilo         Ramm  1925-04-04T00:00:00Z   \n14                    Germany    Rudolf         None  1929-07-17T00:00:00Z   \n15                    Germany    Niklas      Luhmann  1927-12-08T00:00:00Z   \n16                    Germany   Gunther      Teubner  1944-04-30T00:00:00Z   \n\n             dateOfDeath          occupation        fieldOfWork  \\\n0   1973-04-19T00:00:00Z              lawyer                law   \n1   1945-09-16T00:00:00Z              lawyer               None   \n2   1950-12-31T00:00:00Z              lawyer           politics   \n3   1971-08-18T00:00:00Z  university teacher               None   \n4                   None             printer         publishing   \n5   1979-08-16T00:00:00Z               judge               None   \n6   1965-11-22T00:00:00Z              jurist               None   \n7   1954-01-03T00:00:00Z              lawyer               None   \n8   1964-11-22T00:00:00Z              lawyer  international law   \n9   1952-06-16T00:00:00Z         sociologist               None   \n10  2018-03-28T00:00:00Z    sociology of law   sociology of law   \n11  1981-01-01T00:00:00Z         sociologist   sociology of law   \n12                  None              author   sociology of law   \n13  2018-06-17T00:00:00Z              writer               None   \n14                  None              jurist               None   \n15  1998-11-06T00:00:00Z              lawyer   sociology of law   \n16                  None              jurist               None   \n\n                                employer                viaf_id  \\\n0                     Charles University               31998356   \n1                University of Amsterdam               27864307   \n2            Austrian Federal Government               61669459   \n3            Goethe University Frankfurt               50078162   \n4                                   None  637163874508945722514   \n5                   University of Oxford               76317591   \n6           Office of Strategic Services               32042801   \n7                                   None               74647579   \n8    Frederick William University Berlin                5180962   \n9   Technical University of Braunschweig               56667946   \n10          Free University of Amsterdam               64109592   \n11                                  None               32919813   \n12                  University of Bremen               24732961   \n13                University of Freiburg                9924244   \n14           Goethe University Frankfurt              106974404   \n15                  Bielefeld University               29546145   \n16           Goethe University Frankfurt              108364502   \n\n             isni_id      gnd_id  \n0   0000000121266076   118561219  \n1   0000000109619641   118614711  \n2   0000000121358165   118599739  \n3               None   121259854  \n4               None        None  \n5   0000000109168959   118559362  \n6   0000000081110244   118562371  \n7   0000000081553379   118702033  \n8   0000000120988288   117071676  \n9   0000000109038951   118538187  \n10  0000000110676109   115459235  \n11  0000000035495614   124045405  \n12  000000011469331X   120502208  \n13  0000000108689541   116327391  \n14  0000000116961365  1034437860  \n15  0000000122778532   118575147  \n16  0000000109312017   119443562  ",
-      "text/html": "<div>\n<style scoped>\n    .dataframe tbody tr th:only-of-type {\n        vertical-align: middle;\n    }\n\n    .dataframe tbody tr th {\n        vertical-align: top;\n    }\n\n    .dataframe thead th {\n        text-align: right;\n    }\n</style>\n<table border=\"1\" class=\"dataframe\">\n  <thead>\n    <tr style=\"text-align: right;\">\n      <th></th>\n      <th>fullName</th>\n      <th>sexOrGender</th>\n      <th>image</th>\n      <th>countryOfCitizenship</th>\n      <th>givenName</th>\n      <th>familyName</th>\n      <th>dateOfBirth</th>\n      <th>dateOfDeath</th>\n      <th>occupation</th>\n      <th>fieldOfWork</th>\n      <th>employer</th>\n      <th>viaf_id</th>\n      <th>isni_id</th>\n      <th>gnd_id</th>\n    </tr>\n  </thead>\n  <tbody>\n    <tr>\n      <th>0</th>\n      <td>Hans Kelsen</td>\n      <td>male</td>\n      <td>http://commons.wikimedia.org/wiki/Special:File...</td>\n      <td>Czechoslovakia</td>\n      <td>Hans</td>\n      <td>Kelsen</td>\n      <td>1881-10-11T00:00:00Z</td>\n      <td>1973-04-19T00:00:00Z</td>\n      <td>lawyer</td>\n      <td>law</td>\n      <td>Charles University</td>\n      <td>31998356</td>\n      <td>0000000121266076</td>\n      <td>118561219</td>\n    </tr>\n    <tr>\n      <th>1</th>\n      <td>Hugo Sinzheimer</td>\n      <td>male</td>\n      <td>http://commons.wikimedia.org/wiki/Special:File...</td>\n      <td>Germany</td>\n      <td>Hugo</td>\n      <td>Sinzheimer</td>\n      <td>1875-04-12T00:00:00Z</td>\n      <td>1945-09-16T00:00:00Z</td>\n      <td>lawyer</td>\n      <td>None</td>\n      <td>University of Amsterdam</td>\n      <td>27864307</td>\n      <td>0000000109619641</td>\n      <td>118614711</td>\n    </tr>\n    <tr>\n      <th>2</th>\n      <td>Karl Renner</td>\n      <td>male</td>\n      <td>http://commons.wikimedia.org/wiki/Special:File...</td>\n      <td>First Republic of Austria</td>\n      <td>Karl</td>\n      <td>Renner</td>\n      <td>1870-12-14T00:00:00Z</td>\n      <td>1950-12-31T00:00:00Z</td>\n      <td>lawyer</td>\n      <td>politics</td>\n      <td>Austrian Federal Government</td>\n      <td>61669459</td>\n      <td>0000000121358165</td>\n      <td>118599739</td>\n    </tr>\n    <tr>\n      <th>3</th>\n      <td>Ernst Fraenkel</td>\n      <td>male</td>\n      <td>None</td>\n      <td>Germany</td>\n      <td>Ernst</td>\n      <td>Fraenkel</td>\n      <td>1891-04-05T00:00:00Z</td>\n      <td>1971-08-18T00:00:00Z</td>\n      <td>university teacher</td>\n      <td>None</td>\n      <td>Goethe University Frankfurt</td>\n      <td>50078162</td>\n      <td>None</td>\n      <td>121259854</td>\n    </tr>\n    <tr>\n      <th>4</th>\n      <td>Franz Leopold Neumann</td>\n      <td>male</td>\n      <td>None</td>\n      <td>None</td>\n      <td>Leopold</td>\n      <td>Neumann</td>\n      <td>None</td>\n      <td>None</td>\n      <td>printer</td>\n      <td>publishing</td>\n      <td>None</td>\n      <td>637163874508945722514</td>\n      <td>None</td>\n      <td>None</td>\n    </tr>\n    <tr>\n      <th>5</th>\n      <td>Otto Kahn-Freund</td>\n      <td>male</td>\n      <td>http://commons.wikimedia.org/wiki/Special:File...</td>\n      <td>Germany</td>\n      <td>Otto</td>\n      <td>None</td>\n      <td>1900-11-17T00:00:00Z</td>\n      <td>1979-08-16T00:00:00Z</td>\n      <td>judge</td>\n      <td>None</td>\n      <td>University of Oxford</td>\n      <td>76317591</td>\n      <td>0000000109168959</td>\n      <td>118559362</td>\n    </tr>\n    <tr>\n      <th>6</th>\n      <td>Otto Kirchheimer</td>\n      <td>male</td>\n      <td>None</td>\n      <td>Germany</td>\n      <td>Otto</td>\n      <td>Kirchheimer</td>\n      <td>1905-11-11T00:00:00Z</td>\n      <td>1965-11-22T00:00:00Z</td>\n      <td>jurist</td>\n      <td>None</td>\n      <td>Office of Strategic Services</td>\n      <td>32042801</td>\n      <td>0000000081110244</td>\n      <td>118562371</td>\n    </tr>\n    <tr>\n      <th>7</th>\n      <td>Ludwig Bendix</td>\n      <td>male</td>\n      <td>None</td>\n      <td>Germany</td>\n      <td>Ludwig</td>\n      <td>Bendix</td>\n      <td>1877-06-28T00:00:00Z</td>\n      <td>1954-01-03T00:00:00Z</td>\n      <td>lawyer</td>\n      <td>None</td>\n      <td>None</td>\n      <td>74647579</td>\n      <td>0000000081553379</td>\n      <td>118702033</td>\n    </tr>\n    <tr>\n      <th>8</th>\n      <td>Arthur Nussbaum</td>\n      <td>male</td>\n      <td>http://commons.wikimedia.org/wiki/Special:File...</td>\n      <td>Germany</td>\n      <td>Arthur</td>\n      <td>Nussbaum</td>\n      <td>1877-01-31T00:00:00Z</td>\n      <td>1964-11-22T00:00:00Z</td>\n      <td>lawyer</td>\n      <td>international law</td>\n      <td>Frederick William University Berlin</td>\n      <td>5180962</td>\n      <td>0000000120988288</td>\n      <td>117071676</td>\n    </tr>\n    <tr>\n      <th>9</th>\n      <td>Theodor Geiger</td>\n      <td>male</td>\n      <td>None</td>\n      <td>Germany</td>\n      <td>Theodor</td>\n      <td>Geiger</td>\n      <td>1891-11-09T00:00:00Z</td>\n      <td>1952-06-16T00:00:00Z</td>\n      <td>sociologist</td>\n      <td>None</td>\n      <td>Technical University of Braunschweig</td>\n      <td>56667946</td>\n      <td>0000000109038951</td>\n      <td>118538187</td>\n    </tr>\n    <tr>\n      <th>10</th>\n      <td>Erhard Blankenburg</td>\n      <td>male</td>\n      <td>http://commons.wikimedia.org/wiki/Special:File...</td>\n      <td>Germany</td>\n      <td>Erhard</td>\n      <td>Blankenburg</td>\n      <td>1938-10-30T00:00:00Z</td>\n      <td>2018-03-28T00:00:00Z</td>\n      <td>sociology of law</td>\n      <td>sociology of law</td>\n      <td>Free University of Amsterdam</td>\n      <td>64109592</td>\n      <td>0000000110676109</td>\n      <td>115459235</td>\n    </tr>\n    <tr>\n      <th>11</th>\n      <td>Wolfgang Kaupen</td>\n      <td>male</td>\n      <td>None</td>\n      <td>None</td>\n      <td>Wolfgang</td>\n      <td>None</td>\n      <td>1936-01-01T00:00:00Z</td>\n      <td>1981-01-01T00:00:00Z</td>\n      <td>sociologist</td>\n      <td>sociology of law</td>\n      <td>None</td>\n      <td>32919813</td>\n      <td>0000000035495614</td>\n      <td>124045405</td>\n    </tr>\n    <tr>\n      <th>12</th>\n      <td>Rüdiger Lautmann</td>\n      <td>male</td>\n      <td>http://commons.wikimedia.org/wiki/Special:File...</td>\n      <td>Germany</td>\n      <td>Rüdiger</td>\n      <td>None</td>\n      <td>1935-12-22T00:00:00Z</td>\n      <td>None</td>\n      <td>author</td>\n      <td>sociology of law</td>\n      <td>University of Bremen</td>\n      <td>24732961</td>\n      <td>000000011469331X</td>\n      <td>120502208</td>\n    </tr>\n    <tr>\n      <th>13</th>\n      <td>Thilo Ramm</td>\n      <td>male</td>\n      <td>None</td>\n      <td>Germany</td>\n      <td>Thilo</td>\n      <td>Ramm</td>\n      <td>1925-04-04T00:00:00Z</td>\n      <td>2018-06-17T00:00:00Z</td>\n      <td>writer</td>\n      <td>None</td>\n      <td>University of Freiburg</td>\n      <td>9924244</td>\n      <td>0000000108689541</td>\n      <td>116327391</td>\n    </tr>\n    <tr>\n      <th>14</th>\n      <td>Rudolf Wiethölter</td>\n      <td>male</td>\n      <td>None</td>\n      <td>Germany</td>\n      <td>Rudolf</td>\n      <td>None</td>\n      <td>1929-07-17T00:00:00Z</td>\n      <td>None</td>\n      <td>jurist</td>\n      <td>None</td>\n      <td>Goethe University Frankfurt</td>\n      <td>106974404</td>\n      <td>0000000116961365</td>\n      <td>1034437860</td>\n    </tr>\n    <tr>\n      <th>15</th>\n      <td>Niklas Luhmann</td>\n      <td>male</td>\n      <td>http://commons.wikimedia.org/wiki/Special:File...</td>\n      <td>Germany</td>\n      <td>Niklas</td>\n      <td>Luhmann</td>\n      <td>1927-12-08T00:00:00Z</td>\n      <td>1998-11-06T00:00:00Z</td>\n      <td>lawyer</td>\n      <td>sociology of law</td>\n      <td>Bielefeld University</td>\n      <td>29546145</td>\n      <td>0000000122778532</td>\n      <td>118575147</td>\n    </tr>\n    <tr>\n      <th>16</th>\n      <td>Gunther Teubner</td>\n      <td>male</td>\n      <td>http://commons.wikimedia.org/wiki/Special:File...</td>\n      <td>Germany</td>\n      <td>Gunther</td>\n      <td>Teubner</td>\n      <td>1944-04-30T00:00:00Z</td>\n      <td>None</td>\n      <td>jurist</td>\n      <td>None</td>\n      <td>Goethe University Frankfurt</td>\n      <td>108364502</td>\n      <td>0000000109312017</td>\n      <td>119443562</td>\n    </tr>\n  </tbody>\n</table>\n</div>"
-     },
-     "execution_count": 46,
-     "metadata": {},
-     "output_type": "execute_result"
-    }
-   ],
-   "source": [
+    "\n",
     "scholars = [\n",
     "    \"Hans Kelsen\",\n",
     "    \"Hugo Sinzheimer\",\n",
@@ -147,23 +192,24 @@
     "    \"Thilo Ramm\",\n",
     "    \"Rudolf Wiethölter\",\n",
     "    \"Niklas Luhmann\",\n",
-    "    \"Gunther Teubner\"\n",
+    "    \"Gunther Teubner\",\n",
+    "    \"Volkmar Gessner\"\n",
     "]\n",
-    "df = properties_to_dataframe(scholars, property_labels_to_ids)\n",
+    "df = get_person_info_from_wikidata(scholars, property_labels_to_ids)\n",
     "df"
    ],
    "metadata": {
     "collapsed": false,
     "ExecuteTime": {
-     "end_time": "2024-03-06T15:12:10.067883900Z",
-     "start_time": "2024-03-06T15:11:19.392537400Z"
+     "end_time": "2024-03-09T10:11:30.848444Z",
+     "start_time": "2024-03-09T10:11:21.164049Z"
     }
    },
    "id": "19ddabbda261cc90"
   },
   {
    "cell_type": "code",
-   "execution_count": 22,
+   "execution_count": 53,
    "outputs": [],
    "source": [
     "df.to_csv(\"scholars.csv\", index=False)"
@@ -171,8 +217,8 @@
    "metadata": {
     "collapsed": false,
     "ExecuteTime": {
-     "end_time": "2024-03-06T14:15:14.273567900Z",
-     "start_time": "2024-03-06T14:15:14.251976300Z"
+     "end_time": "2024-03-09T10:18:05.956146Z",
+     "start_time": "2024-03-09T10:18:05.917596Z"
     }
    },
    "id": "c6c0cc347c8788d0"
diff --git a/wikidata/scholars.csv b/wikidata/scholars.csv
index 2e733be..8b6a4ba 100644
--- a/wikidata/scholars.csv
+++ b/wikidata/scholars.csv
@@ -1,18 +1,19 @@
-fullName,sexOrGender,image,countryOfCitizenship,givenName,familyName,dateOfBirth,dateOfDeath,occupation,fieldOfWork,employer,viaf_id,isni_id,gnd_id
-Hans Kelsen,male,https://commons.wikimedia.org/wiki/Special:FilePath/http%3A//commons.wikimedia.org/wiki/Special%3AFilePath/Hans%2520Kelsen%2520%25281881%25E2%2580%25931973%2529%2520~1930%2520%25C2%25A9%2520Georg%2520Fayer%2520%25281892%25E2%2580%25931950%2529%2520OeNB%25208026867.jpg,Cisleithania,Hans,Kelsen,1881-10-11T00:00:00Z,1973-04-19T00:00:00Z,judge,international law,Charles University,31998356,0000000121266076,118561219
-Hugo Sinzheimer,male,https://commons.wikimedia.org/wiki/Special:FilePath/http%3A//commons.wikimedia.org/wiki/Special%3AFilePath/Hugo%2520Sinzheimer.jpg,Germany,Hugo,Sinzheimer,1875-04-12T00:00:00Z,1945-09-16T00:00:00Z,lawyer,,University of Amsterdam,27864307,0000000109619641,118614711
-Karl Renner,male,https://commons.wikimedia.org/wiki/Special:FilePath/http%3A//commons.wikimedia.org/wiki/Special%3AFilePath/Karl-renner-hn.jpg,Germany,Karl,Renner,1833-05-13T00:00:00Z,1913-09-22T00:00:00Z,merchant,politics,Austrian Federal Government,171170593,0000000054940875,1012296458
-Ernst Fraenkel,male,,Germany,Ernst,Fraenkel,1891-04-05T00:00:00Z,1971-08-18T00:00:00Z,economic historian,Baltic,Goethe University Frankfurt,50078162,0000000081027854,121259854
-Franz Leopold Neumann,male,,German Empire,Leopold,Neumann,1900-05-23T00:00:00Z,1954-09-02T00:00:00Z,lawyer,publishing,Office of Strategic Services,15561879,0000000109564943,118587293
-Otto Kahn-Freund,male,https://commons.wikimedia.org/wiki/Special:FilePath/http%3A//commons.wikimedia.org/wiki/Special%3AFilePath/Sir%2520Otto%2520Kahn-Freund%252C%2520c1950.jpg,Germany,Otto,,1900-11-17T00:00:00Z,1979-08-16T00:00:00Z,judge,,University of Oxford,76317591,0000000109168959,118559362
-Otto Kirchheimer,male,,United States of America,Otto,Kirchheimer,1905-11-11T00:00:00Z,1965-11-22T00:00:00Z,jurist,,Office of Strategic Services,32042801,0000000081110244,118562371
-Ludwig Bendix,male,,Germany,Ludwig,Bendix,1877-06-28T00:00:00Z,1954-01-03T00:00:00Z,lawyer,,,74647579,0000000081553379,118702033
-Arthur Nussbaum,male,https://commons.wikimedia.org/wiki/Special:FilePath/http%3A//commons.wikimedia.org/wiki/Special%3AFilePath/Arthur%2520Nussbaum.jpg,Germany,Arthur,Nussbaum,1877-01-31T00:00:00Z,1964-11-22T00:00:00Z,lawyer,international law,Columbia University,5180962,0000000120988288,117071676
-Theodor Geiger,male,,Denmark,Theodor,Geiger,1891-11-09T00:00:00Z,1952-06-16T00:00:00Z,university teacher,,Technical University of Braunschweig,56667946,0000000109038951,118538187
-Erhard Blankenburg,male,https://commons.wikimedia.org/wiki/Special:FilePath/http%3A//commons.wikimedia.org/wiki/Special%3AFilePath/Erhard%2520Blankenburg.jpg,Germany,Erhard,Blankenburg,1938-10-30T00:00:00Z,2018-03-28T00:00:00Z,sociology of law,sociology of law,Free University of Amsterdam,64109592,0000000110676109,115459235
-Wolfgang Kaupen,male,,,Wolfgang,,1936-01-01T00:00:00Z,1981-01-01T00:00:00Z,sociologist,sociology of law,,32919813,0000000035495614,124045405
-Rüdiger Lautmann,male,https://commons.wikimedia.org/wiki/Special:FilePath/http%3A//commons.wikimedia.org/wiki/Special%3AFilePath/Lautmann%25202012.jpg,Germany,Rüdiger,,1935-12-22T00:00:00Z,,sociologist,sociology of law,University of Bremen,24732961,000000011469331X,120502208
-Thilo Ramm,male,,Germany,Thilo,Ramm,1925-04-04T00:00:00Z,2018-06-17T00:00:00Z,writer,,FernUniversität in Hagen,9924244,0000000108689541,116327391
-Rudolf Wiethölter,male,,Germany,Rudolf,,1929-07-17T00:00:00Z,,jurist,,Goethe University Frankfurt,106974404,0000000116961365,1034437860
-Niklas Luhmann,male,https://commons.wikimedia.org/wiki/Special:FilePath/http%3A//commons.wikimedia.org/wiki/Special%3AFilePath/HSGH%2520022-000941%2520Niklas%2520Luhmann%2520%2528cropped%2529.png,Germany,Niklas,Luhmann,1927-12-08T00:00:00Z,1998-11-06T00:00:00Z,researcher,sociology of law,TU Wien,29546145,0000000122778532,118575147
-Gunther Teubner,male,https://commons.wikimedia.org/wiki/Special:FilePath/http%3A//commons.wikimedia.org/wiki/Special%3AFilePath/Gunther%2520Teubner%2520%25282017%2529.jpg,Germany,Gunther,Teubner,1944-04-30T00:00:00Z,,sociologist,,Goethe University Frankfurt,108364502,0000000109312017,119443562
+fullName,item,sexOrGender,image,countryOfCitizenship,givenName,familyName,dateOfBirth,dateOfDeath,occupation,fieldOfWork,employer,viaf_id,isni_id,gnd_id
+Hans Kelsen,Q84165,male,http://commons.wikimedia.org/wiki/Special:FilePath/Hans%20Kelsen%20%281881%E2%80%931973%29%20~1930%20%C2%A9%20Georg%20Fayer%20%281892%E2%80%931950%29%20OeNB%208026867.jpg,Cisleithania,Hans,Kelsen,1881-10-11T00:00:00Z,1973-04-19T00:00:00Z,judge,international law,Charles University,31998356,0000000121266076,118561219
+Hugo Sinzheimer,Q86043,male,http://commons.wikimedia.org/wiki/Special:FilePath/Hugo%20Sinzheimer.jpg,Germany,Hugo,Sinzheimer,1875-04-12T00:00:00Z,1945-09-16T00:00:00Z,lawyer,,Goethe University Frankfurt,27864307,0000000109619641,118614711
+Karl Renner,Q11726,male,http://commons.wikimedia.org/wiki/Special:FilePath/Karl%20Renner%201905.jpg,Cisleithania,Karl,Renner,1870-12-14T00:00:00Z,1950-12-31T00:00:00Z,lawyer,politics,Austrian Federal Government,61669459,0000000121358165,118599739
+Ernst Fraenkel,Q86812,male,,Germany,Ernst,Fraenkel,1898-12-26T00:00:00Z,1975-03-28T00:00:00Z,lawyer,,Free University Berlin,27108403,0000000110230959,118534602
+Franz Leopold Neumann,Q112562068,male,,,Leopold,Neumann,,,printer,publishing,,637163874508945722514,,
+Otto Kahn-Freund,Q121832,male,http://commons.wikimedia.org/wiki/Special:FilePath/Sir%20Otto%20Kahn-Freund%2C%20c1950.jpg,Germany,Otto,,1900-11-17T00:00:00Z,1979-08-16T00:00:00Z,judge,,University of Oxford,76317591,0000000109168959,118559362
+Otto Kirchheimer,Q214397,male,,Germany,Otto,Kirchheimer,1905-11-11T00:00:00Z,1965-11-22T00:00:00Z,jurist,,Office of Strategic Services,32042801,0000000081110244,118562371
+Ludwig Bendix,Q28053205,male,,,Ludwig,Bendix,1857-10-28T00:00:00Z,1923-09-28T00:00:00Z,university teacher,,,88720482,0000000061811334,1023309920
+Arthur Nussbaum,Q103088,male,http://commons.wikimedia.org/wiki/Special:FilePath/Arthur%20Nussbaum.jpg,United States of America,Arthur,Nussbaum,1877-01-31T00:00:00Z,1964-11-22T00:00:00Z,lawyer,law,Columbia University,5180962,0000000120988288,117071676
+Theodor Geiger,Q96410,male,,Germany,Theodor,Geiger,1891-11-09T00:00:00Z,1952-06-16T00:00:00Z,university teacher,,Technical University of Braunschweig,56667946,0000000109038951,118538187
+Erhard Blankenburg,Q51595283,male,http://commons.wikimedia.org/wiki/Special:FilePath/Erhard%20Blankenburg.jpg,Germany,Erhard,Blankenburg,1938-10-30T00:00:00Z,2018-03-28T00:00:00Z,sociology of law,sociology of law,Free University of Amsterdam,64109592,0000000110676109,115459235
+Wolfgang Kaupen,Q93221485,male,,,Wolfgang,,1936-01-01T00:00:00Z,1981-01-01T00:00:00Z,sociologist,sociology of law,,32919813,0000000035495614,124045405
+Rüdiger Lautmann,Q91074,male,http://commons.wikimedia.org/wiki/Special:FilePath/Lautmann%202012.jpg,Germany,Rüdiger,,1935-12-22T00:00:00Z,,author,sociology of law,University of Bremen,24732961,000000011469331X,120502208
+Thilo Ramm,Q59533838,male,,Germany,Thilo,Ramm,1925-04-04T00:00:00Z,2018-06-17T00:00:00Z,writer,,FernUniversität in Hagen,9924244,0000000108689541,116327391
+Rudolf Wiethölter,Q1512482,male,,Germany,Rudolf,,1929-07-17T00:00:00Z,,jurist,,Goethe University Frankfurt,106974404,0000000116961365,1034437860
+Niklas Luhmann,Q85691627,,,,,,,,researcher,,,,,
+Gunther Teubner,Q98304,male,http://commons.wikimedia.org/wiki/Special:FilePath/Gunther%20Teubner%20%282017%29.jpg,Germany,Gunther,Teubner,1944-04-30T00:00:00Z,,jurist,,Goethe University Frankfurt,108364502,0000000109312017,119443562
+Volkmar Gessner,Q15435946,male,http://commons.wikimedia.org/wiki/Special:FilePath/Volkmar%20Gessner%20%282006%29.JPG,Germany,Volkmar,Gessner,1937-10-09T00:00:00Z,2014-11-08T00:00:00Z,judge,comparative law,University of Bremen,69100039,0000000109127065,170469328
-- 
GitLab