All Questions
65
questions
0
votes
1
answer
100
views
Conditionally update one vertex property when another property matches a certain provided value
I have a vertex with meta properties on it, like below, and need to update the properties & the attached meta properties. When an Id matches the passed value on hasId the data needs to be updated. ...
0
votes
1
answer
58
views
Add incoming and outgoing vertices to Gremlin query
I have a query which needs to satisfy some criteria which works well at the moment. The problem is that I'm also trying to include its incoming and outgoing edges to the response as below.
{
...
-1
votes
1
answer
392
views
How to connect to Azure Cosmos DB Gremlin API via embedded code
For now we are using the very simplified and not near reality approach that Azure officially lets one play: https://learn.microsoft.com/en-us/azure/cosmos-db/gremlin/quickstart-java.
But we need to ...
0
votes
1
answer
111
views
Limited connection with Azure Cosmos DB Gremlin
Regarding the previous answer ... the connection that is working for now ... to connect with Gremlin server @ Azure Cosmos DB Gremlin API ... is via a remote.yaml file [check image below].
The ...
0
votes
1
answer
310
views
Adding edge between 2 vertices in different partitions in Azure Cosmos DB Gremlin
I am trying to add 2 vertices to different logical partitions, then i want to connect them through an edge, but couldn't find anything online! How to do it?!
Azure Cosmos DB Gremlin API works via ...
-1
votes
1
answer
53
views
What is the alternative to none() step in gremlin cosmos db?
We are looking for a none() step alternative as our Gremlin compliant queries use a none() step but Cosmos throws a "'none' step not recognized error".
Since Cosmos supports String based ...
0
votes
1
answer
174
views
Graph DB Gremlin query for nested properties
I am storing the below data in azure cosmos graph db.
"properties": {
"A": {
"value": "prop1 new value"
},
"settings&...
1
vote
2
answers
810
views
Why is my gremlin.net gremlin client not working with azure cosmos graph db
I've set up a serverless azure cosmos graph db account and now I'm trying to connect to it using the following code:
.AddSingleton(s =>
{
var connectionPool = new ConnectionPoolSettings
...
1
vote
1
answer
238
views
Gremlin Query to check for pairs of edges on vertices
For some context: I am currently using azure cosmos db with gremlin api, because of the storage-scaling architecture, it's much less expensive to perform a '.out()' operation than a '.in()' operation, ...
0
votes
1
answer
418
views
Is there a way to add properties containing lists via Gremlin in Cosmos DB?
I am looking to add a list property to an edge via gremlin in Cosmos DB. Currently, I it seems to only work with vertices,
g.addVertex('V1').property(list,'plist',1).property(list,'plist',2)
This ...
0
votes
1
answer
331
views
How to maintain consistency for gremlin update operation in Azure Cosmos DB(Atomicity)?
I have a situation regarding how to maintain atomicity of transactions when making updates using the Azure CosmosDB Gremlin API.
Scenario: we are maintaining two graphs. The operation is to update one ...
-1
votes
1
answer
151
views
How to get all connected nodes(Incoming + Outgoing) from a given node using Gremlin
I have a Knowledge Graph database and I need to query it using Gremlin to get all connected nodes(Incoming + Outgoing) for a given Node. Right now I am using an approach where I query it twice to get ...
0
votes
1
answer
65
views
CosmosDB gremlin graph: group vertexes and edges by a vertex
Context
I am working with a very complex graph, but for the shake of making it easier to understand and give an answer, I have created the following abstraction/simplification of my graph:
A1 -owns-&...
0
votes
1
answer
452
views
Partition key of the vertices connected through the edge is not available when querying the Cosmos gremlin Graph
Gremlin API in Azure Cosmos DB allows us to create vertices in different partitions(p1, p2) with same id(v1). When I created a self edge(e1) for a vertex(v1) in one partition(p1), two edges are ...
1
vote
1
answer
836
views
Azure cosmos db gremline bulk import csv
what will be the best way to load data from csv to Azure cosmos graph ( gremline ) DB?
I checked below link for.net
https://learn.microsoft.com/en-us/azure/cosmos-db/create-graph-dotnet
but not ...