graph-databases

How to select optional graph structures with Gremlin?

三世轮回 提交于 2019-11-30 19:32:55
问题 I am using Gremlin to query a graph stored in TitanDB. The graph contains user vertices with properties, e.g., "description", and edges denoting relationships between users. I want to use Gremlin to obtain 1) users by properties and 2) possible relationships to other users. I can use, for example, the following query to obtain all users whose description contains the word 'developer' and the edges with label 'relationship' originating from or targeting these users: g.V('description',CONTAINS,

How to start Titan graph server and connect with gremlin?

和自甴很熟 提交于 2019-11-30 12:47:14
问题 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 StartTheShift/thunderdome. I have seen few ways of starting Titan: Using Rexster from this link, I was able to run a titan server with the following steps: download rexster-server 2.3 download titan 0.3.0 copy all files from titan-all-0.3.0/libs to

ORM with Graph-Databases like Neo4j in Python

五迷三道 提交于 2019-11-30 12:43:16
问题 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 attributes for those entities) and need to store them in a DB, and i think a graph database would fit this task perfectly. Now, with sql-like DBs, i use sqlalchemyś ORM to store my objects, especially because of the fact that i can retrieve objects from the

A graph DB vs a Prolog (or miniKanren)

扶醉桌前 提交于 2019-11-30 11:43:58
问题 Recently I have been looking into graph databases like Neo4j and into logic programming in Prolog and miniKanren. From what I have learned so far, both allow specifying facts and relations between them, and also querying the resulting system for some selections. So, actually I cannot see much difference between them in that they both can be used to build a graph and query it, but using different syntax. However, they are presented as totally different kinds of software. Except the

GUI for building JanusGraph DB [closed]

一笑奈何 提交于 2019-11-30 10:04:41
I am exploring JanusGraph DBs and require visual editing, like MySQL workbench. I found some visual editors for Neo4j . Are there any visual editors for JanusGraph as well? or can those tools be used with JanusGraph? Per JanusGraph's README : To visualize graphs stored in JanusGraph, you can use any of the following tools: Cytoscape Gephi plugin for Apache TinkerPop Graphexp KeyLines by Cambridge Intelligence Linkurious 来源: https://stackoverflow.com/questions/47254804/gui-for-building-janusgraph-db

Storing multiple graphs in Neo4J

老子叫甜甜 提交于 2019-11-30 06:29:49
问题 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

ORM with Graph-Databases like Neo4j in Python

半世苍凉 提交于 2019-11-30 03:24:51
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 attributes for those entities) and need to store them in a DB, and i think a graph database would fit this task perfectly. Now, with sql-like DBs, i use sqlalchemyś ORM to store my objects, especially because of the fact that i can retrieve objects from the db and work with them in a pythonic style (use their methods etc.). Is there any object-mapping

How to start Titan graph server and connect with gremlin?

谁说我不能喝 提交于 2019-11-30 03:08:21
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 StartTheShift/thunderdome . I have seen few ways of starting Titan: Using Rexster from this link , I was able to run a titan server with the following steps: download rexster-server 2.3 download titan 0.3.0 copy all files from titan-all-0.3.0/libs to rexster-server-2.3.0/ext/titan edit rexster-server-2.3.0/rexster.xml and add (between a ): <graph>

A graph DB vs a Prolog (or miniKanren)

此生再无相见时 提交于 2019-11-30 00:17:53
Recently I have been looking into graph databases like Neo4j and into logic programming in Prolog and miniKanren. From what I have learned so far, both allow specifying facts and relations between them, and also querying the resulting system for some selections. So, actually I cannot see much difference between them in that they both can be used to build a graph and query it, but using different syntax. However, they are presented as totally different kinds of software. Except the technicality that databases maybe propose a more space-time effective storage technology, and except that tiny

Graph databases vs. triple stores

梦想的初衷 提交于 2019-11-29 20:58:16
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 the standard API to query the data for third party applications (a la Facebook's or Twitter's) is