Associative memory and categories based on a directed acyclic graph data structure
Project description
OntoDAG
Associative memory and categories based on a directed acyclic graph data structure
Documentation
- User Guide — installation, tutorial, Python API, command line, web app/REST, file formats, troubleshooting. Start here.
- How It Works Inside — the design in plain language (canonical form, query planning, content-addressed persistence).
- Roadmap — delivered, queued, parked, and research horizon.
docs/SWARM_DESIGN.md,docs/SEMANTIC_CODES.md— engineering design documents.
See also ontodag-fs: any OntoDAG
store can be browsed as a filesystem — paths are category queries, files are
classified objects stored on Swarm, FUSE-mountable (odag-fs, which shares
odag's store settings).
Specification
A Directed Acyclic Graph (DAG) associative storage and category manager in Python. You can store items into a ontodag and recall items from it. To store or "put" an item into a ontodag, you give it a name and a set of other names of already existing items that are its supercategories. To recall or "get", you specify a set of item names to get all items that are subcategories of all these items.
Categories can also carry typed values: declare weight as a dimension
and weight(3kg) becomes an ordinary category whose ordering OntoDAG
computes — odag get 'weight(..5kg)' finds the 3 kg parcel with no edge ever
stored between them, at any threshold, with exact integer arithmetic. Ranges
(1kg..5kg), timestamps and date ranges, hierarchical codes like geohash
cells, and does-it-fit size tuples all work the same way. See
User Guide §4.7 and the design record
docs/DIMENSIONS.md.
Roadmap
The roadmap — what is done, what is queued next, what is parked and why — is in
docs/ROADMAP.md.
Longer-term goals for the database direction (and the features deliberately not
built yet) are in docs/DATABASE_DIRECTION.md; the
day-to-day task list is in CLAUDE.md.
Potential Applications
- Using the ontology graph for content categorization instead of folders
- Replace content tags with a more structured ontology
- Access control (ACT) groups
- Memberships in organizations and gate content based on membership
- Communication channel groups defined by the ontology
- Fostering deals within a universal marketplace for services and goods
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ontodag-0.5.0.tar.gz.
File metadata
- Download URL: ontodag-0.5.0.tar.gz
- Upload date:
- Size: 77.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ee038b0ff5a0d0ec687318daa68f4eacec963cf53ba5dd63107ea5b5bd71c93
|
|
| MD5 |
eb3ff6e262b593c934394bedbea4c5cb
|
|
| BLAKE2b-256 |
5c8453d0e329618ac53bbb569564cdc88b0fd127e984dbc7ef571b52efa50ae8
|
Provenance
The following attestation bundles were made for ontodag-0.5.0.tar.gz:
Publisher:
publish.yml on petfold/ontodag
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ontodag-0.5.0.tar.gz -
Subject digest:
3ee038b0ff5a0d0ec687318daa68f4eacec963cf53ba5dd63107ea5b5bd71c93 - Sigstore transparency entry: 2295627007
- Sigstore integration time:
-
Permalink:
petfold/ontodag@6194aaa763ceb6fa39e76a102f0beebe0c0173bd -
Branch / Tag:
refs/tags/v0.5.0 - Owner: https://github.com/petfold
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@6194aaa763ceb6fa39e76a102f0beebe0c0173bd -
Trigger Event:
push
-
Statement type:
File details
Details for the file ontodag-0.5.0-py3-none-any.whl.
File metadata
- Download URL: ontodag-0.5.0-py3-none-any.whl
- Upload date:
- Size: 44.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f08e4d19683de7baab4daeb0d32c5f26d0a844fe9445dd33ea99cb0b87b51201
|
|
| MD5 |
c456c9eb4747179d36cb6c5400bcc2d0
|
|
| BLAKE2b-256 |
850b8d88c3f3a58a3ad567596a441904ae781807158a05bddeac9d39a602a950
|
Provenance
The following attestation bundles were made for ontodag-0.5.0-py3-none-any.whl:
Publisher:
publish.yml on petfold/ontodag
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ontodag-0.5.0-py3-none-any.whl -
Subject digest:
f08e4d19683de7baab4daeb0d32c5f26d0a844fe9445dd33ea99cb0b87b51201 - Sigstore transparency entry: 2295627093
- Sigstore integration time:
-
Permalink:
petfold/ontodag@6194aaa763ceb6fa39e76a102f0beebe0c0173bd -
Branch / Tag:
refs/tags/v0.5.0 - Owner: https://github.com/petfold
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@6194aaa763ceb6fa39e76a102f0beebe0c0173bd -
Trigger Event:
push
-
Statement type: