orchestration engine for knowledge graph
Project description
coreason-graph-nexus
The Graph Orchestration & Reasoning Engine
coreason-graph-nexus acts as the "Platinum Layer" Builder and Graph Logic Engine. It bridges the gap between persistent graph storage (Neo4j) and high-speed in-memory reasoning (NetworkX), ensuring robust data ingestion, ontology alignment, and advanced algorithmic analysis.
🚀 Features
- Hybrid Compute Architecture: Seamlessly moves data between Cold Storage (Neo4j) and Hot Compute (NetworkX) for on-demand analysis.
- Projection Engine (The Builder): Declarative ETL pipeline that transforms raw data into a semantic graph, enforcing schema constraints.
- Ontology Resolver (The Librarian): Standardizes entity identities (e.g., merging "Tylenol" and "APAP") with high-performance Redis caching.
- Graph Computer (The Thinker): Executes complex algorithms like PageRank, Betweenness Centrality, and Community Detection in memory.
- Link Predictor (The Analyst): Infers implicit relationships using both heuristic rules and semantic vector embeddings.
📦 Installation
pip install coreason-graph-nexus
🛠️ Usage
Here is a quick example of how to initialize the client and run a PageRank analysis:
from coreason_graph_nexus.adapters.neo4j_adapter import Neo4jClient
from coreason_graph_nexus.compute import GraphComputer
from coreason_graph_nexus.models import GraphAnalysisRequest, AnalysisAlgo
# 1. Initialize Connection
neo4j_auth = ("neo4j", "password")
with Neo4jClient(uri="bolt://localhost:7687", auth=neo4j_auth) as client:
# 2. Initialize the Graph Computer
computer = GraphComputer(client)
# 3. Define Analysis Request
request = GraphAnalysisRequest(
center_node_id="RxNorm:123",
algorithm=AnalysisAlgo.PAGERANK,
depth=2,
write_property="pagerank_score"
)
# 4. Run Analysis
results = computer.run_analysis(request)
print(f"Computed PageRank for {len(results)} nodes.")
📄 License
This software is dual-licensed. It is available under the Prosperity Public License 3.0 for open-source and non-commercial use. Commercial use beyond a 30-day trial requires a separate license.
Copyright (c) 2025 CoReason, Inc.
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 coreason_graph_nexus-0.3.1.tar.gz.
File metadata
- Download URL: coreason_graph_nexus-0.3.1.tar.gz
- Upload date:
- Size: 22.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
260130e9226754db71a9b03fdf7d8518f533cce274a7a008bdff83edad977e6e
|
|
| MD5 |
028cad97c1a577a6f5a8eb242cc9416d
|
|
| BLAKE2b-256 |
a8ab2141382f70ca94b899fbe632bce7821c5bc7601834af3a65c20c2aa8a0d1
|
Provenance
The following attestation bundles were made for coreason_graph_nexus-0.3.1.tar.gz:
Publisher:
publish.yml on CoReason-AI/coreason-graph-nexus
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
coreason_graph_nexus-0.3.1.tar.gz -
Subject digest:
260130e9226754db71a9b03fdf7d8518f533cce274a7a008bdff83edad977e6e - Sigstore transparency entry: 868321744
- Sigstore integration time:
-
Permalink:
CoReason-AI/coreason-graph-nexus@643556a4fe793f4fbe247249e37f5ec88fb8c23b -
Branch / Tag:
refs/tags/v0.3.1 - Owner: https://github.com/CoReason-AI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@643556a4fe793f4fbe247249e37f5ec88fb8c23b -
Trigger Event:
release
-
Statement type:
File details
Details for the file coreason_graph_nexus-0.3.1-py3-none-any.whl.
File metadata
- Download URL: coreason_graph_nexus-0.3.1-py3-none-any.whl
- Upload date:
- Size: 31.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
88bc65cc8a7a7cdf9c37c6becac79b51ef8bac25004ccb37796df15eda997f9a
|
|
| MD5 |
a2f010f1011526efc8710d109200402b
|
|
| BLAKE2b-256 |
47f04e67ba3b22d38e7f02abe65ae50453edcc1a7ce9839d58371dae579cbd3c
|
Provenance
The following attestation bundles were made for coreason_graph_nexus-0.3.1-py3-none-any.whl:
Publisher:
publish.yml on CoReason-AI/coreason-graph-nexus
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
coreason_graph_nexus-0.3.1-py3-none-any.whl -
Subject digest:
88bc65cc8a7a7cdf9c37c6becac79b51ef8bac25004ccb37796df15eda997f9a - Sigstore transparency entry: 868321745
- Sigstore integration time:
-
Permalink:
CoReason-AI/coreason-graph-nexus@643556a4fe793f4fbe247249e37f5ec88fb8c23b -
Branch / Tag:
refs/tags/v0.3.1 - Owner: https://github.com/CoReason-AI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@643556a4fe793f4fbe247249e37f5ec88fb8c23b -
Trigger Event:
release
-
Statement type: