graph-databases

Fast in-memory graph database

五迷三道 提交于 2021-01-28 03:54:30
问题 Does anyone know of a good solution out there that can deal with processing a graph of interconnected nodes? For our purpose the nodes are locations and we move material with various attributes between these locations. At some point a user may need to query what material is at a particular location, where it came from etc. What I need to do is walk the graph/tree and sum up quantities along the way depending on what a user requests. I was thinking an in-memory graph database or alternatively

Dgraph: Deep graph traversal possible with recurse?

给你一囗甜甜゛ 提交于 2021-01-27 18:51:21
问题 I have a couple of questions regarding the capabilities of Dgraph regarding graph traversal. Let's say we have a dataset that consists of nodes of the type post. Each post can have n posts that are replies to this post. The depth of this tree is not limited. Is it possible with Dgraph to search trough all leaf nodes starting from one starting node and return all leafs that fulfill a certain condition? Is it possible to set a depth limit to not end up with a gigantic dataset? Is it also

neo4j driver functions equivalent to py2neo functions

≡放荡痞女 提交于 2020-12-07 16:02:19
问题 def get_nlg(graph_query): driver = Graph("neo4j://localhost:7687", auth=("neo4j","password")) graph_response = graph.evaluate(graph_query) For the above code, I replaced with the driver code as below, but its not working, what is the function in neo4j driver equivalent to evaluate() function in py2neo? def get_nlg(graph_query): driver = GraphDatabase.driver("neo4j://localhost:7687", auth=("neo4j","password")) with driver.session() as session: graph_response = session.run(graph_query) return

neo4j driver functions equivalent to py2neo functions

故事扮演 提交于 2020-12-07 16:00:16
问题 def get_nlg(graph_query): driver = Graph("neo4j://localhost:7687", auth=("neo4j","password")) graph_response = graph.evaluate(graph_query) For the above code, I replaced with the driver code as below, but its not working, what is the function in neo4j driver equivalent to evaluate() function in py2neo? def get_nlg(graph_query): driver = GraphDatabase.driver("neo4j://localhost:7687", auth=("neo4j","password")) with driver.session() as session: graph_response = session.run(graph_query) return

neo4j driver functions equivalent to py2neo functions

…衆ロ難τιáo~ 提交于 2020-12-07 16:00:13
问题 def get_nlg(graph_query): driver = Graph("neo4j://localhost:7687", auth=("neo4j","password")) graph_response = graph.evaluate(graph_query) For the above code, I replaced with the driver code as below, but its not working, what is the function in neo4j driver equivalent to evaluate() function in py2neo? def get_nlg(graph_query): driver = GraphDatabase.driver("neo4j://localhost:7687", auth=("neo4j","password")) with driver.session() as session: graph_response = session.run(graph_query) return

neo4j driver functions equivalent to py2neo functions

蹲街弑〆低调 提交于 2020-12-07 15:58:02
问题 def get_nlg(graph_query): driver = Graph("neo4j://localhost:7687", auth=("neo4j","password")) graph_response = graph.evaluate(graph_query) For the above code, I replaced with the driver code as below, but its not working, what is the function in neo4j driver equivalent to evaluate() function in py2neo? def get_nlg(graph_query): driver = GraphDatabase.driver("neo4j://localhost:7687", auth=("neo4j","password")) with driver.session() as session: graph_response = session.run(graph_query) return

neo4j driver functions equivalent to py2neo functions

妖精的绣舞 提交于 2020-12-07 15:56:31
问题 def get_nlg(graph_query): driver = Graph("neo4j://localhost:7687", auth=("neo4j","password")) graph_response = graph.evaluate(graph_query) For the above code, I replaced with the driver code as below, but its not working, what is the function in neo4j driver equivalent to evaluate() function in py2neo? def get_nlg(graph_query): driver = GraphDatabase.driver("neo4j://localhost:7687", auth=("neo4j","password")) with driver.session() as session: graph_response = session.run(graph_query) return

neo4j driver functions equivalent to py2neo functions

北城以北 提交于 2020-12-07 15:56:01
问题 def get_nlg(graph_query): driver = Graph("neo4j://localhost:7687", auth=("neo4j","password")) graph_response = graph.evaluate(graph_query) For the above code, I replaced with the driver code as below, but its not working, what is the function in neo4j driver equivalent to evaluate() function in py2neo? def get_nlg(graph_query): driver = GraphDatabase.driver("neo4j://localhost:7687", auth=("neo4j","password")) with driver.session() as session: graph_response = session.run(graph_query) return

How to structure a graph database to support 3-way relationships?

我怕爱的太早我们不能终老 提交于 2020-12-04 03:44:27
问题 I've been trying to figure out a database backend for a personal webapp I've been working on. Due to the flexibility that I require in the data, a relational database isn't feasible and some form of document storage is likely. When I learned about graph databases, I felt that this would be perfect. However, I've run into someone of an issue: I need to be able to define a 3-way relationship in some way. I haven't decided on a database yet, but I've been tinkering with Neo4j, so I'll use Cypher

How to structure a graph database to support 3-way relationships?

ぃ、小莉子 提交于 2020-12-04 03:41:29
问题 I've been trying to figure out a database backend for a personal webapp I've been working on. Due to the flexibility that I require in the data, a relational database isn't feasible and some form of document storage is likely. When I learned about graph databases, I felt that this would be perfect. However, I've run into someone of an issue: I need to be able to define a 3-way relationship in some way. I haven't decided on a database yet, but I've been tinkering with Neo4j, so I'll use Cypher