如何在 Neo4j 中进行推理或推断? [英] How to reason or make inferences in Neo4j?
问题描述
我在 Neo4j 中创建了一个语义图.有没有可能在 Neo4j 中使用 OWL 推理器?或者任何推理引擎?
I created a semantic Graph in Neo4j. Is there any possibility to use an OWL reasoner in Neo4j? Or any inference engine?
虽然已经提到这里我找不到任何解决方案或 API.
Though it has been mentioned here i can't find any solution or API for this.
感谢您的建议!
推荐答案
也许你想看这个:点击此处
我从那个链接引用了这个:
Maybe you want to see this:
click here
I quoted this from that link:
如果您想在 Neo4j 数据库上使用推理器,您的主要任务是从 Neo4j 中提取数据,并将其格式化为一组 RDF 三元组.然后您可以将这些 RDF 三元组放入 Jena 模型中.当您在内存中拥有该 jena 模型时,您可以使用现有的 jena API 将推理器与该模型结合使用
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
这篇关于如何在 Neo4j 中进行推理或推断?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!