Using neo4j with scala

I'm new to both Scala and Neo4j. I want to create a Neo4j database using Scala. Is there any resource where i can find some ready made code for creating nodes, deleting nodes, adding properties,...

Is there a way to show cypher execution plan?

I've seen a topic (https://stackoverflow.com/questions/17760627/understanding-neo4j-cypher-profile-keyword-and-execution-plan) where profile keyword is mentioned. I couldn't use it in Neo4j...

How to Uninstall Neo4j from Ubuntu 13.04

How to install Neo4j from a Ubuntu 13.04 system I tried under root privilege "apt-get remove neo4j"... But it didn't work, I can still see neo4j package in my '/etc' folder. What should I do to...

Delete node and its relationships (if it has any) in Neo4j

I'm trying to execute following query: MATCH (movie:Movie {title:"test"})-[r]-() DELETE movie, r to delete a :Movie node and all its relationships. It's all good, except if the query doesn't...

Quoting into Cypher queries using PHP (escaping a string)

I'm using PHP and neoxygen/neo4j-neoclient to build a graph database and looking for a way to escape strings so that I can quote them safely into Cypher queries. I'm aware of the documentation on...

How to return relationship type with Neo4J's Cypher queries?

I am trying to get the relationship type of a very simple Cypher query, like the following MATCH (n)-[r]-(m) RETURN n, r, m; Unfortunately this return an empty object for r. This is troublesome...

Return Boolean value from Neo4j cypher query

I would like to check whether a node exists using its name (instead of its ID). The Cypher query looks like : MATCH (c:Jaguar{name:"JLR 2.5Ltr"})-[:REPRESENTED_BY]->(v) RETURN c IS NOT...

Multiple FROMs - what it means

I want to build a docker image for the Linkurious project on github, which requires both the Neo4j database, and Node.js to run. my first approach was to declare a base image for my image,...

Set null value with Cypher in Neo4j

I am trying to set a null value for a property when I create a node. I tried something like this: CREATE(p:Person {p_id: TOINT(line.`id`) }) SET p.initials = null But that gives me...

Neo4j cypher query builder for PHP

It's been a while and currently there is no query builder for neo4j in PHP. I don't whether this is intentional or they gonna release this feature in the future? I'm gonna start one and just...

Neo4j: How to query in a breadth first search of nodes in a graph

I have got a graph model in neo4j with only one relationship as below: (node1)-[:CONNECTS]->(node2) Have tried the following query but it will give me bi-directional results: MATCH...

Get all path separately from neo4j Cypher

My graph My start node is A . End node is E. What can be the cyper query in neo4j such that I will get the result as path one : A > b > c > d >e path two : A > b > c > f > g > e I have tried : ...

Load CSV file from Dropbox for Neo4j

I saved my csv file on dropbox and I want to Load them on Neo4j. The link for the shared Users Node csv file: https://www.dropbox.com/s/6kibjeea5e4cks1/users.csv?dl=0 This is the cypher USING...

What is the location of the configuration file in Neo4J 3.2?

I just installed Neo4j 3.2.6 on Windows. I am trying to run apoc.load.json. I have moved the plugins folded. They really need to sort this out. I run it and I'm getting this error: Failed to...

User data bash script to start services in EC2 instance not executing

I'm having difficulty getting certain services running within my EC2 instance. I'm using an Amazon Linux AMI, and would like to start neo4j, the graphical database, as a service when my instance...

Neo4j: show only one relationship for every node pair

I have a graph database with a one-to-many relationship. There is a single central node which has one or more relationships of the same kind (but with different properties but in the same...

Fetching all the paths between two nodes using SQL Server Graph 2017

I found many examples of fetching paths between 2 nodes in neo4j and gremlin but could not find any on SQL Server Graph 2017. Though it uses Cypher's Match, I was thinking if it is possible to...

ISSUE IN CONNECTING py2neo v4 to my neo4j server

I want to connect my neo4j's project server to py2neo in jupyter I actually have 2 problems: Given below is a picture of my neo4j browser connected with bolt//:localhost:11004, username: neo4j,...

How to manually input nodes id to select/highlight nodes in visNetwork

I am building a network using visNetwork package in Shiny app. In visNetwork package, there is a nodesIdSelection argument in visOption function to select/highlight the nodes. However, we can only...

neo4j read parquet columnar data

Can neo4j read parquet files directly in some way? I have an edge list with about 20 million entries per day and would like to ingest it. The layout is similar...

Neo4j How to access node's properties in python

I'm able to make a query to a graph database like this from neo4j import GraphDatabase #establish connection graphdp = GraphDatabase.driver(uri="bolt://localhost:7687",...

neo4j generate unique id for existing node

I had the graphical database created a while ago and I found that my Person nodes does not have an ID. Is it possible to generate an unique id for the existing nodes? I see when I use neo4j...

Neo4j - Graph Data Science library - How to cypher-query against a named graph in Graph Catalog?

Creating a named graph from the main Neo4j Graph is documented. Beside, one also knows how to list, drop, check if a named graph already exists, e.g. CALL gds.graph.exists('my-store-graph') YIELD...

Neo4J 4 + Apoc : Unable to set up injection for procedure 'Static'

Getting the following error on neo4j server startup with the apoc plugin. Have copied the jar to the plugins folder. Caused by: org.neo4j.kernel.api.exceptions.ComponentInjectionException:...

Error running npm install, returns This is a bug in `node-gyp`

I am new to Angular and Node. I am trying to execute an project created using Angular, Neo4j. At first, I tried to run it as it is. However, i am givem the following error after opening the...

SQL Server Graph Database - shortest path using multiple edge types

I have done my research on SQL Server GraphDB, but all the contrived examples I've found so far use only a single edge table. It's always Person-friend_of->Person, for example. In my case, I've...

Neo4j: Unsupported administration command: CREATE DATABASE demo

I want create new database 'demo' in neo4j, but I see a bug: I was search but can't find result, can you help me? Thank all!

Can't reach localhost urls provided when running docker images

When I try to run a docker container that starts jupyter with os command inside a script or a neo4J docker image I have a network issue. I either have ERR_SOCKET_NOT_CONNECTED or...

Is neo4j 3.5 impacted by CVE-2021-44228?

I found that only neo4j > 4.2 is impacted by this vulnerability (here and here ) But in neo4j 3.5.21 pom I see a dependency to log4j (here): <dependency> <groupId>log4j</groupId> ...

Why does the same code run at some engines and not in others?

I have a piece of code* that should run properly, but it seems that it only runs in: JSFiddle StackSnippet if you are using Edge It doesn't run in (only tested in my Win 11...