Questions tagged [graph-databases]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1 votes
1 answer
168 views

How to model a ternary relationship in a graph-based paradigm?

Consider a context where we have Users saving Questions and adding personal Tags to them. In a graph-based paradigm, a first approach could be something like: (User)-[SAVES {tags}]->(Question) ...
user avatar
  • 69
-1 votes
1 answer
49 views

Solution design leveraging Graph and Relational database types

Is it viable to leverage both a graph db and a relational db at the same time for the same data sets? Does it even make sense to approach the solution this way? Thinking is i use nodes and ...
user avatar
  • 227
0 votes
1 answer
276 views

How does a database update trigger a notification to application layer?

Application component 1(ap1) record/insert/update a new state in graph database(neo4j) For every new state change in the database, application component 2(ap2) needs to be informed/notified that a new ...
user avatar
  • 2,225
1 vote
1 answer
291 views

Neo4j graph performance: should I cache slow queries in a separate database?

Setup/Intro I have 10k+ nodes in my Neo4j graph in which I need to display a sub-graph (100-500 nodes) between 2 start/end nodes on the frontend app along with info about the critical path and all ...
user avatar
-3 votes
1 answer
66 views

Tracking Graph edges changes history

i have a graph and transactions which change the relationship between the graph nodes and i need to keep tracking of this changes over time. Kinde of queries i need to execute: I want to see the ...
user avatar
1 vote
0 answers
34 views

Queries as a service for other applications (neo4j)

I am new to neo4j and the graph I'm shaping will be used by third party applications for some fixed (cypher) queries - we can think about the classical "Who is friend of Alice?" question. I'd like ...
user avatar
  • 197
1 vote
1 answer
105 views

Data modeling user-object permissions, between claims and metadata

I've been thinking about how to map user claims to permissions in a way that scales from a read and write perspective, probably using a stand-alone service. What we have today doesn't scale for ...
user avatar
  • 145
4 votes
2 answers
997 views

How to properly use a database containing common tables in a multi-application system?

I'm trying to determine the best application and database architecture for a project I am working on. The idea is that there will be multiple, separate applications that will all share a few tables ...
user avatar
3 votes
2 answers
137 views

In a graph database, how do I know whether to use a node, node property or relationship property?

