知识图谱相关工具信息 - bettermorn/KGCourse GitHub Wiki

0.知识表示protege

正式网站

https://protege.stanford.edu/

下载安装

https://protege.stanford.edu/products.php#

快速开始

http://owl.cs.manchester.ac.uk/publications/talks-and-tutorials/protg-owl-tutorial/

讨论社区、参考学习资料

注:需注册github账号并登录后才能获取此文章

1.1知识存储Jena

正式网站

https://jena.apache.org/

下载安装

https://jena.apache.org/download/index.cgi

快速开始

https://jena.apache.org/getting_started/index.html

  • 启动Jena fuseki fuseki-server --loc=store --update /testdb

export PATH=/apache-jena-fuseki-3.14.0path/:$PATH fuseki-server --loc=store --update /testds

讨论社区、参考学习资料

使用Apache jena工具完成装载数据、查询与更新知识图谱 作者:未知 https://github.com/zjunlp/kg-course/blob/master/tutorials/Tutorial-Jena.pdf

Jena 参考代码

Reasoning with Apache Jena and rules and using SHACL (Shapes Constraint Language) to validate resulting RDF graph. :https://github.com/mateuszr/jena-reasoning

1.2 知识存储gStore

正式网站

http://gstore-pku.com/

下载安装

http://gstore-pku.com/pcsite/download-2.html http://gstore-pku.com/pcsite/help-document.html 第三章 安装指南

快速开始

http://gstore-pku.com/pcsite/help-document.html 第六章 workbench使用

讨论社区、参考学习资料

http://gstore-pku.com/pcsite/communicate.html 使用gStore工具完成装载数据、查询与更新知识图谱 作者:未知 https://github.com/zjunlp/kg-course/blob/master/tutorials/Tutorial-gStore.pdf

知识抽取之DeepDive

正式网站

下载安装

快速开始

讨论社区、参考学习资料

知识抽取之DeepKE

正式网站

https://github.com/zjunlp/deepke

下载安装

快速开始

讨论社区、参考学习资料

https://github.com/zjunlp/deepke/wiki

2.知识融合 LIMES

参考 http://openkg.cn/dataset/limes-tutorial

正式网站

http://limes.aksw.org

下载安装

快速开始

http://dice-group.github.io/LIMES/#/user_manual/running_limes?id=using-the-web-ui

讨论社区、参考学习资料

http://dice-group.github.io/LIMES/#/

知识推理Drools

网站

https://www.drools.org/

下载安装

https://download.jboss.org/drools/release/7.33.0.Final/drools-distribution-7.33.0.Final.zip

快速开始

https://docs.jboss.org/drools/release/7.33.0.Final/drools-docs/html_single/index.html#_wb.quickstart

讨论社区、参考学习资料

参考代码

https://github.com/kiegroup/drools/tree/main/drools-examples

知识推理Jena

网站

https://jena.apache.org

下载安装

https://jena.apache.org/download/index.cgi

快速开始

https://jena.apache.org/documentation/inference/#generalExamples

讨论社区、参考学习资料

知识搜索

网站

https://www.elastic.co/

下载安装

https://www.elastic.co/downloads/elasticsearch

快速开始

https://www.elastic.co/guide/en/elasticsearch/reference/current/getting-started.html

讨论社区、参考学习资料

常见问题FAQ

django参考资料

  • 启动django python manage.py runserver 参考 https://docs.djangoproject.com/en/3.0/intro/tutorial01/
  • 无法访问 8000 Invalid HTTP_HOST header: 'localhost:8000'. You may need to add u'localhost' to ALLOWED_HOSTS. project settings.py file,set ALLOWED_HOSTS like this ALLOWED_HOSTS = [ 'localhost', '127.0.0.1']

elasticSearch 问题

  • 创建索引和类型问题

curl -XPUT 'localhost:9200/demo?include_type_name=true' -H 'Content-Type: application/json' -d' { "mappings": { "person": { "properties": { "subj": {"type": "keyword"}, "height": {"type": "integer"}, "weight": {"type": "integer"}, "po":{ "type": "nested", "properties":{ "pred":{"type":"keyword"}, "obj":{"type":"keyword"} } } } } } } '

参考 https://www.elastic.co/guide/en/elasticsearch/reference/current/removal-of-types.html 7.0以后无type这个概念

  • Elasticsearch 7.x
  • Specifying types in requests is deprecated. For instance, indexing a document no longer requires a document type. The new index APIs are PUT {index}/_doc/{id} in case of explicit ids and POST {index}/_doc for auto-generated ids. Note that in 7.0, _doc is a permanent part of the path, and represents the endpoint name rather than the document type.
  • The include_type_name parameter in the index creation, index template, and mapping APIs will default to false. Setting the parameter at all will result in a deprecation warning.
  • The default mapping type is removed.

知识搜索之gAnswer

正式网站

http://ganswer.gstore-pku.com/index.html https://github.com/pkumod/gAnswer/

下载安装

https://github.com/pkumod/gAnswer/blob/master/docs/gAnswer_help.pdf

快速开始

https://github.com/pkumod/gAnswer/blob/master/README_CH.md

讨论社区、参考学习资料

练习需要包含的内容

练习目标:知识和技能

前置知识和技能

练习的流程

准备材料

安装过程

练习步骤:包括输入、操作及得到的输出结果

练习结果:最终的成果

评价练习结果:

常见问题回答FAQ

进一步工作

练习1:

练习2:

练习3:

练习4: