From 801e6f95f516a1a56afa7a5b4849c624ef291e01 Mon Sep 17 00:00:00 2001 From: Binh Vu Date: Fri, 19 Jan 2024 12:31:25 +0700 Subject: [PATCH] rename modification dataset in wikidata --- kgdata/wikidata/config.py | 3 +-- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/kgdata/wikidata/config.py b/kgdata/wikidata/config.py index 59f9f99..a7e2767 100644 --- a/kgdata/wikidata/config.py +++ b/kgdata/wikidata/config.py @@ -18,6 +18,7 @@ def __init__(self, datadir: Path) -> None: # directorys contain dumps and their splitted files # for the name of the dumps, see the corresponding function `self.get_X_file` in this class self.dumps = datadir / "000_dumps" + self.modification = datadir / "001_modifications" self.entity_dump = datadir / "012_entity_dump" self.page_dump = datadir / "010_page_dump" self.entity_redirection_dump = datadir / "011_entity_redirection_dump" @@ -28,8 +29,6 @@ def __init__(self, datadir: Path) -> None: self.entities = datadir / "023_entities" self.entity_types = datadir / "024_entity_types" - self.modification = datadir / "030_modifications" - self.classes = datadir / "040_classes" self.properties = datadir / "041_properties" self.class_count = datadir / "042_class_count" diff --git a/pyproject.toml b/pyproject.toml index 10b7071..7354db4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "kgdata" -version = "6.3.0" +version = "6.3.1" description = "Library to process dumps of knowledge graphs (Wikipedia, DBpedia, Wikidata)" readme = "README.md" authors = [{ name = "Binh Vu", email = "binh@toan2.com" }]