如何在Neo4j数据库中导入.rdf文件? [英] How to import .rdf file in Neo4j database?
问题描述
我有一个.rdf文件,用于Dgraph以便导入数据和随后的查询,以便在Dgraph Ratel UI中获得关系.
I have a .rdf file which I was used for Dgraph in order to import the data and the subsequently queries in order to get the relations in the Dgraph Ratel UI.
现在,我需要在我的Web应用程序中包含Dgraph不支持的内容(链接).因此,我开始寻找Neo4j.
Now I need to include in my web application for which Dgraph doesn't have support (link). Hence I started looking for Neo4j.
如果没有解决方法,请问谁能帮忙在Neo4j中导入.rdf文件. 谢谢.
Can anyone please help out how to import .rdf file in Neo4j if not what's the workaround. Thanks.
推荐答案
标签属性图(LPG)和RDF图是不同的图数据模型,请参见:
Labeled property graph (LPG) and RDF graph are different graph data models, see:
- RDF三重存储与标记的属性图:有什么区别?耶稣·巴拉萨(Jesus Barrasa)
- 验证是红色鲱鱼由Bob DuCharme
- RDF Triple Stores vs. Labeled Property Graphs: What's the Difference? by Jesus Barrasa
- Reification is red herring by Bob DuCharme
Neo4j仅支持LPG数据模型.但是,有 neosmantics Neo4j插件.
安装后,说:
Neo4j supports LPG data model only. However, there is the neosemantics Neo4j plugin.
After installation, say:
CALL semantics.importRDF(<RDF_file_path>, <RDF_serialization_format>)
在此处.
我建议您对RDF数据使用适当的 triplestore .
I'd suggest you to use a proper triplestore for RDF data.
这篇关于如何在Neo4j数据库中导入.rdf文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!