Apache TinkerPop

AT

Apache TinkerPop

Apache TinkerPop is an open source graph computing framework and the home of the Gremlin graph query language.

Join

Does tinker pop support jdk 21?

Does tinker pop support jdk 21? I’m trying to update a package to use jdk 21 but am having trouble since my tinker pop dependencies don’t seem to be compatible and haven’t seen a clear answer whether it’s compatible or not

Unable to delete a vertex in AWS Neptune even after removing all its 50k+ edges

Hi everyone, I’m running into a strange issue with AWS Neptune and would appreciate any insights. I’m trying to delete a vertex that used to have over 50,000 edges. Before attempting the deletion, I made sure to remove all the relationships connected to it (using both bothE().drop() and validations to confirm there are no remaining edges)....

Questions about implementing and deploying custom traversal extensions

Hello, I’m currently working on a project that has been using Neo4j, and we’re exploring migrating to JanusGraph (which uses tinkerpop). The main challenge we’re facing relates to how we currently use Neo4j: we’ve developed several stored procedures, including a custom traversal procedure (a recursive function that decides which path to traverse based on edge properties). From what I’ve gathered so far, it seems that a similar feature could be implemented in Tinkerpop by extending the DSL and deploying it as a JAR into the extensions directory. However, I’m not completely sure if this is the best approach....

supported versions?

Is anything older than the current version supported? I have a customer on 3.4 and need to know if they have to upgrade to 3.7 or if they can go to 3.5 or 3.6 (I mean, I am assuming 3.4 is EOL though I was not able to find any information about that)

Using gremlin from the browser

Hello there! I'm trying to use gremlin from the browser and am getting an error from webpack when I try to import gremlin. The readme for the npm package says there's experimental support for calling from the browser, but I'm guessing this isn't how I'm supposed to do that. Our DB is a azure cosmos DB if that helps....

Indexing and Query Performance

I am working on fine tuning a query so that it becomes faster. The query is like: g.V().has('Index1','123').as('p').out('has_rel1').has('Index2,within('A','B').as('q').dedup().out('has_rel2').has('Index3','X').as('r').select('p','q','r').by('id') ...

Transaction Exceptions and Retries

It's a common pattern for database drivers/clients to have specialized exceptions for failed transactions that provide the necessary context for knowing whther or not to retry the exception due to conflicts. Does Tinkerpop have any of this? Right now basically it seems like users need to unpack the layers of the exceptions that the server feeds back to the client, and then just string parse completely based off of a string the graph provider tells them to look for (if there even is one) in order to do this very common-used pattern with transactions in a database....

Help with Stubbing Golang gremlin-go V3 Package

I'm using the gremlin-go V3 package and I'm trying to find an easy way to mock for testing. Has anyone successfully created a Mock Package/Interface? My code currently uses: GraphTraversalSource...

Help with a gremlin query..

Hi folks, I have a graph where: Customer vertices connect to Order vertices via hasOrder edges....

Gremlin drivers with Neptune when connecting through an EC2 instance?

Hello! Currently connecting to a Neptune db from my cloud desktop/local environment..? by using aws session manager with an ec2 instance. I'm using an api to send queries to neptune but was wondering if in a case like this, gremlin drivers are possible to use or if i have to keep with the http-based approach! the json responses are pretty convoluted ...

ERR_TLS_CERT_ALTNAME_INVALID when using @aws-sdk/client-neptunedata in Bun application

Hi, I'm the creator and maintainer of queryblast; https://github.com/SouthwestAir/queryblast which is a babashka pod for submitting opencypher queries to Neptune Queryblast is a babashka pod, and it runs in a process of its own, while a user script interacts with it.
Queryblast uses @aws-sdk/client-neptunedata, and it's built for darwin using Bun OK here's my question: I'm seeing the following error message when I get on my corporate VPN and submit a query to Neptune: ...

Is there any work on a shapes constraint language for gremlin?

https://www.w3.org/TR/shacl/ I want to constrain the shapes in my graph but I’m finding that there is a lack of tooling in this area. Can anyone tell me if there is such a thing as a shapes constraint language for Gremlin? I want to use it with Neptune...
Solution:
Unfortunately TinkerPop/Gremlin is schemaless and does not provide any tools for constraint enforcement at this time. It's a capability that I personally would very much like to see in gremlin, but at this time seems unlikely to arrive in the near future.

Inconsistent Behavior with WhereStep with labels

I'm getting some weird behavior when using labels on an anonymous traversal within the WhereStep. Below are some code examples - excuse the fact that they're kind of silly they're just meant to demonstrate the issue ``` final var tinkerg = TinkerFactory.createModern(); tinkerg.traversal().V().drop().iterate();...

New websocket connection on each traversal

I am using gremlin for traversing the janusgraph data via my java spring application. I am initiating the graph as below snippet @Bean public GraphTraversalSource g(Cluster cluster) { return AnonymousTraversalSource.traversal().withRemote(DriverRemoteConnection.using(cluster)); // Or "conf/remote.yaml" }...

PuppyGraph: Vertex Definitions with Filtering

When I create vertex definitions to build a PuppyGraph schema, is there a way to apply simple Where clauses to apply filtering? That would have to go into the mappedTableSourceobject. Thanks.

Supplying multiple IP:port pairs to Java GLV

I am trying to connect to multiple gremlin-server nodes that have different ports. Is there a workaround in the Java driver that would allow this? I cannot find any way to build the Cluster without using the same port.
Solution:
Looking at the code, I agree there doesn't seem to be a way to do this unfortunately

Could you point out to the active OGM/ORM projects that are based on Tinkerpop ?

We are working on our own implementation of "MaterializedEntities" for Java and integrating YTDB in XodusDNQ for Kotlin but we interested in wide coverage.

When gremlin-JavaScript release?

Any plans for a new release of gremlin-JavaScript? 3.7.4?...

Cosmos functionality

Hi all, I'm toying with cosmos gremlin for my DB and after experimenting more, I find that the limitations it has are getting to be a bit ridiculous. I'm trying to use mergeV/E to simply upsert but since there is no map support I can't upsert with this function. Am I correct? Is this version of the language even turing complete?...
Next