graph-databases

What is the difference between graph-based databases and object-oriented databases?

天涯浪子 提交于 2019-11-28 15:43:15
What is the difference between graph-based databases ( http://neo4j.org/ ) and object-oriented databases ( http://www.db4o.com/ )? I'd answer this differently: object and graph databases operate on two different levels of abstraction. An object database's main data elements are objects, the way we know them from an object-oriented programming language. A graph database's main data elements are nodes and edges. An object database does not have the notion of a (bidirectional) edge between two things with automatic referential integrity etc. A graph database does not have the notion of a pointer

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

依然范特西╮ 提交于 2019-11-28 15:33:39
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . 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

Graph database for .NET [closed]

笑着哭i 提交于 2019-11-28 15:25:20
I've been designing an application, based on .NET/Mono framework, which should make an heavy use of the shortest-path in a graph theories and I would like to use a native solution to traverse the nodes of the graph, instead of implementing surrogate solutions which would be hardly maintainable and would massively affect performances. I've found an application which would be perfect for my scope: neo4j . Unfortunately, this application is purely written in Java code and it's not portable to .NET, because of the massive differences between the two architectures. Is anyone out there knows if is

Graph/Gremlin for social media use case

自作多情 提交于 2019-11-28 14:24:22
Consider instagram feed scenario. I want to get all the posts 'posted' by the people I follow. For each of these posts I want to know whether I have liked it or not and also know which of the other people I follow have liked it (if any). What is the best solution to get this in gremlin (possibly avoiding duplication)? Image for clarity The following just gives the posts 'posted' by USER 2. How to get other information in the same query? g.V().has('ID','USER 2').out('posted') When you ask questions about Gremlin, especially one of this complexity, it is always best to include a Gremlin script

Adjustable, versioned graph database

余生颓废 提交于 2019-11-28 12:32:16
I'm currently working on a project where I use natural language processing to extract emotions from text to correlate them with contextual information. Definition of contextual information: Every information that is relevant to describe an entity's situation in time an space. Description of the data structure I'm looking for: There is a arbitrary number of entities (an entity can either be a person or a group for example (twitter hash tags)) of which I want to track contextual information and their conversations with other entities. Conversations between entities are processed in order to

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

|▌冷眼眸甩不掉的悲伤 提交于 2019-11-28 08:56:22
问题 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

Performance of arbitrary queries with Neo4j

删除回忆录丶 提交于 2019-11-28 07:42:48
I was reading a paper published by Neo4J (a while ago): http://dist.neo4j.org/neo-technology-introduction.pdf and on the 2nd to last page the Drawbacks section states that Neo4J is not good for arbitrary queries. Say I had Nodes of users with the following properties: NAME, AGE, GENDER And the following relationships: LIKE (points to Sports, Technology, etc. NODE) and FRIEND (Points to another USER). Is Neo4J not very efficient in querying something similar to: Find FRIENDS (of given node) that LIKE Sports, Tech, & Reading that were OVER_THE_AGE 21. Therefore, you must first find the FRIEND

gremlin clone a node and its edges

时光总嘲笑我的痴心妄想 提交于 2019-11-28 02:19:20
问题 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. 回答1: A clone step doesn't exist (yet), but it can be solved with a single

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

左心房为你撑大大i 提交于 2019-11-28 01:09:12
问题 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. 回答1: With "scripts" you can always pass a multi-line/command

What scalability problems have you encountered using a NoSQL data store? [closed]

核能气质少年 提交于 2019-11-27 16:33:26
NoSQL refers to non-relational data stores that break with the history of relational databases and ACID guarantees. Popular open source NoSQL data stores include: Cassandra (tabular, written in Java, used by Cisco, WebEx, Digg, Facebook, IBM, Mahalo, Rackspace, Reddit and Twitter) CouchDB (document, written in Erlang, used by BBC and Engine Yard) Dynomite (key-value, written in Erlang, used by Powerset) HBase (key-value, written in Java, used by Bing) Hypertable (tabular, written in C++, used by Baidu) Kai (key-value, written in Erlang) MemcacheDB (key-value, written in C, used by Reddit)