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
1
vote
1 answer

Is it safe to reveal vertex ids to the public?

I want a user to be able to press a button on a webpage and have an edge created that references the vertex. In order to identify the vertex I could either use the Titan vertex id or a custom generated id. Does the vertex id reveal any secrets about…
Ian Warburton
  • 15,170
  • 23
  • 107
  • 189
1
vote
0 answers

How can I avoid losing my Cypher Query?

I have a neo4j database and I use neo4j server and the browser UI (localhost:7474/browser). If I use CCleaner to delete temporary files, I lose every query and stylesheet I saved. I use Google Chrome. Is there a folder in Chrome path where I could…
davide.ferrari
  • 221
  • 2
  • 10
1
vote
2 answers

How can I save a Cypher query *permanently*?

How can I save my Cypher query permanently? Let me explain my problem: I save the query with the button "save" (you can see the "star button" at the top of this image), but when I copy or move the folder of database I loose every query I saved. Any…
RioMario
  • 121
  • 1
  • 5
1
vote
2 answers

a simple query getting stuck

I have a neo4j database with 3~ million nodes and approx 9 million relationships between them. I'm trying to find shortest paths between two given nodes, which can go both ways (relationship directions are not important), with the following…
Ronen Ness
  • 9,923
  • 4
  • 33
  • 50
1
vote
2 answers

Should a vertex 'type' be a property or another vertex?

Here they have set the type as a property on each vertex. However what if I want to give a type some properties itself? In that case wouldn't it make more sense to create a vertex to represent a type and have every other vertex have a 'type' edge?…
Ian Warburton
  • 15,170
  • 23
  • 107
  • 189
1
vote
1 answer

How to import category and add parent relation conditionally from csv using cypher in neo4j

I want to create a Category entity from csv and also create a PARENT relation to the category if the parent_id in the csv is not empty or 0 Sample csv is as…
krishnaraj vr
  • 121
  • 1
  • 7
1
vote
2 answers

orientdb sql update edge?

I have been messing around with orientdb sql, and I was wondering if there is a way to update an edge of a vertex, together with some data on it. assuming I have the following data: Vertex: Person, Room Edge: Inside (from Person to Room) something…
saw
  • 165
  • 1
  • 11
1
vote
1 answer

Neo4j: How to limit subqueries

I just imported the English Wikipedia into Neo4j and am playing around. I started by looking up the pages that link into the Page "Berlin" MATCH p=(p1:Page {title:"Berlin"})<-[*1..1]-(otherPage) WITH nodes(p) as neighbors LIMIT 500 RETURN DISTINCT…
Ole Spaarmann
  • 15,845
  • 27
  • 98
  • 160
1
vote
1 answer

Are there any performance improvements when using static vertices in Titan?

I just read about static vertices in Titan 0.5.0 and I was wondering whether you could get any performance improvements when defining them as such?
ppareja
  • 730
  • 1
  • 5
  • 16
1
vote
1 answer

How do i create relationships for existing nodes by importing csv file in neo4j?

lets say i have created [a],[b],[c],[d] nodes in neo4j. how to create relationships among those nodes by importing csv data. csv data: id,fromNode,toNode,typeOfRelation 1,a,b,KNOWs 2,b,c,FOLLOWS 3,d,a,KNOWS ....
Pavan Kumar Varma
  • 1,413
  • 1
  • 14
  • 22
1
vote
1 answer

Calculate total count of two nodes and number of relations between them in single query using cypher - neo4j

I have a graph with Entities Customer , Product and Relationship ORDERED. Following is the relation between them in Cypher way (Customer)-[:ORDERED]->(Product) I want to calculate total number of product , total number of customer and total number…
krishnaraj vr
  • 121
  • 1
  • 7
1
vote
2 answers

Adding a new user to neo4j

A totally neo4j noob is talking here, I like to create a graph to store a set of users, a typical user is as follows: CREATE (node_1 {FullName:"Peter Parker",FirstName:"peter",FamilyName:"parker"}), (node_2…
nafas
  • 5,283
  • 3
  • 29
  • 57
1
vote
0 answers

java.nio.channels.OverlappingFileLockException when set property for one vertex that indexed using lucene

Get following error when set property for one vertex that indexed using lucene: ERROR [com.thinkaurelius.titan.graphdb.database.StandardTitanGraph] Error while commiting index mutations for transaction [2364] on index:…
huiwenhan
  • 127
  • 8
1
vote
1 answer

Explain the Cayley data format

Where can I find a reference of the Cayley database format? I find it confusing. For example in the demo database of movie info, why do so many values start with "/en"? Why does the following row have '/film' twice and why is there a dot at the…
Ian Warburton
  • 15,170
  • 23
  • 107
  • 189
1
vote
1 answer

How to connect neo4j DB with drupal 7?

We have a problem with connecting Neo4j DB to Drupal 7, is there anyone have a solution or plug-in for it? Requirements for plug-in or solution is: Match of skills (Nodes) Recommendation engine / system Fast response time Possible to change /…
Vijeeth
  • 9
  • 5
1 2 3
99
100