graph-databases

Cosmos DB - Graph API - Export graphSON and try to import it with Migration tool

梦想的初衷 提交于 2019-12-08 08:43:16
问题 I inserted a few Vertices and Edges in a new graph. I've saved the resulting grapSON in a json file. Then I tried to import that json file into a new graph with the Migration tool. It only partially worked. I had a new graph with my Vertices but they had no properties or Edges like that: { "id": "c39f435b-350e-4d08-a7b6-dfcadbe4e9c5", "label": "user", "type": "vertex", "_isFixedPosition": true, "_isRoot": true } Does anyone knows how to "trick" the migration tool to create new graphs? I'm

flockdb - Has anyone successfully build it from git and installed it

纵饮孤独 提交于 2019-12-08 07:58:19
问题 I tried building flockdb from the sources from git, but couldn't do it. Am using Mac OSX 10.6 and getting lot of issues in thrift/boost installations. Has anyone successfully build it and installed it. Appreciate any pointer to information on doing this (except the one from flockdb git site). Also, I don't know about Scala, but is there any readily available flockdb installation file to install it on Mac/Linux/Windows? Thanks in advance. 回答1: I just successfully installed flockdb on an amazon

How does neo4j perform in time and space complexity for given type of nodes, relationships and queries?

眉间皱痕 提交于 2019-12-08 07:37:45
问题 Consider I'm going to have following things in my graph: 100 Million nodes, More than 1 Billion connections/relationships Node properties: around 10 properties, mix of int, doubles, strings, HashMaps etc. Relationship properties: around 10 double values and 2-3 string (with avg 50 chars) values Now, Suppose I want to update all node and relationship property values, by querying neighbors on each node once. i.e. say as, step1: search a node, say X, with given Id, step2: get it's neighbours,

Neo4j .NET Client - Getting a Path from a Node to its Root

余生长醉 提交于 2019-12-08 06:35:52
问题 I'm experimenting with Neo4j for the first time. I've played a bit with the console (Cypher queries) and now I'm trying to use the .NET client to build a DAL for a .NET application. For now, my data model is very simple: I have nodes with a label "Folder". These nodes may have a "HAS_SUB_FOLDER" relationship with other folder nodes. I've successfully done some queries such as MATCH (n:Folder) OPTIONAL MATCH n<-[r:HAS_SUB_FOLDER]-parent WITH n, count(parent) AS parents WHERE parents = 0 RETURN

Embedded neo4j server and web admin at the same time

独自空忆成欢 提交于 2019-12-08 04:03:48
问题 I followed the instructions at the following links, however, when I run my program and go to http://localhost:7474/ the webpage of the web admin is not available. How to connect to a locally installed neo4j server using Java Neo4j Hello World Tutorial and webadmin Wrapping server bootstrapper is deprecated, what is the alternative? http://devender.wordpress.com/2011/10/17/neo4j-running-embedded-server-with-webconsole/ http://www.markhneedham.com/blog/2013/06/19/neo4j

Orientdb as a document-graph database

你。 提交于 2019-12-08 00:27:23
问题 I am using Neo4j and trying to find out the advantages of Orient as document-graph db over Neo4j. How does it work in Orientdb to have features of a document database in a graphbdb? is the database in both mode (graph and document) using the same datasource? if so, then is it possible to edit data in documentdb and show it as a graphdb? I worked with Orientdb and it seems that you can have your database either as graphdb or as documentdb, so I don't get the point of having both databases

Sparql endpoint for SAIL object

限于喜欢 提交于 2019-12-07 22:09:12
问题 I have created a SAIL object using tinkerpop blueprints to load RDF data into a Graph database. Ive successfully managed to load the data. The Graph database in question does not have a sparql endpoint to run my query mix test driver. Does anyone know if it possible and if so then how to make a sparql endpoint accessible to my test driver java code over an HTTP server? I am aware 4store, BigData and some other stores have their own built in sparql servers for querying. I am wondering if it is

Neo4j database size grows

…衆ロ難τιáo~ 提交于 2019-12-07 18:19:33
问题 Im using neo4j 3.0.1 community, and i have a few GBs of data. Those data very quickly become outdated (like 2,3 times per day) and i have to create new data first, and then delete the old stuff (so at any point in time some data are available). The problem is that neo4j doesnt reuse space from deleted nodes/relationships. Im using MATCH (n) WHERE condition DETEACH DELETE n I can see that nodes are beeing deleted (their number is constant ~30M) but the size is growing (after 12 updates, size

Neo4j slow creation method [closed]

♀尐吖头ヾ 提交于 2019-12-07 17:58:48
问题 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 4 years ago . In my Neo4j/Neo4j Spring Data application I have a following entities: VoteGroup contains relationships VOTED_ON and VOTED_FOR to entities Criterion and Decision and list of Vote @NodeEntity public class VoteGroup extends BaseEntity { private static final String VOTED_ON = "VOTED_ON"; private final static String

Neo4j - NOT IN query

橙三吉。 提交于 2019-12-07 06:07:19
问题 The graph schema I have is (actors)-[:ACTED_IN]->(movies) . I know how to find actors who have worked with a particular actor as below: MATCH (actor {name:"Tom Hanks"} )-[:ACTED_IN]->(movies)<-[:ACTED_IN]-(costars) return distinct costars; I know how to find all the actors who have worked in some movie: MATCH (all_actor)-[:ACTED_IN]->(movies) return distinct all_actor; However I don't know how to find all actors not in costars. How do I go about it? 回答1: As you want to deduct the coactors