← all repositories
OpenSPG/openspg

Marrying property-graph simplicity with RDF-style semantics

OpenSPG exists because industrial knowledge graphs need formal semantics without drowning in OWL complexity.

2.1k stars Java RAG · SearchOther AI
openspg
Not currently ranked — collecting fresh signals.
star history

What it does

OpenSPG is a Java-based knowledge graph engine that Ant Group and OpenKG built to turn messy enterprise data into structured, machine-understandable knowledge. It models domains through an enhanced property-graph schema, extracts and normalizes entities from both structured and unstructured sources, and reasons over them using a symbolic rule language called KGDSL. The engine also natively supports KAG, linking the graph directly to LLM pipelines for knowledge extraction and reasoning.

The interesting bit

SPG’s core pitch is industrial pragmatism: it keeps the structural simplicity and big-data compatibility of property graphs, but layers on RDF-style semantics—subject models, predicate logic, evolutionary rules—so the result is formally constrained without requiring OWL-level complexity.

Key highlights

  • KNext programmable framework isolates business logic from engine internals and connects to LLMs and graph-learning modules
  • Cloudext adaptation layer allows swapping in custom graph storage, compute engines, and ML frameworks
  • KGDSL provides a symbolic, machine-readable language for logic rules and neural/symbolic fusion
  • Built-in knowledge-construction operators handle entity linking, concept standardization, and normalization across incomplete data
  • Originated from Ant Group’s financial knowledge-graph platform and ships with an official white paper

Caveats

  • Documentation and quick-start tutorials are hosted on Yuque, not in the repository, so navigation is entirely external
  • The README outlines architecture and capabilities but offers no benchmarks, performance numbers, or versioned release details

Verdict

A solid candidate for teams building industrial knowledge graphs that must enforce strict domain logic while ingesting unstructured enterprise data and interfacing with LLMs. Researchers looking for a pure standards-based RDF/OWL stack may find its custom abstractions unnecessary.

Frequently asked

What is OpenSPG/openspg?
OpenSPG exists because industrial knowledge graphs need formal semantics without drowning in OWL complexity.
Is openspg open source?
Yes — OpenSPG/openspg is open source, released under the Apache-2.0 license.
What language is openspg written in?
OpenSPG/openspg is primarily written in Java.
How popular is openspg?
OpenSPG/openspg has 2.1k stars on GitHub.
Where can I find openspg?
OpenSPG/openspg is on GitHub at https://github.com/OpenSPG/openspg.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.