aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--CHANGELOG0
-rw-r--r--bsfs/graph/graph.py4
-rw-r--r--bsfs/graph/schema.nt4
-rw-r--r--test/graph/ac/test_null.py1
5 files changed, 4 insertions, 6 deletions
diff --git a/.gitignore b/.gitignore
index ba88570..c32d36b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -22,6 +22,7 @@ build/
# doc builds
doc/build/
+doc/source/api
# doc extra files
diff --git a/CHANGELOG b/CHANGELOG
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/CHANGELOG
diff --git a/bsfs/graph/graph.py b/bsfs/graph/graph.py
index a74da01..a356533 100644
--- a/bsfs/graph/graph.py
+++ b/bsfs/graph/graph.py
@@ -28,9 +28,7 @@ __all__: typing.Sequence[str] = (
## code ##
class Graph():
- """The Graph class is
-
- The Graph class provides a convenient interface to query and access a graph.
+ """The Graph class provides a convenient interface to query and access a graph.
Since it logically builds on the concept of graphs it is easier to
navigate than raw triple stores. Naturally, it uses a triple store
as *backend*. It also controls actions via access permissions to a *user*.
diff --git a/bsfs/graph/schema.nt b/bsfs/graph/schema.nt
index f619746..cba5e80 100644
--- a/bsfs/graph/schema.nt
+++ b/bsfs/graph/schema.nt
@@ -9,11 +9,11 @@ prefix bsm: <http://bsfs.ai/schema/Meta#>
# literals
bsfs:Number rdfs:subClassOf bsfs:Literal .
-xsd:integer rdfs:subClassOf bsfs:Number .
+xsd:float rdfs:subClassOf bsfs:Number .
# predicates
bsm:t_created rdfs:subClassOf bsfs:Predicate ;
rdfs:domain bsfs:Node ;
- rdfs:range xsd:integer ;
+ rdfs:range xsd:float ;
bsfs:unique "true"^^xsd:boolean .
diff --git a/test/graph/ac/test_null.py b/test/graph/ac/test_null.py
index 7d25980..e33d46a 100644
--- a/test/graph/ac/test_null.py
+++ b/test/graph/ac/test_null.py
@@ -132,7 +132,6 @@ class TestNullAC(unittest.TestCase):
ast.filter.Any(ns.bse.author, ast.filter.Equals('Me, Myself, and I')))
ac = NullAC(self.backend, self.user)
self.assertEqual(query, ac.filter_read(self.ent_type, query))
- return query
## main ##