是否有处理 OWL 的 Python 库?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/1719812/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-11-03 22:56:21  来源:igfitidea点击:

Is there a Python library to handle OWL?

pythonsemantic-webowl

提问by Juanjo Conti

It could be something as big as Jenaor something smaller. Do you know anything?

它可能像Jena一样大,也可能更小。你知道什么吗?

采纳答案by dajobe

Most people use rdflib, but that focuses on RDF, not OWL.

大多数人使用rdflib,但这侧重于 RDF,而不是 OWL。

回答by David K. Hess

What looks to be the only current and active open source package:

看起来是唯一当前和活跃的开源包:

This is a Java package but it has a Python console (via Jython):

这是一个 Java 包,但它有一个 Python 控制台(通过 Jython):

A commercial package that has python support:

一个支持 python 的商业包:

Some packages that are admittedly incomplete:

一些公认不完整的软件包:

Some older packages that appear inactive:

一些看起来不活动的旧包:

回答by utapyngo

Here is a similar question at answers.semanticweb.com: Python OWL2 API which references this one: Is there a tool for reading functional owl syntax in Python? . Answers to both of them mention InfixOWLwhich is a part of FuXi.

这是answers.semanticweb.com 上的一个类似问题:Python OWL2 API引用了这个:Is there a tool for readingfunctional owl syntax in Python? . 解答他们都提到InfixOWL这是一部分伏羲

FuXi does not support RDFLib 3, but there is a ticket as well as some active effortfor making that happen. If you wish to use FuXi right away, you can always switch from RDFLib to layercake("an RDFLib fork readily compatible with FuXi").

FuXi 不支持 RDFLib 3,但有一张票以及一些积极的努力来实现这一点。如果您想立即使用 FuXi,您可以随时从 RDFLib 切换到layercake(“一个与 FuXi 兼容的 RDFLib 分支”)。