Regarding Neo4j, as noted in Section 6.5 of https://wiki.opencog.org/w/File:OpenCog_Hyperon.pdf , the sort of pattern matching done efficiently via Cypher does not cover all the critical aspects we need for Atomspace,
To quote a few points from there, " * Deduplication of subgraphs (which complicates solutions of some tasks over ordinary graphs) is still a default choice for many Atomspace tasks * Representation and retrieval mechanisms should be biased towards acyclic hy- pergraphs (and related more general sorts of metagraphs) instead of ordinary graphs, in particular, grounding of variables to a whole subgraphs (expressions) at once is to be supported * Variables in KB should be supported in contrast to graph DBs where these are not part of the infrastructures * Pattern matching should ground variables in KB entries and queries simultaneously " Realizing these limitations one sees that for OpenCog purposes one likely better off w/ more basic key-value or column stores than with graphDBs ... ben ben On Thu, Jul 30, 2020 at 1:45 AM Vitaly Bogdanov <[email protected]> wrote: > > > Or maybe if we could get neo4j to do the pattern matching, and ship back > > only the results. How do you send a pattern-matcher query to neo4j? > > Btw, there is an example of Pattern Matcher implementation built on top of > Neo4j and other graph databases (JanusGraph, SQL, in-memory) which was > developed by Alexander Sherbatiy: > https://github.com/stellarspot/atomspace-storage > > This implementation uses Neo4j as a local storage not remote one and it is > integrated via Neo4j API, so it is not related to the protobuf/zmq discussion. > But it seems very relevant to the overall discussion. All storages are > integrated via same API which is very similar to the opencog/atomspace > BackingStore. > > Best regards, > Vitaly > > -- > You received this message because you are subscribed to the Google Groups > "opencog" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/opencog/586c1c6b-fcf8-4a0f-80b6-adce343d95acn%40googlegroups.com. -- Ben Goertzel, PhD http://goertzel.org “The only people for me are the mad ones, the ones who are mad to live, mad to talk, mad to be saved, desirous of everything at the same time, the ones who never yawn or say a commonplace thing, but burn, burn, burn like fabulous yellow roman candles exploding like spiders across the stars.” -- Jack Kerouac -- You received this message because you are subscribed to the Google Groups "opencog" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/opencog/CACYTDBd780ULV7VBugKE0-7QJmcQPMuz%3DrG1Jt3rcugjkFO-YQ%40mail.gmail.com.
