# KGraph
知识图谱是一种具有多种关系的异构有向网络。在已公开的知识图谱中,收集到的知识通常被定义为事件,以三元组的形式进行存储。每个三元组通常被定义为$(h,r,t)$,其中$h$表示头实体,$t$表示尾实体,$r$表示由头实体到尾实体的链路关系。虽然随着人们日常活动产生了大量的知识,但是收集并存储这些海量的知识事件需要花费巨大的人力和时间成本。因此即便是规模超过亿万级的知识图谱仍然存在着大量的缺失事件。因此利用已有的知识,学习到合理高效的知识补全模型,成为当前知识图谱研究中的一个热点。
KGraph旨在帮助研究者快速构建基于数值表示的知识补全模型的工具库。KGraph具有丰富的API,其中包含了当前学术界使用到的主流开源知识图谱数据集,例如FB15k、FB15k-237、WN18、WN18RR、FB13、WN11等,以及高效地评估方法。利用KGraph,知识图谱研究者可以更加专注于对模型本身的研究,而不需要关注繁琐的数据加载、预处理以及评估方法的编写。
可以通过pip进行安装。具体安装命令:pip install kgraph
Metadata
Release files for kgraph 1.1.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 | |
|---|---|---|---|
| kgraph-1.1.0.tar.gz | 1.2 MB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kgraph-1.1.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_31_x86_64.whl | CPython 3.10 | CPython 3.10 | Linux glibc 2.24+ x86-64, Linux glibc 2.31+ x86-64 | Details |
| kgraph-1.1.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl | CPython 3.10 | CPython 3.10 | Linux glibc 2.24+ x86-64, Linux glibc 2.28+ x86-64 | Details |
| kgraph-1.1.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_27_x86_64.whl | CPython 3.10 | CPython 3.10 | Linux glibc 2.24+ x86-64, Linux glibc 2.27+ x86-64 | Details |
Total release size: 3.7 MB
Release files / kgraph-1.1.0.tar.gz
| Download URL | kgraph-1.1.0.tar.gz |
|---|---|
| Size | 1.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f81334094eedb02bd7d16420dad727047f2fb9b03f9403e08aafd697ed64a4b0
|
|
BLAKE2b-256 checksum How to use checksums |
097dc6e368d166f2caa754cde994a372368a5b07cc8b315852e7654d9bf3b8a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Release files / kgraph-1.1.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_31_x86_64.whl
| Download URL | kgraph-1.1.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_31_x86_64.whl |
|---|---|
| Size | 833.9 kB |
| Tags | CPython 3.10 Linux glibc 2.24+ x86-64 Linux glibc 2.31+ x86-64 |
|
SHA-256 checksum How to use checksums |
1ef76a18dfbcd57f16f4d865c82188a3f4897586e1893e6334f2a4f88ce7d01d
|
|
BLAKE2b-256 checksum How to use checksums |
ed6ba046633a02fd22fe1e5b1e72fdd632f067116833742433624b30c7071e46
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Release files / kgraph-1.1.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
| Download URL | kgraph-1.1.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 833.9 kB |
| Tags | CPython 3.10 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
1ed0aca90074e7a84c964a962caff3087916d7e8f341a273b6ab89ba0fc87236
|
|
BLAKE2b-256 checksum How to use checksums |
0a70a09751caac41de6b9b82f130a2573f4665c2c368682e6876b9d265cffdd3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Release files / kgraph-1.1.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_27_x86_64.whl
| Download URL | kgraph-1.1.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_27_x86_64.whl |
|---|---|
| Size | 833.9 kB |
| Tags | CPython 3.10 Linux glibc 2.24+ x86-64 Linux glibc 2.27+ x86-64 |
|
SHA-256 checksum How to use checksums |
cd27ca9d1e79e8f59cd40a9f97afd0c73cd7faa8dadd8048f8646cf9fca4c0a0
|
|
BLAKE2b-256 checksum How to use checksums |
c50d8069176a8a6cc53a5060df37924e292745322a3627b9ff23e06184d97b60
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|