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
9
votes
3 answers

Representing (and incrementing) relationship strength in Neo4j

I would like to represent the changing strength of relationships between nodes in a Neo4j graph. For a static graph, this is easily done by setting a "strength" property on the relationship: A --knows--> B | strength | …
DNA
  • 42,007
  • 12
  • 107
  • 146
9
votes
4 answers

Is a graph database better for shortest paths algorithms?

My objective is to write a shortest path algorithm for a road network. Currently my architecture is something like that: I store all the data in the PostGIS enabled PostgreSQL database. I do one SELECT * FROM ways, which takes less than 3 seconds on…
skanatek
  • 5,133
  • 3
  • 47
  • 75
9
votes
1 answer

Storing Graph Databases in Google Cloud

I have a dataset of 6 million entries. Each entry has one-to-many relationship with other entries. Previously this data has been stored in a Neo4J instance. Does Google Cloud provide a product that can store Graph Databases? Or is there a way to…
9
votes
2 answers

JanusGraph + Cassandra (Generic questions)

I have a few questions regarding the integration of the two tools. Not technical questions and how to setup( i will have my fun with that later ) but more on the course of the project and the direction, seeing that JanusGraph is still very young. I…
iocentos
  • 263
  • 4
  • 12
9
votes
2 answers

Best way to connect n nodes to a single node?

I am modelling a graph for an application that I am building currently, where I have n Users connected to n Users, I also have n Posts which can be liked by n Users. So the structure would look something like this, for a given user, if a user likes…
user5170375
9
votes
3 answers

Which community edition graph database supports high-available cluster and has good online query performance?

I am currently building a knowledge graph for an e-commerce company, and it mainly consists of the product category hierarchies, properties, and relations among them. Besides the common relational queries, we care about the following points very…
Derrick Zhang
  • 21,201
  • 18
  • 53
  • 73
9
votes
2 answers

How to access and mutate node property value by the property name string in Cypher?

My goal is to access and mutate a property of a node in a cypher query where the name of the property to be accessed and mutated is an unknown string value. For example, consider a command: Find all nodes containing a two properties such that the…
smartcaveman
  • 41,281
  • 29
  • 127
  • 212
9
votes
1 answer

Get nodes that don't have certain relationship (cypher/neo4j)

I have the following two node types: c:City {name: 'blah'} s:Course {title: 'whatever', city: 'New York'} Looking to create this: (s)-[:offered_in]->(c) I'm trying to get all courses that are NOT tied to cities and create the relationship to the…
Diaspar
  • 567
  • 1
  • 5
  • 12
9
votes
3 answers

Neo4j - Storing Medical symptoms in graph

I am using Neo4j graph database to store medical symptoms and diseases . the purpose behind that is give recommendation of diseases a person can have from the symptoms the user has entered into the system. Right now I have stored various symptoms as…
pawan9977
  • 607
  • 3
  • 6
  • 16
9
votes
3 answers

Titan vertex centric indices vs Neo4j labels

I was trying to make a comparison between these two technologies when approaching this and I was wondering if any of you already have some experience dealing with any or both of them? I am mainly interested in performance numbers when dealing with…
ppareja
  • 730
  • 1
  • 5
  • 16
9
votes
3 answers

Neo4j Design: Property vs "Node & Relationship"

I have a node type that has a string property that will have the same value really often. Etc. Millions of nodes with only 5 options of that string value. I will be doing searches by that property. My question would be what is better in terms of…
Martynas
  • 1,064
  • 10
  • 21
8
votes
3 answers

How to reason or make inferences in Neo4j?

I created a semantic Graph in Neo4j. Is there any possibility to use an OWL reasoner in Neo4j? Or any inference engine? Though it has been mentioned here i can't find any solution or API for this. Thankful for any advice!
Grapheneer
  • 897
  • 8
  • 25
8
votes
1 answer

Should I use TitanDB?

I am thinking of using TitanDB. It seems to really fit our needs (we have full control over the storage engine and we can build it on top of DynamoDB). However I am worried about the fact that the project is not maintained anymore and a fork was…
danielz
  • 1,767
  • 14
  • 20
8
votes
3 answers

Visualizer for Cosmos DB Graph

Does anyone know of a tool to visualize a graph created in Cosmos DB Graph? I'm looking for something like Gephi (https://gephi.org/), or the tool that OrientDB or Neo4j use. I'm looking for something that will "connect" to the database. Gephi…
8
votes
3 answers

Are there any up to date graph databases for android?

Computer science student trying to get my feet wet with android development. I am trying to build an app where I am pretty sure a graph database is going to be required (its an app the creates relationships between user created objects, think of a…