Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 3 additions & 11 deletions CONTEXT.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Both approaches are planned and partially implemented. The SDK path is fully fun
|------|-------------|---------|
| Knowledge Engine | KE | The distributed network/platform that enables knowledge exchange between applications |
| Knowledge Directory | KD | Central service that matches and routes knowledge interactions between Smart Connectors |
| Smart Connector | SC | A Java runtime process (usually in a container) that acts as a broker between a KB and the KE network; exposes a REST API |
| Smart Connector | SC | Central service where participants register and that participants query for other participants in the network |
| Knowledge Base | KB | A user's application that holds or requests knowledge; connects to the KE network via a Smart Connector |
| Knowledge Interaction | KI | A declared intent to exchange knowledge — either to provide it (ANSWER/REACT) or request it (ASK/POST) |
| Binding Set | BS | A list of dictionaries mapping SPARQL variable names to RDF N3-encoded values |
Expand Down Expand Up @@ -93,9 +93,6 @@ examples/
settings.yaml # Example YAML config for all four KI types
shared.py # Example logging helper
compose.yaml # Docker Compose for running two SC instances for examples/testing
legacy/ # ← IGNORE: pre-overhaul examples, do not modify

src/legacy/ # ← IGNORE: pre-overhaul implementation, do not modify

tests/
test_ask_and_post.py
Expand Down Expand Up @@ -397,7 +394,7 @@ uv run pytest

- **Python**: ≥ 3.13
- **Package manager**: `uv` (see `uv.lock`)
- **Linter/formatter**: `ruff` (configured in `pyproject.toml`, legacy dirs excluded)
- **Linter/formatter**: `ruff` (configured in `pyproject.toml`)
- **Build system**: `setuptools`

```bash
Expand All @@ -411,12 +408,7 @@ uv run ruff format . # format

## Legacy Code

**Do not modify or reference code in these directories:**

- `src/legacy/` — the pre-overhaul mapper implementation (config-file-driven SQL/SPARQL mapper)
- `examples/legacy/` — examples for the legacy implementation

These are excluded from linting (`ruff`) and are kept for historical reference only. The `mapper-legacy` git tag marks the last legacy release.
The pre-overhaul, config-file-driven mapper implementation has been removed from the repository. The `mapper-legacy` git tag marks the last legacy release and preserves the full history.

---

Expand Down
4 changes: 0 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,3 @@ uv publish
- `tests/` — unit and integration tests
- `examples/` — runnable examples demonstrating features
- `docs/` — documentation assets (architecture diagrams)

## Legacy Code

The directories `src/knowledge_mapper/legacy/` and `examples/legacy/` contain pre-overhaul code kept for historical reference. **Do not modify these.**
28 changes: 0 additions & 28 deletions Dockerfile

This file was deleted.

40 changes: 0 additions & 40 deletions examples/legacy/README.md

This file was deleted.

25 changes: 0 additions & 25 deletions examples/legacy/auth-db/seed_data/0-schema.sql

This file was deleted.

17 changes: 0 additions & 17 deletions examples/legacy/custom-mapper/Dockerfile

This file was deleted.

32 changes: 0 additions & 32 deletions examples/legacy/custom-mapper/config.jsonc

This file was deleted.

18 changes: 0 additions & 18 deletions examples/legacy/custom-mapper/example.py

This file was deleted.

96 changes: 0 additions & 96 deletions examples/legacy/docker-compose.yml

This file was deleted.

17 changes: 0 additions & 17 deletions examples/legacy/dynamic-auth-mapper/Dockerfile

This file was deleted.

45 changes: 0 additions & 45 deletions examples/legacy/dynamic-auth-mapper/config.jsonc

This file was deleted.

17 changes: 0 additions & 17 deletions examples/legacy/dynamic-auth-mapper/example.py

This file was deleted.

Loading
Loading