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

where can I find a neo4j quick tutorial?

I was trying to save directed graphs into databases for further processing and query. And neo4j seems to fit my needs. However, I don't seem to find a good tutorial regarding the following: Creating the database and put data in. Making queries. I…
dacongy
  • 2,504
  • 3
  • 30
  • 48
28
votes
3 answers

Neo4j super node issue - fanning out pattern

I'm new to the Graph Database scene, looking into Neo4j and learning Cypher, we're trying to model a graph database, it's a fairly simple one, we got users, and we got movies, users can VIEW movies, RATE movies, create playlists and playlists can…
Eek
  • 1,740
  • 1
  • 15
  • 24
26
votes
2 answers

Graph databases vs. triple stores

What's currently the best choice to persist graph-like structures? Graph databases (e.g. Neo4j) or RDF triple stores (e.g. Virtuoso)? For example, we have the following use case: the weakly connected graph (similar to the one of scholarly papers in…
Nikita Zhiltsov
  • 654
  • 9
  • 15
26
votes
6 answers

How to decide which NoSQL technology to use?

What is the pros and cons of MongoDB (document-based), HBase (column-based) and Neo4j (objects graph)? I'm particularly interested to know some of the typical use cases for each one. What are good examples of problems that graphs can solve…
Chiron
  • 20,081
  • 17
  • 81
  • 133
26
votes
2 answers

When to not use neo4j?

Neo4j is a great tool for mapping relational data, but I am curious what under what conditions it would not be a good tool to use. In which use cases would using neo4j be a bad idea?
Tim Ferrell
  • 1,348
  • 3
  • 17
  • 40
25
votes
3 answers

What is the difference between triplestores and graph databases?

There are triplestores (semantic databases), and there are general-purpose graph databases. Both are based on the similar concepts of linking one "item" to another via a relationship. Triplestores support RDF and are queried by SPARQL, but such…
Bozho
  • 588,226
  • 146
  • 1,060
  • 1,140
23
votes
3 answers

How to get all connected nodes in neo4j

I want to get list of all connected nodes starting from node 0 as shown in the diagram
chetan dev
  • 611
  • 2
  • 6
  • 16
23
votes
2 answers

FlockDB - What is it? And best cases for it uses

Just came across FlockDB graph database. Details at github /flockDB. Twitter claims it uses FlockDB for the following: Twitter runs FlockDB on a large cluster of machines. we use it to store social graphs (who follows whom, who blocks whom)…
Guru
  • 2,331
  • 6
  • 31
  • 48
22
votes
3 answers

How to start Titan graph server and connect with gremlin?

I've been playing with Titan graph server for a while now. And my feeling is that, despite an extensive documentation, there is a lack of Getting started from scratch tutorial. My final goal is to have a titan running on cassandra and query with…
Mermoz
  • 14,898
  • 17
  • 60
  • 85
21
votes
2 answers

Can graph databases distribute data efficiently across nodes?

If someone builds a database on top of another database, such as twitter has done, does that database inherit the limitations and inefficiencies of the underlying database? I'm specifically interested in titan db (http://thinkaurelius.com) because…
Filip Haglund
  • 13,919
  • 13
  • 64
  • 113
21
votes
2 answers

Hype around graph databases... why?

There is some hype around graph databases. I'm wondering why. What are the possible problems that one can be confronted with in today's web environment that can be solved using graph databases? And are graph databases suitable for classical…
amirouche
  • 7,682
  • 6
  • 40
  • 94
21
votes
6 answers

Represent graph data as a key-value object

I'm starting to dig into graph databases, but i have no idea, how these graphs are stored internally. Let's say i have this graph (taken from Wikipedia): How do i serialize this graph as a key-value object? (a Python dict, for example) I imagine…
Mirzhan Irkegulov
  • 17,660
  • 12
  • 105
  • 166
20
votes
3 answers

ORM with Graph-Databases like Neo4j in Python

i wonder wether there is a solution (or a need for) an ORM with Graph-Database (f.e. Neo4j). I'm tracking relationships (A is related to B which is related to A via C etc., thus constructing a large graph) of entities (including additional…
dorvak
  • 9,219
  • 4
  • 34
  • 43
20
votes
1 answer

How to Model Real-World Relationships in a Graph Database (like Neo4j)?

I have a general question about modeling in a graph database that I just can't seem to wrap my head around. How do you model this type of relationship: "Newton invented Calculus"? In a simple graph, you could model it like this: Newton (node) ->…
Lance
  • 75,200
  • 93
  • 289
  • 503
20
votes
4 answers

Is D3.js the right choice for real-time visualization of Neo4j Graph DB data

I am a CS Research student at UW, and my group is at the point of trying to visualize specific network traffic that is put into a neo4j graph DB in real time. I have read about many different tools such as gephi, cytoscape, rickshaw (based on…