graph-databases

Using as a graph database for finding “friends” of “friends” in MongoDb

谁说我不能喝 提交于 2019-12-21 13:12:49
问题 I have been investigating a graph database and I have found neo4j and although this seems ideal I have also come across Mongodb. Mongodb is not an official graph database but I wondered if it could be used for my scenario. I am writing an application where users can have friends and those friends can have friends etc, the typical social part of a social network. I was wondering in my situation whether Mongodb might suffice. How easy would it be to implement or do I really need to focus on

Using as a graph database for finding “friends” of “friends” in MongoDb

筅森魡賤 提交于 2019-12-21 13:12:09
问题 I have been investigating a graph database and I have found neo4j and although this seems ideal I have also come across Mongodb. Mongodb is not an official graph database but I wondered if it could be used for my scenario. I am writing an application where users can have friends and those friends can have friends etc, the typical social part of a social network. I was wondering in my situation whether Mongodb might suffice. How easy would it be to implement or do I really need to focus on

Using as a graph database for finding “friends” of “friends” in MongoDb

久未见 提交于 2019-12-21 13:11:31
问题 I have been investigating a graph database and I have found neo4j and although this seems ideal I have also come across Mongodb. Mongodb is not an official graph database but I wondered if it could be used for my scenario. I am writing an application where users can have friends and those friends can have friends etc, the typical social part of a social network. I was wondering in my situation whether Mongodb might suffice. How easy would it be to implement or do I really need to focus on

Which Graph Database (Orient or Titan) is good to use with spring and liferay? [closed]

家住魔仙堡 提交于 2019-12-21 05:28:32
问题 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 3 years ago . please help me , I'm quite confuse while deciding to use graph database , I'm developing a Social networking website . so please suggest me which I have to use . I developing this project using spring and liferay 6.2. Please help me . Thanks in advance. 回答1: Titan as product is dead about 2 weeks ago. DataStax

Get visited edges in OrientDB's shortestPath()

不打扰是莪最后的温柔 提交于 2019-12-21 04:55:30
问题 I am new to OrientDB and I want to use the new shortestPath() method to get the edges that are between two vertices. What I do is: OSQLSynchQuery<T> sql = new OSQLSynchQuery<T>("select shortestpath(" + firstVertex + ", " + secondVertex + ").asString()"); List<ODocument> execute = db.query(sql); and what I can only get is [#-2:1{shortestpath:[#8:1, #8:3]} v0] . So, I wanted to know how could I extract the edges (well, only one edge in this case, because these two vertices are directly

Neo4j (or any other graph database) modeling

核能气质少年 提交于 2019-12-21 04:50:46
问题 I'm starting to work with graph databases, and in my team we've started modeling a graph for our software. The problem comes when we try to "document" the model, to see the structure of our database. With SQL databases you only have to look at the SQL schema. We've spent some time reading neo4j blogs and documentation, but we've seen that the usual way to show how a graph works is with a minimal graph showing some sample data (Random samples: sample1, sample2, etc). That's great for

Can RDF model a labeled property graph with edge properties?

最后都变了- 提交于 2019-12-20 15:11:32
问题 I wanted to model partner relationship like the following, which I expressed in the format of labeled property graph. I wanted to use RDF language to express the above graph, particularly I wanted to understand if I can express the label of the "loves" edge (which is an URI to an article/letter). I am new to RDF, and I know the RDF can easily express the node properties in the LPG, but is it possible to conveniently express the edge properties? A bit more context of this question: the reason

Can RDF model a labeled property graph with edge properties?

天涯浪子 提交于 2019-12-20 15:09:14
问题 I wanted to model partner relationship like the following, which I expressed in the format of labeled property graph. I wanted to use RDF language to express the above graph, particularly I wanted to understand if I can express the label of the "loves" edge (which is an URI to an article/letter). I am new to RDF, and I know the RDF can easily express the node properties in the LPG, but is it possible to conveniently express the edge properties? A bit more context of this question: the reason

How to Model Real-World Relationships in a Graph Database (like Neo4j)?

最后都变了- 提交于 2019-12-20 09:17:10
问题 I have a general question about modeling in a graph database that I just can't seem to wrap my head around. How do you model this type of relationship: "Newton invented Calculus"? In a simple graph, you could model it like this: Newton (node) -> invented (relationship) -> Calculus (node) ...so you'd have a bunch of "invented" graph relationships as you added more people and inventions. The problem is, you start needing to add a bunch of properties to the relationship: invention_date

where can I find a neo4j quick tutorial? [closed]

走远了吗. 提交于 2019-12-20 08:10:59
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . I was trying to save directed graphs into databases for further processing and query. And neo4j seems to fit my needs. However, I don