Questions tagged [neo4j]

Neo4j is a graph database, reliable and fast for managing and querying highly connected data.

Filter by
Sorted by
Tagged with
14
votes
1answer
5k views

Amount of data per node in Neo4j

I need to store substantial amounts of data per node in Neo4j. The data is Unicode chunks of text. Actually not every node will have big chunks, but many of them will. I waded through the ...
4
votes
2answers
4k views

Neo4J community edition DB size limit?

The Neo4J site states that the community version of Neo4J has a limit in the graph size, but does not state the limit of the community version. https://neo4j.com/editions/ What is the size limit of ...
4
votes
1answer
154 views

Which allows for faster queries in a graph database: a node with multiple properties, or a node that points to multiple nodes?

I just started using Neo4j and I don't know when it'd be best to add properties to a node vs when to create more nodes. I'd assume for simple things like x and y coordinate data, it's better to use ...
3
votes
1answer
959 views

What happens if we copy neo4j's data folder while the server is running?

If my neo4j server is running and I copy the data folder using copy/rsync folder, what are the chances of data corruption?
3
votes
1answer
87 views

Do any of the graph based/aware databases have good mechanisms for maintaining referential integrity?

Do any of the graph-based/graph-aware databases (Neo4j, ArangoDB, OrientDB, or other) have mechanisms for maintaining referential integrity on a par with those offered by relational databases? I'm ...
2
votes
2answers
2k views

Is Neo4j 2 replication architecture a master-slave or multi-master?

In the new docs of Neo4j (23.1. Architecture) it says that: When running Neo4j in HA mode there is always a single master and zero or more slaves. Compared to other master-slave replication ...
2
votes
1answer
2k views

How do I escape backslashes and forward slashes in Neo4J Cypher?

When I run, MATCH (p:person {id:'1'}), (a:Address {street:"11\34, Wall street"})RETURN p, a; Invalid input 'S': expected '\', ''', '"', 'b', 'f', 'n', 'r', 't', '_', '%', UTF16 or UTF32 How do I ...
2
votes
2answers
1k views

How to perform ETL from RDBMS to Neo4j

I have a mature 50+ tables web application based on mySQL. In order to do some advanced data mining I want to use Neo4j and the goodnes of cypher. However I'm having a hard time migrating my data from ...
2
votes
1answer
148 views

How can I model this problem in a graph database?

I have a project that I'm working on where I extract data from PDFs and map/visualize the relationships between the extracted pieces. Here's an example of my problem: file: 11425646.pdf author: ...
2
votes
1answer
1k views

Neo4j service won't start with an imported database on Debian

I've been playing around with neo4j recently on my Debian 7.8 install. It's awesome! Today I imported around 100000 nodes and 75000 relationships using neo4j-import tool. I stopped the neo4j service ...
2
votes
2answers
2k views

new Neo4j install: “No authorization header supplied” even after editing config file

I just installed Neo4j today to play around on my Ubuntu EC2 instance, and I'm having two problems. First, the ubuntu install did not create a neo4j command so I'm not able to issue commands from the ...
1
vote
1answer
152 views

Use Database to Store Data Extracted From Internet

I'm mining 500 million users, and their "followers" from a social network using their API. The extraction of data itself is not a problem, since I can do it with my scripts. However having 500 million ...
1
vote
2answers
56 views

neo4j taking 12 hours to load

I'm loading the panama papers into neo4j using this tutorial,and the last step, loading the edges, has been running for 12 hours. This is the import statement. USING PERIODIC COMMIT LOAD CSV WITH ...
1
vote
2answers
626 views

How to deal with a person that may have multiple alias names?

I am designing a neo4j database which will be primarily be used to store information about people. One of the requirements is that it must be able to store an alias name of a person. I'm having ...
1
vote
1answer
1k views

Cannot start both neo4j development and neo4j test servers

I have a Rails application backed by a Neo4j database. I've installed both a development server and a test server, as explained here and here. Each server works fine when started up alone, but if I ...
1
vote
1answer
77 views

How to start Neo4j on Azure

I'm running Neo4j v4.x on an Azure VM (Linux Ubunto 16.04). Everything was running fine until my project required a resizing for more storage. This seemingly went well as I proceeded to load data, but ...
1
vote
1answer
18 views

How to maintain order when modeling outline in graph database?

(TaskPaper) outlines have a natural hierarchy relationship, so a graph database seems like a great fit. Each item in the outline is a node of the graph that points to its parent and children. I also ...
1
vote
0answers
16 views

in Neo4j my Cypher query pulls data from most recently loaded object, not the one specified

I believe this code demonstrates a bug in this software. But given my lack of experience with Neo4j, maybe something is coded incorrectly. I would like to know if the unexpected output is due to a ...
1
vote
1answer
116 views

