Skip to main content

Knowledge Graph Engine - Entity Recognition, Relation Extraction, Graph Query and Visualization

Project description

KG Engine v2.0 - Knowledge Graph Engine

Entity Recognition, Relation Extraction, Graph Query and Visualization

License: MIT Python PyPI

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

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

kg_engine-2.0.0.tar.gz (39.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kg_engine-2.0.0-py3-none-any.whl (46.1 kB view details)

Uploaded Python 3

File details

Details for the file kg_engine-2.0.0.tar.gz.

File metadata

  • Download URL: kg_engine-2.0.0.tar.gz
  • Upload date:
  • Size: 39.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for kg_engine-2.0.0.tar.gz
Algorithm Hash digest
SHA256 f7e14764655aa6dee4b35a4a3e6ec7c94caa16c5daccd6ef73d3dade67f996fe
MD5 b7ff8b9ae6246de17a171c32a86fe601
BLAKE2b-256 3c8e6e2b0b9871c47f996dd54963c991ee68bfabce64b6f518906e97365ad7e6

See more details on using hashes here.

File details

Details for the file kg_engine-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: kg_engine-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 46.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for kg_engine-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3b37437ea96971278a8e638b11e8fdd03cc74085c12b7f1f9b9a1ddc6b75a3f5
MD5 bd6be27d90fbc3edeb7520f23198cfcb
BLAKE2b-256 26e62683c60cb25bd8724d6ad1ca20bd4f4518a64a0da24e66954e1107491bb5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page