KG Engine v2.0 - Knowledge Graph Engine
Entity Recognition, Relation Extraction, Graph Query and Visualization
Overview
KG Engine v2.0 is an advanced knowledge graph engine with entity recognition, relation extraction, graph query, and visualization capabilities.
Core Features
| Feature | Description |
|---|---|
| Entity Recognition | Automatic entity detection and classification |
| Relation Extraction | Extract relationships between entities |
| Graph Query | SPARQL-like query language for graph traversal |
| Visualization | Interactive graph visualization with multiple layouts |
| Ontology Management | Class hierarchy, property inheritance, relation inference |
Architecture
KG Engine v2.0
├── Contracts # Skill contracts with YAML format
├── Core
│ ├── Bus # Event-driven communication
│ ├── Validator # Constraint validation
│ ├── Contract # Skill contract management
│ └── Coordinator # Skill lifecycle management
├── Schema # Data schema definitions
├── Scripts # Utility scripts
└── Tests # Unit tests
Installation
pip install kg-engine
Quick Start
1. Build Index
kg-engine build_index
2. Query Ontology
kg-engine ontology_cli --help
3. Visualize Graph
kg-engine visualize_graph --output graph.html
Documentation
Requirements
- Python 3.8+
- SQLAlchemy
- NetworkX
- PyYAML
License
MIT License
Contributing
Contributions are welcome! Please open an issue or submit a pull request.
Links
Metadata
Release files for kg-engine 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| kg_engine-2.0.0.tar.gz | 39.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kg_engine-2.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 85.5 kB
Release files / kg_engine-2.0.0.tar.gz
| Download URL | kg_engine-2.0.0.tar.gz |
|---|---|
| Size | 39.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f7e14764655aa6dee4b35a4a3e6ec7c94caa16c5daccd6ef73d3dade67f996fe
|
|
BLAKE2b-256 checksum How to use checksums |
3c8e6e2b0b9871c47f996dd54963c991ee68bfabce64b6f518906e97365ad7e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Release files / kg_engine-2.0.0-py3-none-any.whl
| Download URL | kg_engine-2.0.0-py3-none-any.whl |
|---|---|
| Size | 46.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3b37437ea96971278a8e638b11e8fdd03cc74085c12b7f1f9b9a1ddc6b75a3f5
|
|
BLAKE2b-256 checksum How to use checksums |
26e62683c60cb25bd8724d6ad1ca20bd4f4518a64a0da24e66954e1107491bb5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|