graph-databases

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

自古美人都是妖i 提交于 2019-11-29 20:12:20
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 D3.js), some others, and D3.js. We are so far going forward with D3.js, but wanted to get the community opinion. We can't use cytoscape because of neo4j, and feel that D3.js would work the best with semi-large data in a fast real-time environment. Suggestions? Perhaps for another question, but also feel free to input: Best way to implement neo4j? Java,

Is it a good idea to use MySQL and Neo4j together?

青春壹個敷衍的年華 提交于 2019-11-29 19:25:43
I will make an application with a lot of similar items (millions), and I would like to store them in a MySQL database, because I would like to do a lot of statistics and search on specific values for specific columns. But at the same time, I will store relations between all the items, that are related in many connected binary-tree-like structures (transitive closure), and relation databases are not good at that kind of structures, so I would like to store all relations in Neo4j which have good performance for this kind of data. My plan is to have all data except the relations in the MySQL

JanusGraph : Please add a key named “ConfigurationManagementGraph” to the “graphs”

≡放荡痞女 提交于 2019-11-29 16:10:15
I get the this error in gremlin console cegprakash@cegprakash:~/workspace/janusgraph-0.2.1-hadoop2$ ./bin/gremlin.sh \,,,/ (o o) -----oOOo-(3)-oOOo----- plugin activated: janusgraph.imports plugin activated: tinkerpop.server plugin activated: tinkerpop.utilities SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/home/cegprakash/workspace/janusgraph-0.2.1-hadoop2/lib/slf4j-log4j12-1.7.12.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/home/cegprakash/workspace/janusgraph-0.2.1-hadoop2/lib/logback-classic-1.1.2.jar!/org/slf4j

Select a node by name in NEO4J in Java

半世苍凉 提交于 2019-11-29 15:40:32
I am working in NEO4J embedded in Java. Say there is a node named NODE_abc and it has a few properties. I want to select the node so that i can get the properties using getProperty(). I want to select the NODE_abc as mynode so that i can use mynode.getProperty() to get the properties of the node "NODE_abc". The name of node "NODE_abc" is stored in a variable, say String str="NODE_abc" I agree with tstorms about indexing and execution of cypher queries. I would point out, however, that node identifiers are ephemeral. They are useful within a limited time window, but then are recycled. So, a

gremlin clone a node and its edges

狂风中的少年 提交于 2019-11-29 08:50:40
Does gremlin provide the ability to clone a vertex for instance v1->v2, v1->v3, v1->v4 how can I simply and efficiently create a new vertex v5 that also has edges that point to v2, v3, v4 (the same places that v1's edges point to) without have to explicitly set them and instead saying something like g.createV(v1).clone(v2) . Note that I am using the AWS Neptune version of gremlin, solution must be compatible with that. A clone step doesn't exist (yet), but it can be solved with a single query. Let's start with some sample data: gremlin> g = TinkerFactory.createModern().traversal() ==

Gremlin - only add a vertex if it doesn't exist

佐手、 提交于 2019-11-29 04:43:51
I have an array of usernames (eg. ['abc','def','ghi'] ) to be added under 'user' label in the graph. Now I first want to check if the username already exists ( g.V().hasLabel('user').has('username','def') ) and then add only those for which the username property doesn't match under 'user' label. Also, can this be done in a single gremlin query or groovy script? I am using titan graph database, tinkerpop3 and gremlin REST server. With "scripts" you can always pass a multi-line/command script to the server for processing to get what you want done. This question is then answered with normal

How to Create Nodes in RNeo4j using Vectors or Dataframes

风格不统一 提交于 2019-11-29 04:33:58
问题 The popular graph database Neo4j can be used within R thanks to the package/driver RNeo4j (https://github.com/nicolewhite/Rneo4j). The package author, @NicoleWhite, provides several great examples of its usage on GitHub. Unfortunately for me, the examples given by @NicoleWhite and the documentation are a bit oversimplistic, in that they manually create each graph node and its associated labels and properties , such as: mugshots = createNode(graph, "Bar", name = "Mugshots", location =

How to import a CSV file into Titan graph database?

跟風遠走 提交于 2019-11-29 02:36:42
Can anyone supply some sample code or hints on how to import a 1MB CSV of nodes, and another 1MB CSV of edges, into Titan graph database running on Cassandra? I've got small CSV files importing via Gremlin, but this doesn't seem appropriate for large files. I've seen Faunus can do this, but I'd like to avoid spending a couple of days setting it up if possible. It looks like BatchGraph might be the way to go ( https://github.com/tinkerpop/blueprints/wiki/Batch-Implementation ) but the example appears to be incomplete. My question was answered at https://groups.google.com/forum/#!topic

Storing multiple graphs in Neo4J

孤人 提交于 2019-11-28 18:24:12
I have an application that stores relationship information in a MySQL table (contact_id, other_contact_id, strength, recorded_at). This is fine if all I need to do is show who a contact's relationships are or even to generate a list of mutual contacts for two contacts. But now I need to generate stats like: 'what was the total number of 2-way connections of strength 3 or better in January 2011' or (assuming that each contact is part of a group) 'which group has the most number of connections to other groups' etc. I quickly found that the SQL for generating these stats became unwieldy real fast

Graph databases vs. triple stores

时光怂恿深爱的人放手 提交于 2019-11-28 17:10:20
问题 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 a collection) with nearly 10M nodes; quite rare updates; critical operations: retrieving particular sub-graphs, updating nodes in a given sub-graph, re-computing link analysis measures (e.g. HITS or PageRank) after updating some nodes. Providing