From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52425) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d8ohL-0000qW-2J for guix-patches@gnu.org; Thu, 11 May 2017 10:04:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d8ohH-0005Mz-U5 for guix-patches@gnu.org; Thu, 11 May 2017 10:04:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:36167) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d8ohH-0005Mb-RW for guix-patches@gnu.org; Thu, 11 May 2017 10:04:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d8ohH-0001nO-HK for guix-patches@gnu.org; Thu, 11 May 2017 10:04:03 -0400 Subject: bug#26807: [PATCH] graph: Add Cypher backend. Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <87fughk7fn.fsf@gnu.org> <87wp9oqvgk.fsf@gnu.org> <878tm3y2i8.fsf@gnu.org> Date: Thu, 11 May 2017 16:03:32 +0200 In-Reply-To: <878tm3y2i8.fsf@gnu.org> (Roel Janssen's message of "Thu, 11 May 2017 14:57:51 +0200") Message-ID: <87bmqztrrf.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Roel Janssen Cc: 26807@debbugs.gnu.org Hi, Roel Janssen skribis: > Ludovic Court=C3=A8s writes: > >> Hello! >> >> Roel Janssen skribis: >> >>> From 0e9c95ef3473fa7066ccd5991b1c14400aaa7076 Mon Sep 17 00:00:00 2001 >>> From: Roel Janssen >>> Date: Sat, 6 May 2017 23:15:03 +0200 >>> Subject: [PATCH] graph: Add Cypher backend. >>> >>> * guix/graph.scm (%cypher-backend): New variable. >> >> If Neo4j is free software and packageable (is it Java?), why not! > > Yes, it's Java, so a lot of work to package. > > Fortunately, there is also AgensGraph which is similar to the PostgreSQL > package, and it supports openCypher as well. So I tried it, and the > queries will work with the latest git checkout of AgensGraph. Their > latest release does not support automatically creating labels for the > nodes and edges, which was fixed in this commit: > > https://github.com/bitnine-oss/agensgraph/commit/5eaecc1d429a08165bb96401= 3ab8ee5516a062e7 > > So I think the output of what my patch produces should be fine for > multiple implementations of openCypher. OK. Do these tools support interactive visualization in addition to graph queries? >> Could you add a few lines in guix.texi under =E2=80=9CInvoking guix grap= h=E2=80=9D? >> Maybe give an example invocation of cypher and explain how it differs >> from the other backends (interactive features maybe?). > > Would the attached patch be fine for the manual? Yes, perfect (please squash it with the patch that adds the new backend). Thank you! Ludo=E2=80=99.