rdf-starbase 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- rdf_starbase/__init__.py +57 -0
- rdf_starbase/ai_grounding.py +728 -0
- rdf_starbase/compat/__init__.py +26 -0
- rdf_starbase/compat/rdflib.py +1104 -0
- rdf_starbase/formats/__init__.py +29 -0
- rdf_starbase/formats/jsonld.py +488 -0
- rdf_starbase/formats/ntriples.py +419 -0
- rdf_starbase/formats/rdfxml.py +434 -0
- rdf_starbase/formats/turtle.py +882 -0
- rdf_starbase/models.py +92 -0
- rdf_starbase/registry.py +540 -0
- rdf_starbase/repositories.py +407 -0
- rdf_starbase/repository_api.py +739 -0
- rdf_starbase/sparql/__init__.py +35 -0
- rdf_starbase/sparql/ast.py +910 -0
- rdf_starbase/sparql/executor.py +1925 -0
- rdf_starbase/sparql/parser.py +1716 -0
- rdf_starbase/storage/__init__.py +44 -0
- rdf_starbase/storage/executor.py +1914 -0
- rdf_starbase/storage/facts.py +850 -0
- rdf_starbase/storage/lsm.py +531 -0
- rdf_starbase/storage/persistence.py +338 -0
- rdf_starbase/storage/quoted_triples.py +292 -0
- rdf_starbase/storage/reasoner.py +1035 -0
- rdf_starbase/storage/terms.py +628 -0
- rdf_starbase/store.py +1049 -0
- rdf_starbase/store_legacy.py +748 -0
- rdf_starbase/web.py +568 -0
- rdf_starbase-0.1.0.dist-info/METADATA +706 -0
- rdf_starbase-0.1.0.dist-info/RECORD +31 -0
- rdf_starbase-0.1.0.dist-info/WHEEL +4 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"""
|
|
2
|
+
RDF-StarBase Storage Layer.
|
|
3
|
+
|
|
4
|
+
High-performance columnar storage with dictionary-encoded terms
|
|
5
|
+
and predicate-partitioned facts.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
from rdf_starbase.storage.terms import (
|
|
9
|
+
TermKind,
|
|
10
|
+
TermId,
|
|
11
|
+
TermDict,
|
|
12
|
+
Term,
|
|
13
|
+
)
|
|
14
|
+
from rdf_starbase.storage.quoted_triples import QtDict, QtId
|
|
15
|
+
from rdf_starbase.storage.facts import FactStore, FactFlags, DEFAULT_GRAPH_ID
|
|
16
|
+
from rdf_starbase.storage.lsm import LSMStorage, PartitionStats
|
|
17
|
+
from rdf_starbase.storage.executor import StorageExecutor, ExpansionPatterns
|
|
18
|
+
from rdf_starbase.storage.reasoner import RDFSReasoner, ReasoningStats
|
|
19
|
+
from rdf_starbase.storage.persistence import (
|
|
20
|
+
StoragePersistence,
|
|
21
|
+
save_storage,
|
|
22
|
+
load_storage,
|
|
23
|
+
)
|
|
24
|
+
|
|
25
|
+
__all__ = [
|
|
26
|
+
"TermKind",
|
|
27
|
+
"TermId",
|
|
28
|
+
"TermDict",
|
|
29
|
+
"Term",
|
|
30
|
+
"QtDict",
|
|
31
|
+
"QtId",
|
|
32
|
+
"FactStore",
|
|
33
|
+
"FactFlags",
|
|
34
|
+
"DEFAULT_GRAPH_ID",
|
|
35
|
+
"LSMStorage",
|
|
36
|
+
"PartitionStats",
|
|
37
|
+
"StorageExecutor",
|
|
38
|
+
"ExpansionPatterns",
|
|
39
|
+
"RDFSReasoner",
|
|
40
|
+
"ReasoningStats",
|
|
41
|
+
"StoragePersistence",
|
|
42
|
+
"save_storage",
|
|
43
|
+
"load_storage",
|
|
44
|
+
]
|