Skip to main content

A Python library for relational learning on knowledge graphs.

Project description

# KGraph

知识图谱是一种具有多种关系的异构有向网络。在已公开的知识图谱中,收集到的知识通常被定义为事件,以三元组的形式进行存储。每个三元组通常被定义为$(h,r,t)$,其中$h$表示头实体,$t$表示尾实体,$r$表示由头实体到尾实体的链路关系。虽然随着人们日常活动产生了大量的知识,但是收集并存储这些海量的知识事件需要花费巨大的人力和时间成本。因此即便是规模超过亿万级的知识图谱仍然存在着大量的缺失事件。因此利用已有的知识,学习到合理高效的知识补全模型,成为当前知识图谱研究中的一个热点。

KGraph旨在帮助研究者快速构建基于数值表示的知识补全模型的工具库。KGraph具有丰富的API,其中包含了当前学术界使用到的主流开源知识图谱数据集,例如FB15k、FB15k-237、WN18、WN18RR、FB13、WN11等,以及高效地评估方法。利用KGraph,知识图谱研究者可以更加专注于对模型本身的研究,而不需要关注繁琐的数据加载、预处理以及评估方法的编写。

可以通过pip进行安装。具体安装命令:pip install kgraph

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

kgraph-1.1.0.tar.gz (1.2 MB view details)

Uploaded Source

Built Distributions

kgraph-1.1.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_31_x86_64.whl (833.9 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.24+ x86-64 manylinux: glibc 2.31+ x86-64

kgraph-1.1.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (833.9 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.24+ x86-64 manylinux: glibc 2.28+ x86-64

kgraph-1.1.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_27_x86_64.whl (833.9 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.24+ x86-64 manylinux: glibc 2.27+ x86-64

File details

Details for the file kgraph-1.1.0.tar.gz.

File metadata

  • Download URL: kgraph-1.1.0.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for kgraph-1.1.0.tar.gz
Algorithm Hash digest
SHA256 f81334094eedb02bd7d16420dad727047f2fb9b03f9403e08aafd697ed64a4b0
MD5 53ca786e33b293cf4f35b9783cca3288
BLAKE2b-256 097dc6e368d166f2caa754cde994a372368a5b07cc8b315852e7654d9bf3b8a8

See more details on using hashes here.

File details

Details for the file kgraph-1.1.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for kgraph-1.1.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 1ef76a18dfbcd57f16f4d865c82188a3f4897586e1893e6334f2a4f88ce7d01d
MD5 506144aa0828e466d98b28ff693cb840
BLAKE2b-256 ed6ba046633a02fd22fe1e5b1e72fdd632f067116833742433624b30c7071e46

See more details on using hashes here.

File details

Details for the file kgraph-1.1.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for kgraph-1.1.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1ed0aca90074e7a84c964a962caff3087916d7e8f341a273b6ab89ba0fc87236
MD5 7c75db5465c95c9e1883e882fdba37c1
BLAKE2b-256 0a70a09751caac41de6b9b82f130a2573f4665c2c368682e6876b9d265cffdd3

See more details on using hashes here.

File details

Details for the file kgraph-1.1.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_27_x86_64.whl.

File metadata

File hashes

Hashes for kgraph-1.1.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_27_x86_64.whl
Algorithm Hash digest
SHA256 cd27ca9d1e79e8f59cd40a9f97afd0c73cd7faa8dadd8048f8646cf9fca4c0a0
MD5 de7259728d8203f99bf0fb986fcdba78
BLAKE2b-256 c50d8069176a8a6cc53a5060df37924e292745322a3627b9ff23e06184d97b60

See more details on using hashes here.

Supported by

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