Questions tagged [neo4j]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
11 views

Polyglot Persistence and Data Redundancy

I am building a project that will have a recommendation model I built with TensorFlow. I am using MongoDB as my main database but I read about graph databases like neo4j and some people say that it ...
allennghayoui's user avatar
1 vote
1 answer
28 views

neo4j breadcrumbs query

I want to write a query to receive all parents till root node from any child node, ordered: Here is the graph: I found some solutions, but result have some duplications or nodes weren't ordered. ...
Darii Petru's user avatar
0 votes
0 answers
18 views

How to use Neo4J properly in my Bot?

I will try to explain as much as I can what am I trying to create and maybe you could help me understand how, and should, I use Neo4J for this. The Bot: The idea is a matching bot based on contacts. ...
JamseGoldman's user avatar
0 votes
1 answer
63 views

Postgres JSONs transformation

I would very appreciate your help here, an important question about architecture modification. We use the ETL process to fetch data from external services (for example, Github). Extract the data (e....
Ewen Field's user avatar
2 votes
1 answer
141 views

Best free graph database for order of 500 million nodes [closed]

I am using neo4j community server edition. It takes 1 minute to find nodes connected across 3 layers. Are there other free graph databases which can perform this type of query faster. The dataset is ...
Rohit Raj's user avatar
  • 121
0 votes
0 answers
47 views

Neo4j to MS SQL ETL

There is Neo4j graph database storing devices data, I need those data need to out in MS SQL Reporting Data warehouse database. So essentially, I need conversion from Graph Database into RDMBS strong ...
Bhavesh Harsora's user avatar
0 votes
1 answer
77 views

How to evaluate Database benchmarks ? What to consider given a specific example?

I'm trying to figure out which database to use for a project which is supposed to implement a temporal property graph model and I am looking into some benchmarks for that. I found some papers which ...
L.Rex's user avatar
  • 101
0 votes
1 answer
312 views

Shortest paths on huge graphs: Neo4J or OrientDB?

Kia Ora, I have a program that very frequently requires finding the fastest path (both the node sequence and total cost/length) on graphs containing ~50k nodes. Per run, I require on the order of ...
Jordan MacLachlan's user avatar
1 vote
1 answer
283 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 ...
David A Stumpf's user avatar
1 vote
1 answer
375 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 ...
moi2877's user avatar
  • 19
7 votes
1 answer
312 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 ...
pvgoran's user avatar
  • 171
2 votes
1 answer
354 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 ...
Leftium's user avatar
  • 769
0 votes
1 answer
24 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 ...
simonalexander2005's user avatar
1 vote
0 answers
26 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 ...
drum1440's user avatar
-1 votes
2 answers
294 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 ...
Soap's user avatar
  • 11
0 votes
1 answer
82 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 ...
Matt Camp's user avatar
  • 205
0 votes
0 answers
952 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 ...
Xiiryo's user avatar
  • 101
1 vote
1 answer
155 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 ...
filiprem's user avatar
  • 6,519
1 vote
2 answers
104 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 ...
user3238414's user avatar
1 vote
2 answers
2k 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 ...
JavascriptLoser's user avatar
2 votes
0 answers
382 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` ...
JavascriptLoser's user avatar
0 votes
1 answer
81 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 ...
Christian Sicari's user avatar
0 votes
1 answer
668 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 ...
user avatar
1 vote
0 answers
38 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: ...
Austin Capobianco's user avatar
0 votes
1 answer
366 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 ...
Triet Doan's user avatar
4 votes
2 answers
7k 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 ...
adamM's user avatar
  • 141
0 votes
1 answer
388 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/...
Fattie's user avatar
  • 103
4 votes
1 answer
289 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 ...
Austin Capobianco's user avatar
2 votes
1 answer
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 ...
Thirumal's user avatar
  • 2,388
-1 votes
1 answer
4k 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:...
Thirumal's user avatar
  • 2,388
1 vote
1 answer
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 ...
django09's user avatar
0 votes
2 answers
2k 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 ...
Szőke Szabolcs's user avatar
2 votes
1 answer
2k 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 ...
Marcin Wasilewski's user avatar
2 votes
2 answers
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 ...
Fawn's user avatar
  • 193
4 votes
2 answers
3k 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 ...
Luccas's user avatar
  • 245
1 vote
1 answer
159 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 ...
aNxello's user avatar
  • 113
2 votes
1 answer
157 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: ...
justausr's user avatar
  • 121
2 votes
2 answers
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 ...
JohnnyM's user avatar
  • 121
3 votes
1 answer
992 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?
Aram Bhusal's user avatar
15 votes
1 answer
6k 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 ...
treecoder's user avatar
  • 253