All Questions
228
questions
1
vote
2
answers
205
views
Is there a way to bulk import csv data into cosmos db gremlin API Azure?
I am new to Azure Cosmos db and i have to import data into my cosmos db account.
I have tried out https://learn.microsoft.com/en-us/azure/cosmos-db/gremlin/bulk-executor-dotnet#java
In this link they ...
1
vote
1
answer
1k
views
Neo4J - Gremlin Support
I did a bit research but need to clarify some things regarding neo4j gremlin support.
I want to use tinkerpop-gremlin with neo4j db. I saw this link
https://tinkerpop.apache.org/docs/current/reference/...
1
vote
0
answers
114
views
Gremlin graph traversal that uses previous edge property to decide next edge, and the property is a Complex object
Please look at this photo first
I am using gremlin to traverse the graph, first from vertex v1 to edge e1 to v2, and then from v2 to all outE(). Taking e2 as an example, I need to determine the ...
0
votes
1
answer
625
views
How to handle many to many relationships in Graph database?
How to model Many-to-Many relationship in Graph databases (Property graph database)
In the below picture, Company/creditor files their claim to court when the borrower goes bankrupt and there will be ...
0
votes
1
answer
278
views
how to run Gremlin queries on Neo4j-3.5
I am Currently using Neo4j community version-3.5 with cypher and bolt driver.
Now i want to change it to Gremlin and Tinkerpop.
Which version of Gremlin and tinkerpop supports querying on Neo4j-3.5
1
vote
1
answer
538
views
Gremlin add edge if not exists
I have the following code to insert two vertices/nodes, and an edge. It insert edge when the edge is NOT already exists.
g.V(100).hasLabel("pickup").fold().coalesce(
unfold(),
addV(&...
1
vote
1
answer
178
views
Gremlin: Read edge GraphML file and node GraphML file in separate queries
I have two files that I want to load by using g.io(<name file>).read().iterate(): nodes.xml and edges.xml.
The nodes.xml file contains the nodes of the graph I want to upload, and its contents ...
1
vote
1
answer
128
views
Gremlin: Return new edges created in a query without saving them (equivalent to APOC vRelationship)
I have a graph with two types of nodes: Persons and Houses. In this graph, persons can sell houses (SELLS relationship), and houses are bought by persons (IS_BOUGHT_BY relationship). This could be ...
0
votes
1
answer
85
views
How to implement Gremlin query corresponding to Neo4j cypher query?
I have the following Cypher query(neo4j) and want to convert it to a Gremlin query.
MATCH d=(a:Actor {id:" + entityId +'})-[r:ACTING_IN*0..2]-(m) WITH d,
RELATIONSHIPS(d) AS rels WHERE NONE (rel ...
0
votes
2
answers
126
views
How to implement lookup/reference data in apache tinkerpop gremlin or graph database?
How to implement lookup/reference data in a gremlin or graph database?
I need to collect all types of identification,
1. Diving license,
2. Social security number,
3....
For UI, I need to send the &...
7
votes
2
answers
5k
views
AWS Neptune vs. Neo4j Internal Data Storage
What is the difference between how AWS Neptune stores data internally vs. how Neo4j stores data? From this post, it says Neo4j stores each node with a direct link to its connected nodes, "...
0
votes
1
answer
126
views
Need help and Want to know how we can write this type of Neo4j Cypher query into Gremlin query?
MATCH (m:movie)-[has_directed_by:has_directed]->(director:Director)
OPTIONAL MATCH(director)-[has_name:has_name]->(directorName:DirectorName)
OPTIONAL MATCH(director)-[has_type:has_type]->(...
0
votes
1
answer
207
views
cypher filter relationship based on where not in
g.V().
hasLabel('Entity1').
has('name', within('BB', 'CC')).
in('Entity2').
where(
not(
__.out('Entity3').
__.out('Entity4').
has('name', within('ABC', 'XYZ')).
in('...
0
votes
1
answer
111
views
Can Apache Tinkerpop's Neo4jGraph.open() open a database from the file system?
I am using Apache Tinkerpop's Gremlin language to interact with a Neo4J database. I am able to use the Neo4jGraph.open("/path/to/folder") method (from org.apache.tinkerpop.gremlin.neo4j....
2
votes
1
answer
456
views
Extract Only Values as csv format in gremlin
I am trying to extract values from Graph database. i am trying with the below gremlin console command but it is returning key value pairs, we can convert this to list.
%%gremlin
g.V().hasLabel('...