graph-databases Questions

2

Imagine a social network app. Users follow other users and users take photos. Photos have tags of other users. I'm trying to get an effective Cosmos db implementation of a graph for that app. I pr...

1

Solved

I'm trying to use the gremlin npm module and connect to a Neptune database. During testing, I tried having gremlin connect to an inactive endpoint and invalid url to make the system more resilient....
Sterlingsterlitamak asked 31/5, 2020 at 18:29

1

Solved

Creating a named graph from the main Neo4j Graph is documented. Beside, one also knows how to list, drop, check if a named graph already exists, e.g. CALL gds.graph.exists('my-store-graph') YIELD e...
Giuseppe asked 4/6, 2020 at 0:50

4

Solved

I had worked on relational database; but now want to learn about graph database. I came to know that these two are graph database. What is difference between these two databases. What should we pre...

3

I have created a neptune instance in aws. How can I connect to it now? I tried the the example given in the documentation locally from my laptop. from gremlin_python.structure.graph import Graph ...

2

Solved

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 want...
Gereld asked 28/4, 2019 at 0:11

1

I have a use case where I need to classify people's trajectories within a big room. In terms of performance and best Neo4j practices, what option would be better if I want to classify this data to...
Zuleika asked 29/1, 2020 at 1:50

2

Which is the graph database that supports limitless scale out, handles large volumes of data, and can perform low-latency queries? Preferably one that integrates well with Hadoop. I have been...
Eagre asked 6/6, 2010 at 7:41

3

Solved

I would like to create multiple disconnected nodes using a single cypher query The documentation says: Create multiple nodes with a parameter for their properties. By providing Cypher an array...
Kellogg asked 11/3, 2014 at 21:50

4

Using tinkerpop blueprints API, what is the best way to find if an edge exists between two vertices? I would like to avoid vertex.getEdges() and iterate until find the right one. E.g.: Check if v1...
Proulx asked 1/5, 2013 at 22:19

3

Solved

I downloaded 2 versions of neo4j on Ubuntu 18.04 which are "neo4j-community-3.5.12" and "neo4j-community-3.5.8" I run 3.5.8 with default settings I can see it from the web. http://localhost:7474/ ...
Zusman asked 25/10, 2019 at 6:48

5

g.v(1).id gives me vertex 1 id, g.v(1).map gives me vertex 1 properties. But, how can I get a hash with id and propeties at the same time
Vella asked 9/9, 2011 at 13:23

3

Solved

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 ...
Bivens asked 22/3, 2015 at 9:44

9

Solved

I'm starting to develop with Neo4j using the REST API. I saw that there are two options for performing complex queries - Cypher (Neo4j's query language) and Gremlin (the general purpose graph query...
Cruet asked 11/12, 2012 at 17:4

2

Solved

I know that there are similar questions around on Stackoverflow but I don't feel they answer the following. Graph Databases to my understanding store data following mostly this schema: Table/Coll...
Toxoplasmosis asked 11/5, 2015 at 11:3

2

Assume I'm working with the graph database from this sample (SQL Server 2017): https://learn.microsoft.com/en-us/sql/relational-databases/graphs/sql-graph-sample I have the following SQL query: ...

2

Solved

I have been dealing with Neo4j through python's Bulbflow and now need a way to save/export subgraphs. I have seen Java and even Ruby approaches for doing this, however a simple Python approach seem...
Epos asked 17/3, 2013 at 10:13

1

I'm trying to create (action)->(state) pair in such a way so that if : the action exists, use it, instead of creating new one the state exists, use it, instead of creating new one and do it in ...
Obmutescence asked 14/4, 2019 at 22:42

3

Solved

In Cypher in Neo4J, given two nodes, if there's no relationship between them, I'd like to create a relationship (of type Foo) with a weight property of one. If this relationship already exists, I'd...
Devonne asked 6/7, 2012 at 0:33

3

I've found some advice for setting up tagging systems in relational and document databases, but nothing for graph/multi-model databases. I am trying to set up a tagging system for documents (let's...
Telestich asked 2/3, 2016 at 19:2

8

Solved

I know how to remove a vertex by id in Gremlin. But now I'm need to cleanup the database. How do I delete multiple vertices? Deleting 1 v is like this: ver = g.v(1) g.removeVertex(ver) I mean so...
Staysail asked 10/10, 2012 at 7:37

1

Solved

I am following this blog: https://developer.ibm.com/dwblog/2018/janusgraph-composite-mixed-indexes-traversals/ code: gremlin> graph.tx().rollback() ==>null gremlin> mgmt = graph.openMana...
Dehiscent asked 21/1, 2019 at 9:34

5

How would one go about storing and querying sparse directed or undirected graphs in Postgresql. There is something like pggraph, but that is still in planning stage. I realize dedicated grap...
Belita asked 25/12, 2013 at 20:59

2

Solved

I am trying to create a huge database in neo4j which will have around 2 million nodes and around 4 million edges. I have been able to speed up the node creation process by creating the node in the ...
Marianomaribel asked 17/7, 2015 at 12:25

6

I'm starting to dig into graph databases, but i have no idea, how these graphs are stored internally. Let's say i have this graph (taken from Wikipedia): How do i serialize this graph as a key-v...
Overly asked 5/7, 2012 at 10:47

© 2022 - 2024 — McMap. All rights reserved.