How to reason or draw conclusions in Neo4j?

I have created a semantic graph in Neo4j. Is it possible to use OWL argument in Neo4j? Or any withdrawal mechanism?

Although mentioned here , I cannot find any solution or API for this.

Thanks for any advice!

+3


source to share


2 answers


Maybe you want to see it: click here

I quoted it from this link:



Your main concern if you want to use arguments over a neo4j database is to suck data from neo4j and format it as a set of RDF triplets. Then you can put these RDF triplets into the Jena model. Once you have this jena model in memory you can use the existing jena APIs to use arguments with this model

+4


source


My research in this area is in progress, please see here to see the latest draft of the article, there is a special section "Output on a graph".

I'm looking for an approach neo4j -> Prolog -> neo4j

: the graph (a)-[b]->(c)

can be expressed as a predicate b(a,c)

, so export your .db to .pl and query to SWI Prolog for example. But the hardest part is how to do some (forward) reasoning for reverse import in neo4j.



I am thinking of applying YieldProlog with direct traversal over neo4j db using BOLT prolotocol. I am planning to add special mods for the Yield method to specifically handle the labels and attributes of the graph elements, so my knowledgebases to be described are neo4j databases by design.

+1


source







All Articles