Neo4j import performance [closed]

I have a Neo4j 3.5.3 installation on my Ubuntu laptop (which is Intel i5, 4 GB RAM, SSD disk) and I'm trying to import a moderate-sized dataset from CSV files into the graph. Here is the full Cypher ...
1
vote
0answers
231 views

How to represent recursive relationships in a graph database?

I am designing a database schema diagram for a Neo4j database. This is what I have so far: This is the cypher code: CREATE (`0` :Person {FirstName:'string',LastName:'string',DOB:'long'}) , (`1` ...
1
vote
0answers
16 views

How can I detach a specific relationship to a node then “move” it to another node in a graph database?

I'm trying to make a game using the neo4j graph database as an experiment. Some nodes are Users and some nodes are Rooms. Rooms have a CONTAINS relationship to Users so the database has a lot of this: ...
0
votes
1answer
289 views

How to design a graph database in this scenario?

here is my scenario. I have a pre-defined data type structure for books. Just take it as an example for the sake of simplicity. The structure looks like the image below. It's a Labeled Property Graph ...
0
votes
1answer
35 views

Create phone call with Mockaroo for Neo4j

I'm following this guide to create a dataset with a call log. But i don't understand the datatype used for the Date fields and the condition for Start_Date, End_Date and Duration to have coerent ...
0
votes
1answer
358 views

cypher query to find Employee nodes who have all the Skills

I'm trying to write a cypher query to find the first name of 'Employee' nodes who 'Has' all the Skills (have relationship with all the nodes with the 'Skill' label). This is my data model: I managed ...
0
votes
1answer
198 views

neo4J - sandbox doesn't work?

I've been fooling with neo4j: however, it appears the sandbox feature is just completely broken? simply click here https://auth.neo4j.com/index-sandbox-v2.html# or perhaps https://auth.neo4j.com/...
0
votes
2answers
1k views

Preferred database solution for storing sensor data

As a hobby project I am developing a system which stores data from different kind of sensors around the house. Currently it is implemented using ASP.Net MVC 6 and MongoDB for the database. (I choose ...
0
votes
0answers
4 views

Undoing the SET statement in neo4j cypher language [closed]

I was testing out querying in cipher and used the set statement to set all records of a table to a certain value. I'm not sure how to reset this. Any suggestions on how I could do this?
0
votes
0answers
13 views

Failed to read from defunct connection (Jupyter notebook, python driver )

I try to import data into a Neo4j VM in Azure. This code works: def create_article(tx): tx.run("CREATE (a:ARTICLE)") session.read_transaction(create_article) But this code doesn't work:...
0
votes
0answers
27 views

Neo4j: ERR_CONNECTION_REFUSED after restarting a neo4j community created in Azure VM

I have installed Neo4j community edition on a VM in Azure. I did this: 0 I tried to install Neo4j community edition on a VM in Azure, I can't access it in the browser. I did this: Created a virtual ...
0
votes
0answers
36 views

How to install GDS plugin in a Neo4j virtual machine created in Azure?

I have a project working in my laptop. My data is in Neo4j desktop database. I also use the plugin Graph Data Science (GDS) I would like to work in a Neo4j VM but I have to install GDS in the VM. I ...
0
votes
1answer
47 views

Hierarchical data with versioning

I have a domain where I deal with data which has a parent/child relationship, of arbitrary depth. Also, full time traversal needs to be enabled, to show the state of the data at a specific point in ...
0
votes
1answer
14 views

layout neo4j graph based on points

I have a neo4j database with some data stored in Points (e.g. coordinates: point({srid:4326, x:-4.224099535439225, y:52.10621881941465})). I want the neo4j browser to honour these points when laying ...
0
votes
1answer
44 views

Neo4j Temporal Query with NaT

I am trying to do a temporal query similar to below: MATCH (n:Event) WHERE datetime(n.date) = datetime("2019-01-01") RETURN n But some NaT values have snuck into my n.date property. Is there any way ...
0
votes
0answers
688 views

What can Neo4j do that ArangoDB can't?

I'm in the process of choosing a database for a project related to biology and medicine. The main added value of a graph database will be the ability to explore and weight the relationship between ...
-1
votes
1answer
3k views

Neo4j cypher query error :Invalid input 'Q': expected 't/T'

Getting Error (Invalid input 'Q': expected 't/T') while executing matching cypher query in Neo4j. MATCH (company:COMPANY {name:'`X'SQUIRE COMMUNICATIONS PRIVATE LIMITED'}), (cin:...
-1
votes
2answers
30 views

Graph Database - data modelling - linking multiple pairs of nodes using the same edge?

I am trying understand the concepts, which apply to data modeling using Graphs - specifically on SQL Server 2019. One thing I am unsure of is can the same edge be used to connect different pairs of ...