如何在 Neo4j 中进行推理或推理?

How to reason or make inferences in Neo4j?

我在 Neo4j 中创建了一个语义图。有没有可能在 Neo4j 中使用 OWL 推理器?或者任何推理引擎?

虽然已经提到了 here 我找不到任何解决方案或 API 。

感谢任何建议!

也许你想看这个: click here

我引用了那个 link:

Your main task if you want to use reasoners over a neo4j database is going to be to suck data out of neo4j, and format it as a set of RDF triples. You can then put those RDF triples into a Jena Model. When you have that jena model in memory, you can use existing jena APIs to use reasoners with that model

我在这方面的研究正在进行中,请观看here看到最新的文章草稿,有专门的部分Inference on graph

我正在寻找 neo4j -> Prolog -> neo4j 方法:(a)-[b]->(c) 图可以表示为 b(a,c) 谓词,因此将您的 .db 导出到 .pl 并在 SWI Prolog 中查询。但最复杂的事情是:如何为向后导入 neo4j 做一些(直接)推理。

我正在考虑应用 YieldProlog 并使用 BOLT 协议直接遍历 neo4j 数据库。我计划为 Yield 方法添加特殊的 mods 来专门处理图形元素的标签和属性,所以我要描述的知识库是 neo4j 数据库。

如果您正在寻找对图形数据的实用推理,您应该看看 TypeDB,它有一个内置的推理引擎。您可以使用 TypeQL 中的 rules 定义推理逻辑.

P.S。我在构建 TypeDB 的公司 Vaticle 工作 ;)