如何使用 Python 将 turle RDF (ttl) 数据导入到 neo4j?当前的 ttl 文件包含 ontology 数据

How to import turle RDF (ttl) data to neo4j using Python? The current ttl file contains ontology data

当前的ttl文件包含ontology个数据。

我参考了以下 link:Import RDF (XML or Turtle) into Neo4j 但没有帮助。

部分取自ttl文件

http://www.semanticweb.org/hp/ontologies/2017/4/untitled-ontology-87#abrasives http://www.semanticweb.org/hp/ontologies/2017/4/untitled-ontology-87#abrasives rdf:type owl:Class .

由于这是一个正在进行的项目,我想将当前文件数据上传到 Neo4j 并创建一个查询接口。欢迎任何其他数据库或解决方法。

谢谢。

最好的办法是使用 neosemantics 插件,它专门用于将 rdf 类型的数据导入 Neo4j。

https://github.com/jbarrasa/neosemantics