For example, given node types User and Post, and expressing that a user posted something on Twitter, what factors would I need to consider in deciding between: (u:User)-[posted]->(p:Post {platform:...
user avatar
  • 452
5 votes
2 answers
1k views

Is there something "dirty" about using a non-linear store in Event Sourcing?

I just stumbled upon an article by Lucas Majerowicz titled "Add git-like functionality to your application using Event Sourcing". In it, he describes using Event Sourcing with events stored ...
user avatar
  • 161
3 votes
1 answer
877 views

In what way is an XML database different from (is not specialization of) a graph database?

XML is labelled tree, a special case of graphs. So, why there are separate XML databases and why is it that XML is not stored in graph databases? At a first glance it seems so easy - one should map ...
user avatar
  • 1,001
1 vote
1 answer
512 views

graph database - how to avoid that the edge becomes a vertex

In my current project I have a situation where I would need to use an edge collection as vertex collection. I would like to find a way to avoid it. This is the (reduced) scenario. These are the ...
user avatar
4 votes
0 answers
423 views

Graph Database, Storing Transactions

I'm working on getting a handle on Graph Databases (using Neo4j) and am trying to wrap my head around where "the line" is between what makes a good fit for GraphDBs and what should be strictly RDBMSs. ...
user avatar
  • 2,642
1 vote
2 answers
1k views

How to design the datamodel of nested categories connected to a note?

I am building a personal app to store my notes in. It is not a new concept, of course, but it is giving me a great project to learn Node.JS together with trying out a graph database: Neo4j. What I am ...
user avatar
  • 223
9 votes
2 answers
3k views

How Graph DB stores the data?

Recently read couple of Graph DB tutorials. Most of them tell what is Graph DB/when to use/fetch syntax but no where found high level description how GraphDB stores the data internally to understand ...
user avatar
  • 1,856
1 vote
0 answers
756 views

How can I represent my graph schema in a REST interface?

Abstract I'm working on a REST interface to a graph database (Titan/Gremlin-Server, but this shouldn't matter) that has a strong sense of type for vertices and edges. I'd like to design a REST API ...
user avatar
0 votes
2 answers
279 views

Searching, storing, and finding graph attributes and vertices

I've been reading the 3rd edition of [Algorithms][1] by Cormen, Leiserson, Rivest and Stein. For DFS and BFS their algorithm loops through all the vertices first and colors them white. 1) If the ...
user avatar
2 votes
1 answer
119 views

Might this be a good candidate for a graph database? [closed]

We need to create an application that must diff relationships between entities. As an example, let's say we're creating an application to model instances of a disease amongst pets, and we ...
user avatar
  • 31
4 votes
3 answers
6k views

Graph database keeping historical relationships

I'm starting the modeling of the following problem: I have many clients (millions) that interact in a network forming a graph. At the highest granularity of my business problem, each realationship ...
user avatar
4 votes
3 answers
2k views

Relational vs Graph Database for (initially) moderately-sized network

We're developing an application whose data domain (or at least 90% of it) can be modeled effectively using a relational database. We've been using PostgreSQL since the beginning and have had no ...
user avatar
11 votes
1 answer
333 views

Algorithm to generate Edges and Vertexes outwards from origin with max multiplicity of 3

I am creating a 2d game for a website where the universe can grow extremely large (basically infinitely large). Initially, the universe is composed of 6 stars that are an equal distance from the ...
user avatar
  • 111
0 votes
1 answer
132 views

What business value does a semantic platform offer that a graph database doesn't [closed]

We hear a lot about graph databases such as Neo4J and a little less about semantic platforms such as OWLIM and similar triple (or quad) stores. I understand the latter is associated with embedded OWL ...
user avatar
3 votes
1 answer
557 views

How can I model this scenario in a graph database?

I'm developing an application where users can tag resources and it's also important to know who tagged the resource with a specific tag. A graph database seems like a good fit for this and the rest ...
user avatar
  • 39
19 votes
3 answers
31k views

Why would I use ElasticSearch if I already use a graph database?

I don't find any deep explanation on the web about a comparison between ElasticSearch and the graph databases. Both are optimized to traverse data. ElasticSearch seems to be optimized for analytics. ...
user avatar
  • 3,758
2 votes
1 answer
122 views

Which approach would be better for persisting these overridable configuration keys and values? A simple key-value store, or a graph database?

I'm creating a system where there are config keys and values. So for example: config.key = 10 Is an example of a configuration key and a value. These keys can also have overrides based on "...
user avatar
2 votes
2 answers
3k views

Designing a social network with CQRS, graph databases and relational databases in mind

I have done quite an amount of research on the topic so far, but i couldn't come up with a conclusion to make up my mind. I am designing a social network and during my research i stumbled upon graph ...
user avatar
4 votes
2 answers
381 views

How does I/O work for large graph databases?

I should preface this by saying that I'm mostly a front end web developer, trained as a musician, but over the past few years I've been getting more and more into computer science. So one idea I have ...
user avatar
  • 249
3 votes
0 answers
1k views

How to link the data of MongoDB and Neo4j?

I want to implement a system which store the profiles of employee and the resources that they have. There are many types of resources, such as the documents they produced, the techniques they have......
user avatar
  • 151
2 votes
1 answer
294 views

Would a model like this translate well to a document or graph database?

I'm trying to understand what types of models that I have traditionally persisted relationally would translate well to some kind of NoSQL database. Suppose I have a model with the following ...
user avatar
  • 123
10 votes
7 answers
1k views

Nested Entities and calculation on leaf entity property - SQL or NoSQL approach

I am working on a hobby project called Menu/Recipe Management. This is how my entities and their relations look like. A Nutrient has properties Code and Value An Ingredient has a collection of ...
user avatar
  • 203
3 votes
2 answers
362 views

Under which area of Artificial Intelligence is my knowledge store?

I've a maturing idea regarding a knowledge store. For the purposes of this question, the store would be used by a police force for the recording and querying of crimes. I believe that historically,...
user avatar
  • 143
2 votes
1 answer
1k views

Architecture for Social Graph data that has a Time Frame Associated?

I am adding some "social" type features to an existing application. There are a limited # of node & edge types. Overall the data itself is relatively small (50,000 - 70,000 for each type of node)...
user avatar
31 votes
1 answer
28k views

When should you use a document vs relational vs graph database? [closed]

For the purposes of discussion let's consider a FourSquare scenario. Scenario Entities: Users Places Relationships: Checkins: users <-> places, many to many Friends: users <-> users, many ...
user avatar
  • 1,004
4 votes
1 answer
299 views

What are graph datastores better at doing than other datastores and why?

Where previously there was only relational databases, the data store world is now rife with options like Key-Value, Document, and Graph datastores. Unfortunately, every datastore likes to show how it ...
user avatar
  • 322
2 votes
2 answers
514 views

Tool for large scale graph analysis

What are the best tools / frameworks / libraries available to implement and run algorithms on graphs? In particular I need a tool that can load a set of nodes, edges and values assigned to these ...
user avatar
  • 215
1 vote
3 answers
2k views

Is OrientDB document-database? or graph-database?

Some document says OrientDB is document-database, some others talks it's graph-database. What's right?
user avatar
  • 1,689