openspg-kag
OpenSPG is a Knowledge Graph Engine developed by Ant Group in collaboration with OpenKG, based on the SPG (Semantic-enhanced Programmable Graph) framework. Core Capabilities: 1) domain model constrained knowledge modeling, 2) facts and logic fused representation, 3) natively support KAG...
Science Score: 54.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
✓Academic publication links
Links to: arxiv.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.1%) to scientific vocabulary
Keywords
Repository
OpenSPG is a Knowledge Graph Engine developed by Ant Group in collaboration with OpenKG, based on the SPG (Semantic-enhanced Programmable Graph) framework. Core Capabilities: 1) domain model constrained knowledge modeling, 2) facts and logic fused representation, 3) natively support KAG...
Basic Info
- Host: GitHub
- Owner: OpenSPG
- License: apache-2.0
- Language: Java
- Default Branch: master
- Homepage: https://spg.openkg.cn/en-US
- Size: 13.1 MB
Statistics
- Stars: 1,840
- Watchers: 31
- Forks: 219
- Open Issues: 44
- Releases: 6
Topics
Metadata Files
README.md
OpenSPG
OpenSPG is a knowledge graph engine developed by Ant Group in collaboration with OpenKG, based on the SPG (Semantic-enhanced Programmable Graph) framework, which is a summary of Ant Group's years of experience in constructing and applying diverse domain knowledge graphs in the financial scenarios.
SPG Background
SPG (Semantic-enhanced Programmable Graph): semantic-enhanced programmable framework is a set of semantic representation framework based on property graph precipitated by Ant Knowledge Graph platform after years of supporting business in the financial field. It creatively integrates LPG structural and RDF semantic, which overcomes the problem that RDF/OWL semantic complexity cannot be industrially landed, and fully inherits the advantages of LPG structural simplicity and compatibility with big data system. The framework defines and represents knowledge semantics from three aspects. First, SPG explicitly defines the formal representation and programmable framework of "knowledge", so that it can be defined, programmed, understood and processed by machines. Secondly, SPG achieves compatibility and progressive advancement between knowledge levels, supporting the construction of knowledge graphs and the continuous iterative evolution of incomplete data states in industrial-level scenarios. Finally, SPG serves as an effective bridge between big data and AI technology systems, facilitating the efficient transformation of massive data into knowledge-based insights. By doing so, it enhances the value and application potential of the data. With the SPG framework, we can construct and manage graph data more efficiently, and at the same time, we can better support business requirements and application scenarios. Since SPG framework has good scalability and flexibility, new business scenarios can quickly build their domain models and solutions by extending the domain knowledge model and developing new operators.
For a detailed introduction to SPG, please refer to the 《SPG White Paper》 jointly released by Ant Group and OpenKG.
OpenSPG
OpenSPG is an open engine for knowledge graph designed and implemented on the basis of SPG framework, which provides explicit semantic representations, logical rule definitions, operator frameworks (construction, inference) and other capabilities for the domain knowledge graphs, and supports pluggable adaptation of basic engines and algorithmic services by various vendors to build customized solutions.
OpenSPG Core Capabilities:
- SPG-Schema semantic modeling
- Schema framework responsible for semantic enhancement of property graphs, such as subject models, evolutionary models, predicate models, etc.
- SPG-Builder knowledge construction
- Supports the construction of both structured and unstructured knowledge.
- Compatible and articulated with big data architecture, provides a knowledge construction operator framework to realize the conversion from data to knowledge.
- Abstracts the knowledge processing SDK framework, provides the ability of entity linking, concept standardization and entity normalization operators, combines Natural Language Processing (NLP) and deep learning algorithms, improves the uniqueness level of different instances within a single type. Furthermore, it supports the continuous iterative evolution of the domain knowledge graphs.
- SPG-Reasoner logical rule reasoning
- Abstracts KGDSL (Knowledge Graph Domain Specific Language) to provide programmable symbolic representation of logic rules.
- Supports downstream tasks, such as rule inference, neural/symbolic fusion learning, KG2Prompt linked LLM knowledge extraction/knowledge reasoning, represented in machine-understandable symbolic form.
- Define dependency and transfer between knowledge through predicate semantics and logic rules, and support modeling and analysis of complex business scenarios.
- Programmable Framework -- KNext
- As a programmable framework of knowledge graph, KNext offers a set of extensible, procedural, and user-friendly components;
- It abstracts the core capabilities of knowledge graphs, congealing them into componentized, framework-oriented, and engine-built-in capabilities;
- Achieves isolation between the engine and business logic, domain models, facilitating rapid definition of knowledge graph solutions for businesses;
- Constructs a controllable AI technology stack driven by knowledge, based on the OpenSPG engine, connecting deep learning capabilities such as LLM and GraphLearning.
- Cloud Adaptation Layer -- Cloudext
- Business systems build their own characteristic business front-end by interfacing with open SDKs
- Extensible/adaptable customized graph storage/graph calculation engine
- Extensible/adaptable machine learning framework suitable for their own business characteristics
How to use
Get Started
- Install OpenSPG
- Quick start with examples:
Advanced tutorials
How to contribute
Cite
If you use this software, please cite it as below: * KAG: Boosting LLMs in Professional Domains via Knowledge Augmented Generation * KGFabric: A Scalable Knowledge Graph Warehouse for Enterprise Data Interconnection
```bibtex @article{liang2024kag, title={KAG: Boosting LLMs in Professional Domains via Knowledge Augmented Generation}, author={Liang, Lei and Sun, Mengshu and Gui, Zhengke and Zhu, Zhongshu and Jiang, Zhouyu and Zhong, Ling and Zhao, Peilong and Bo, Zhongpu and Yang, Jin and others}, journal={arXiv preprint arXiv:2409.13731}, year={2024} }
@article{yikgfabric, title={KGFabric: A Scalable Knowledge Graph Warehouse for Enterprise Data Interconnection}, author={Yi, Peng and Liang, Lei and Da Zhang, Yong Chen and Zhu, Jinye and Liu, Xiangyu and Tang, Kun and Chen, Jialin and Lin, Hao and Qiu, Leijie and Zhou, Jun} } ```
License
OpenSPG Core Team
Lei Liang, Mengshu Sun, Zhengke Gui, Zhongshu Zhu, Zhouyu Jiang, Ling Zhong, Peilong Zhao, Zhongpu Bo, Jin Yang, Huaidong Xiong, Lin Yuan, Jun Xu, Zaoyang Wang, Zhiqiang Zhang, Wen Zhang, Huajun Chen, Wenguang Chen, Jun Zhou, Haofen Wang
Owner
- Name: OpenSPG
- Login: OpenSPG
- Kind: organization
- Repositories: 1
- Profile: https://github.com/OpenSPG
Open Semantic-enhanced Programmable Graph
Citation (CITATION.cff)
cff-version: 1.2.0 message: "If you use this software, please cite it as below." authors: - family-names: "Liang" given-names: "Lei" - family-names: "Sun" given-names: "Mengshu" - family-names: "Gui" given-names: "Zhengke" - family-names: "Zhu" given-names: "Zhongshu" - family-names: "Jiang" given-names: "Zhouyu" - family-names: "Zhong" given-names: "Ling" - family-names: "Zhao" given-names: "Peilong" - family-names: "Bo" given-names: "Zhongpu" - family-names: "Yang" given-names: "Jin" title: "KAG: Boosting LLMs in Professional Domains via Knowledge Augmented Generation" version: 1.0.1 publication: arXiv preprint arXiv:2409.13731 year: 2024 url: https://arxiv.org/abs/2409.13731 doi: arXiv:2409.13731
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 108
- Total pull requests: 30
- Average time to close issues: 30 days
- Average time to close pull requests: 3 months
- Total issue authors: 90
- Total pull request authors: 16
- Average comments per issue: 1.26
- Average comments per pull request: 0.23
- Merged pull requests: 10
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 108
- Pull requests: 25
- Average time to close issues: 30 days
- Average time to close pull requests: 14 days
- Issue authors: 90
- Pull request authors: 13
- Average comments per issue: 1.26
- Average comments per pull request: 0.2
- Merged pull requests: 10
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- bijinacm (19)
- billc114 (16)
- AnYingLieShouTuT (9)
- zhanglih (7)
- lizhongxiang12138 (7)
- LLL1st (6)
- serendipitytoys (5)
- Funer100 (4)
- ProphetMo (4)
- w00125533 (4)
- Joyce-ZhouY (4)
- suibianha (4)
- zhangcongxiao (4)
- zhui6688 (4)
- the-butterfly (4)
Pull Request Authors
- fishjoy (30)
- baifuyu (20)
- youdonghai (18)
- andylau-55 (18)
- royzhao (16)
- ChengyaoWen (16)
- wangsff (15)
- J1ers (12)
- matthewhyx (5)
- caszkgui (4)
- xionghuaidong (4)
- zhuzhongshu123 (3)
- ZhanGHanG9991 (3)
- chenbin11200 (3)
- northmachine (3)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 3
-
Total downloads:
- pypi 217 last-month
-
Total dependent packages: 1
(may contain duplicates) -
Total dependent repositories: 0
(may contain duplicates) - Total versions: 50
- Total maintainers: 3
pypi.org: openspg-nn4k
nn4k
- Homepage: https://github.com/OpenSPG/openspg
- Documentation: https://openspg-nn4k.readthedocs.io/
- License: apache-2.0
-
Latest release: 0.0.3
published over 1 year ago
Rankings
Maintainers (2)
pypi.org: openspg-kag
kag
- Homepage: https://github.com/OpenSPG/openspg
- Documentation: https://openspg-kag.readthedocs.io/
- License: apache-2.0
-
Latest release: 0.8.0
published 8 months ago
Rankings
Maintainers (3)
pypi.org: openspg-knext
knext
- Homepage: https://github.com/OpenSPG/openspg
- Documentation: https://openspg-knext.readthedocs.io/
- License: apache-2.0
-
Latest release: 0.0.3
published over 1 year ago