All Questions
56
questions
0
votes
2
answers
265
views
How can I load a graph in memory to run queries?
I need a way to load graphs in a structured way that I can perform queries in a query language, without the usage of an "external database", in the sense of a separate process, with an ...
1
vote
2
answers
278
views
Multiple versions of the graph
Currently, I am working on an application that allows the user to display graph-related data visually. Users can then make specific edits on the graph:
adding a link between nodes
adding new node
...
1
vote
0
answers
51
views
Convert Cypher query to a Gremlin query
I need to write a query like this Cypher one in Gremlin, and don't know how to do it. Please let me know how to do it
MATCH (a:grandfather) -- (b:father) -- (c:person) -- (d:son) -- (e:grandson) -- (f:...
0
votes
1
answer
195
views
How to find common vertex count and sort the result in Gremlin?
My schema has 2 types of nodes ,
node1: Student (id is primary key)
node2: Skill(SkillName is primary key)
relation between them is HAS_SKILL
My use case:
For a given student Id , I need to get the ...
0
votes
1
answer
173
views
How to convert cypher to gremlin?
I am new to gremlin.I need to convert my cypher query to gremlin.
My cypher query:
match(s:Student)-[:STUDIED_AT]-(c:College)
with s,c
match(s)-[:LIVES_IN]-(l:Location)
return s,c,l limit 10
I ...
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 &...
0
votes
2
answers
834
views
How to use multiple union step in gremlin query?
I want to convert following cypher query in gremlin but facing issue while using union.
match d=(s:Group{id:123})<-[r:Member_Of*]-(p:Person) with d,
RELATIONSHIPS(d) as rels
WHERE NONE(rel in rels ...
1
vote
1
answer
879
views
Converting Cypher queries to gremlin
I am converting the cypher queries to gremlin with the help of Cypher for gremlin project.
Followed all the steps to configure it but facing the below issue when running the cypher queries.
301195 [...
0
votes
0
answers
151
views
Convert gremlin query to cypher query
In the gremlin query, use id to query the neighbor nodes of the current node and make some restrictions, for example, limit the number of neighbor nodes to 4, and the search distance is 1-4
g.V(2)
....
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
2
answers
129
views
Cypher query for gremlin traversal
New to cypher query
g.V().has('Entity1','id',within(id1)).in('Entity2').
where(__.out('Entity3').where(__.out('Entity4').has('name',within(name))))
how to convert the above gremlin to cypher and ...
0
votes
0
answers
80
views
GraphDB - 1 vertex having multiple properties
Could you please help me understand if we can have multiple array properties in 1 vertex.. For example,
"id": "CU10611973PH",
"label": "Phone-Home",
&...
0
votes
0
answers
250
views
cosmos gremlins json data ingest
Azure Cosmos Gremlins API.
Assume Partition key - division
Germline query to add node
g.addV('person').
property('firstName','Thomas').
property('lastName', 'Andersen').
property('age', 44)
How ...
0
votes
1
answer
289
views
Create subgraph query in Gremlin around single node with outgoing and incoming edges
I have a large Janusgraph database and I'd to create a subgraph centered around one node type and including incoming and outgoing nodes of specific types.
In Cypher, the query would look like this: ...