From bdde902ce2c61334679461ad0d6b7d878351fc37 Mon Sep 17 00:00:00 2001 From: Binh Vu Date: Thu, 9 Nov 2023 11:48:02 -0800 Subject: [PATCH] update kgdata --- pyproject.toml | 4 ++-- sand/extensions/wikidata.py | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 5972edb..67d2232 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "web-sand" -version = "3.1.1" +version = "3.1.2" description = "UI for browsing/editing semantic descriptions" authors = ["Binh Vu "] repository = "https://github.com/usc-isi-i2/sand" @@ -15,7 +15,7 @@ sand = 'sand.__main__:cli' [tool.poetry.dependencies] # restricting the upper bound python version to 3.12, due to RestrictedPython dependency. python = ">=3.8,<3.12" -kgdata = "^5.3.1" +kgdata = "^5.3.4" sem-desc = "^5.1.0" peewee = "^3.15.2" Flask = "^2.2.2" diff --git a/sand/extensions/wikidata.py b/sand/extensions/wikidata.py index 43ee653..f5fa816 100644 --- a/sand/extensions/wikidata.py +++ b/sand/extensions/wikidata.py @@ -1,15 +1,11 @@ from dataclasses import dataclass -from itertools import chain from typing import Mapping -from dependency_injector.wiring import Provide, inject from hugedict.misc import identity from kgdata.wikidata import db from kgdata.wikidata.models import WDClass, WDEntity, WDProperty, WDValue from sm.namespaces.wikidata import WikidataNamespace -from sand.config import AppConfig -from sand.helpers.dependency_injection import autoinject from sand.models.base import StoreWrapper from sand.models.entity import Entity, Statement, Value from sand.models.ontology import OntClass, OntProperty, OntPropertyDataType