Questions tagged [graph-databases]

A graph database uses graph structures with nodes, edges, and properties to represent and store information.

A graph database stores nodes and relationships instead of tables, or documents. Data is stored just like you might sketch ideas on a whiteboard. Your data is stored without restricting it to a pre-defined model, allowing a very flexible way of thinking about and using it.

Popular graph database providers

Books

Articles

2926 questions
7
votes
3 answers

Python - Connecting to AWS Neptune

I have created a neptune instance in aws. How can I connect to it now? I tried the the example given in the documentation locally from my laptop. from gremlin_python.structure.graph import Graph from gremlin_python.driver.driver_remote_connection…
7
votes
1 answer

How is data stored in a graph database?

I just learned about graph databases as opposed to relational databases (RDBMS). I went through some resources on the neo4j website and read some chapters in the Oreilly Book on Graph Databases. However i cant get my head around how a graph database…
MST
  • 79
  • 1
  • 5
7
votes
2 answers

Syntax for Entity Framework query to SQL Server 2017 Graph database

Assume I'm working with the graph database from this sample (SQL Server 2017): https://learn.microsoft.com/en-us/sql/relational-databases/graphs/sql-graph-sample I have the following SQL query: -- Find Restaurants that John likes SELECT…
gbdavid
  • 1,639
  • 18
  • 40
7
votes
3 answers

neo4j change relationship target from one node to another

Assume I have this model in neo4j: (n2) -> (n3)-> (n9) /\ | (n4)<-(n1)->(n5)->(n6) | | \/ \/ (n7) (n8) I need a cypher to change relationship between (n1) and (n2) to (n1)…
Arash Mousavi
  • 2,110
  • 4
  • 25
  • 47
7
votes
1 answer

Time Based Graph Data Modeling

I have a data modeling question. The data that I have is basically nodes with relations to other nodes. Nodes have properties. Edges are directional and have properties. I am exploring if a Graph DB like Neo4j will be appropriate or not. The doubt…
Bonton255
  • 2,231
  • 3
  • 28
  • 44
7
votes
2 answers

Modelling Metadata about a Mathematical Calculation in Neo4j

I am new to the forum and just getting started with Neo4J. Apologies for my long winded question and the background information but I think it helps to explain what I am trying to underatand. I often work on Business Intelligence and Data Warehouse…
n4nite
  • 459
  • 4
  • 19
7
votes
2 answers

When developing web applications when would you use a Graph database versus a Document database?

I am developing a web-based application using Rails. I am debating between using a Graph Database, such as InfoGrid, or a Document Database, such as MongoDB. My application will need to store both small sets of data, such as a URL, and very large…
Misha M
  • 10,979
  • 17
  • 53
  • 65
7
votes
3 answers

Storing tags in a graph database

I've found some advice for setting up tagging systems in relational and document databases, but nothing for graph/multi-model databases. I am trying to set up a tagging system for documents (let's call them "articles") in ArangoDB. I can think of…
ropeladder
  • 1,103
  • 11
  • 24
7
votes
3 answers

Neo4J - Creating Relationship on existing nodes

I am new to Neo4J and I am looking to create a new relationship between an existing node and a new node. I have a university node, and person node. I am trying to assign a new person to an existing university. I am trying to following code: MATCH…
user3180997
  • 1,836
  • 3
  • 19
  • 31
7
votes
1 answer

In ArangoDB, will querying, with filters, from the neighbor(s) be done in O(n)?

I've been reading Aql Graph Operation and Graphs, and have found no concrete example and performance explanation for the use case of SQL-Traverse. E.g.: If I have a collection Users, which has a company relation to collection Company Collection…
TruongSinh
  • 4,662
  • 32
  • 52
7
votes
1 answer

DDD/CQRS/ES Implement aggregate member using graph database aka using an immediately consistent readModel as entity collection

Abstract I am modelling a generic authorization subdomain for my application. The requirements are quite complicated as it needs to cope with multi tenants, hierarchical organisation structure, resource groups, user groups, permissions,…
Ludovic C
  • 2,855
  • 20
  • 40
7
votes
2 answers

data model for tree structure (file system): document model vs graph model

I'm evaluating a nosql solution for implement a file system like structure, with millions of items, where key features have to be: speed finding "parents" or "direct childs" or "subtree childs" of an item filtered by n item properties, with page…
Claudio
  • 133
  • 2
  • 11
7
votes
2 answers

What is the graph database that can scale out horizontally, handle large volumes of data, and perform low-latency queries?

Which is the graph database that supports limitless scale out, handles large volumes of data, and can perform low-latency queries? Preferably one that integrates well with Hadoop. I have been reading about couple of products called Neo4J,…
Student
  • 71
  • 2
7
votes
1 answer

How to write a select query or server-side function that will generate a neat time-flow graph from many data points?

NOTE: I am using a graph database (OrientDB to be specific). This gives me the freedom to write a server-side function in javascript or groovy rather than limit myself to SQL for this issue.* NOTE 2: Since this is a graph database, the arrows below…
Devin Young
  • 841
  • 7
  • 21
7
votes
1 answer

ArangoDB: (1 Graph with several Edge Definition) Vs (1 Edge Definition per Graph)

I was wondering if there is any advantage to having several edges definition in one single graph Vs having several graphs each one with a single edge definition. Thanks for you help,
tariqdaouda
  • 2,506
  • 2
  • 13
  • 14