aboutsummaryrefslogtreecommitdiffstats
path: root/bsie/utils
diff options
context:
space:
mode:
authorMatthias Baumgartner <dev@igsor.net>2022-12-18 13:37:59 +0100
committerMatthias Baumgartner <dev@igsor.net>2022-12-18 13:37:59 +0100
commit057e09d6537bf5c39815661a75819081e3e5fda7 (patch)
tree0a59bbfe1c44d3497daad9f25ff9e7eb2bf9eb82 /bsie/utils
parent5850ff2bcb1052883cf301590126609b0657fbc9 (diff)
downloadbsie-057e09d6537bf5c39815661a75819081e3e5fda7.tar.gz
bsie-057e09d6537bf5c39815661a75819081e3e5fda7.tar.bz2
bsie-057e09d6537bf5c39815661a75819081e3e5fda7.zip
adaptions to updates in bsfs
Diffstat (limited to 'bsie/utils')
-rw-r--r--bsie/utils/bsfs.py2
-rw-r--r--bsie/utils/namespaces.py8
2 files changed, 6 insertions, 4 deletions
diff --git a/bsie/utils/bsfs.py b/bsie/utils/bsfs.py
index c48049d..0b88479 100644
--- a/bsie/utils/bsfs.py
+++ b/bsie/utils/bsfs.py
@@ -9,6 +9,7 @@ import typing
# bsfs imports
from bsfs import Open, schema
+from bsfs.apps.init import init_sparql_store
from bsfs.namespace import Namespace
from bsfs.utils import URI, typename, uuid
@@ -17,6 +18,7 @@ __all__: typing.Sequence[str] = (
'Namespace',
'Open',
'URI',
+ 'init_sparql_store',
'schema',
'typename',
'uuid',
diff --git a/bsie/utils/namespaces.py b/bsie/utils/namespaces.py
index d6e1c72..a29fc1b 100644
--- a/bsie/utils/namespaces.py
+++ b/bsie/utils/namespaces.py
@@ -11,10 +11,10 @@ import typing
from . import bsfs as _bsfs
# constants
-bse = _bsfs.Namespace('http://bsfs.ai/schema/Entity#')
-bsfs = _bsfs.Namespace('http://bsfs.ai/schema/')
-bsm = _bsfs.Namespace('http://bsfs.ai/schema/Meta#')
-xsd = _bsfs.Namespace('http://www.w3.org/2001/XMLSchema#')
+bse = _bsfs.Namespace('http://bsfs.ai/schema/Entity')
+bsfs = _bsfs.Namespace('http://bsfs.ai/schema', fsep='/')
+bsm = _bsfs.Namespace('http://bsfs.ai/schema/Meta')
+xsd = _bsfs.Namespace('http://www.w3.org/2001/XMLSchema')
# export
__all__: typing.Sequence[str] = (