Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
0 answers
77 views

Light Gremlin Server - GraphDB / Access via Node.Js Gremlin Lib

I'm looking for a light gremlin server with a graphDB to bundle with my project to be installed on a Windows PC. The gremlin server should be able to be accessed by the Node.JS Gremlin Client. I found ...
JoJ's user avatar
  • 163
0 votes
0 answers
17 views

Mutual nodes order by occurrence orientdb

I'm trying to perform the following graph query in orientdb and it works select nearTo as c1,nearTo.id,nearTo.name, count(nearTo) as repetition,level,path from ( MATCH {class: GNode, where: (id = ...
Vivek's user avatar
  • 3,593
0 votes
1 answer
36 views

How to rewrite OrientDB query to Gremlin (TinkerPop)?

I have simple OrientDB query MATCH {class:SomeObj, as:obj, Where:( (outE('SomeEdge')[in=#74:2].StringValue="STRINNNGGG") and (outE('SomeEdge')[in=#75:2].NumberValue=333) ...
yasuro's user avatar
  • 23
0 votes
1 answer
133 views

Why Is addVertex() Faster Than addV()?

Problem Is there something I'm missing on how to run with g.addV()? Is there some way to speed up g.addV()? If I'm asking this wrong or something else is missing, please let me know so I can correct ...
Zach's user avatar
  • 735
0 votes
0 answers
29 views

OrientDB traversal changes sorting

I have a simple OrientDB graph that looks like this : I'm observing a strange behaviour regarding sorting. The following query retrieves all the Child vertices of a specified Parent which are linked ...
ChambreNoire's user avatar
0 votes
1 answer
116 views

get verties and edges using gremlin

I'm trying to return the vertices and edges starting from a specific vertex by traversing a specific edge's label the result i'm looking for is the vertices, edges that being traversed + all the edges ...
Mhanna Abu Tareef's user avatar
3 votes
1 answer
350 views

Gremlin- find and connect sub-graphs

My graph contains an undirected topological network data and my goal is to build a query that finds all sub networks that apply to specific networking rules, create vertex for each subnetwork and ...
mros's user avatar
  • 31
1 vote
1 answer
604 views

How to retrieve all graph names from the gremlin server

My gremlin-server.yaml file is as follows: host: localhost port: 8182 scriptEvaluationTimeout: 30000 channelizer: org.apache.tinkerpop.gremlin.server.channel.WebSocketChannelizer graphManager : com....
ThanosG's user avatar
  • 119
1 vote
1 answer
227 views

How to drop a subgraph in Tinkerpop (OrientDB) gremlin query?

Requirement is to drop this subgraph if I have runId and appId. Application can have multiple such appId and thus should be deleted only if no appId is attached to it. I have tried the below query to ...
CtrlV's user avatar
  • 115
4 votes
1 answer
545 views

Impossible to use gremlin in OrientDB Studio

I've been trying to use gremlin with OrientDB (V 3.0.30) using the "studio" provided with OrientDB, but each time I try to run a gremlin query such as g.V I get the error: com.orientechnologies.orient....
Aondy's user avatar
  • 43
0 votes
1 answer
296 views

Using `filter` lambda in gremlin with javascript

I am using OrientDb with JavaScript and I have tried with startingWith, containing, endingWith, notContaining, notEndingWith, notStartingWith predicates unsuccessfully. Maybe is a wrong implementation ...
iLevi's user avatar
  • 936
0 votes
2 answers
177 views

Merge vertex list in gremlin orientDb

I am a newbie in the graph databases world, and I made a query to get leaves of the tree, and I also have a list of Ids. I want to merge both lists of leaves and remove duplicates in a new one to sum ...
iLevi's user avatar
  • 936
1 vote
1 answer
66 views

Gremlin: text searching predicates not working on OrientDB

I have the below query on OrientDB: g.V().hasLabel('people').has('firstName',startingWith('V')).values('ID') And I am getting a "Failed executing Gremlin query" response. I know there are 'people' ...
Veronica's user avatar
  • 165
0 votes
1 answer
555 views

Gremlin: toLowerCase() not working properly

I have a vertex called 'city' that has property [cityName] "Miami" and property [syonyms] "Miami^Magic City^Little Cuba". The following query returns no results: g.V().hasLabel('city').has('syonyms',...
Veronica's user avatar
  • 165
2 votes
1 answer
2k views

Gremlin: Group by multiple properties from two different vertices

I have a vertex called 'Community' with property 'name', and Communities have a relationship with vertex 'People'. People have property 'id'. People can belong to multiple Communities. I want to build ...
Veronica's user avatar
  • 165

15 30 50 per page
1
2 3 4 5
10