gramian
gramian
ATApache TinkerPop
Created by gramian on 4/24/2023 in #questions
Setup and Configuration of SPARQL-Gremlin plugin (with ArcadeDB)
Thank you for this explanation.
25 replies
ATApache TinkerPop
Created by gramian on 4/24/2023 in #questions
Setup and Configuration of SPARQL-Gremlin plugin (with ArcadeDB)
Can you explain what you mean with "where "graph" is a graph name in your yaml file." in more detail? Thank you for your patience
25 replies
ATApache TinkerPop
Created by gramian on 4/24/2023 in #questions
Setup and Configuration of SPARQL-Gremlin plugin (with ArcadeDB)
It has globals << [g : traversal(SparqlTraversalSource)]
25 replies
ATApache TinkerPop
Created by gramian on 4/24/2023 in #questions
Setup and Configuration of SPARQL-Gremlin plugin (with ArcadeDB)
Maybe I am missing an import in the gremlin-server.groovy or a processor or serializer in the gremlin-server.yaml?
25 replies
ATApache TinkerPop
Created by gramian on 4/24/2023 in #questions
Setup and Configuration of SPARQL-Gremlin plugin (with ArcadeDB)
Now I get: (See attachment).
25 replies
ATApache TinkerPop
Created by gramian on 4/24/2023 in #questions
Setup and Configuration of SPARQL-Gremlin plugin (with ArcadeDB)
Just using the plugin jars I got a step further. Cool!
25 replies
ATApache TinkerPop
Created by gramian on 4/24/2023 in #questions
Setup and Configuration of SPARQL-Gremlin plugin (with ArcadeDB)
I had the same feeling, given the error java.lang.ClassNotFoundException: org.apache.tinkerpop.gremlin.sparql.jsr223.SparqlGremlinPlugin. The line to add to the gremlin-server.yaml being org.apache.tinkerpop.gremlin.sparql.jsr223.SparqlGremlinPlugin: {} is correct, right?
25 replies
ATApache TinkerPop
Created by gramian on 4/24/2023 in #questions
Setup and Configuration of SPARQL-Gremlin plugin (with ArcadeDB)
Hi, I have two follow up questions: 1. Which subfolder jars of ext/sparql-gremlin do I need to copy: lib or plugin? I copied both but there seem to be duplicates. 2. I get now the log output with the above suggested config in the gremlin-server.yaml:
Exception in thread "main" com.arcadedb.server.ServerException: Error on loading plugin org.apache.tinkerpop.gremlin.sparql.jsr223.SparqlGremlinPlugin
at org.apache.tinkerpop.gremlin.groovy.engine.GremlinExecutor.initializeGremlinScriptEngineManager(GremlinExecutor.java:454)
at org.apache.tinkerpop.gremlin.groovy.engine.GremlinExecutor.<init>(GremlinExecutor.java:110)
at org.apache.tinkerpop.gremlin.groovy.engine.GremlinExecutor.<init>(GremlinExecutor.java:79)
at org.apache.tinkerpop.gremlin.groovy.engine.GremlinExecutor$Builder.create(GremlinExecutor.java:607)
at org.apache.tinkerpop.gremlin.server.util.ServerGremlinExecutor.<init>(ServerGremlinExecutor.java:137)
at org.apache.tinkerpop.gremlin.server.GremlinServer.<init>(GremlinServer.java:127)
at org.apache.tinkerpop.gremlin.server.GremlinServer.<init>(GremlinServer.java:90)
at com.arcadedb.server.gremlin.GremlinServerPlugin.startService(GremlinServerPlugin.java:85)
at com.arcadedb.server.ArcadeDBServer.registerPlugins(ArcadeDBServer.java:209)
... 2 more
Caused by: java.lang.ClassNotFoundException: org.apache.tinkerpop.gremlin.sparql.jsr223.SparqlGremlinPlugin
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:315)
at org.apache.tinkerpop.gremlin.groovy.engine.GremlinExecutor.initializeGremlinScriptEngineManager(GremlinExecutor.java:417)
... 10 more
Exception in thread "main" com.arcadedb.server.ServerException: Error on loading plugin org.apache.tinkerpop.gremlin.sparql.jsr223.SparqlGremlinPlugin
at org.apache.tinkerpop.gremlin.groovy.engine.GremlinExecutor.initializeGremlinScriptEngineManager(GremlinExecutor.java:454)
at org.apache.tinkerpop.gremlin.groovy.engine.GremlinExecutor.<init>(GremlinExecutor.java:110)
at org.apache.tinkerpop.gremlin.groovy.engine.GremlinExecutor.<init>(GremlinExecutor.java:79)
at org.apache.tinkerpop.gremlin.groovy.engine.GremlinExecutor$Builder.create(GremlinExecutor.java:607)
at org.apache.tinkerpop.gremlin.server.util.ServerGremlinExecutor.<init>(ServerGremlinExecutor.java:137)
at org.apache.tinkerpop.gremlin.server.GremlinServer.<init>(GremlinServer.java:127)
at org.apache.tinkerpop.gremlin.server.GremlinServer.<init>(GremlinServer.java:90)
at com.arcadedb.server.gremlin.GremlinServerPlugin.startService(GremlinServerPlugin.java:85)
at com.arcadedb.server.ArcadeDBServer.registerPlugins(ArcadeDBServer.java:209)
... 2 more
Caused by: java.lang.ClassNotFoundException: org.apache.tinkerpop.gremlin.sparql.jsr223.SparqlGremlinPlugin
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:315)
at org.apache.tinkerpop.gremlin.groovy.engine.GremlinExecutor.initializeGremlinScriptEngineManager(GremlinExecutor.java:417)
... 10 more
Thank you again!
25 replies
ATApache TinkerPop
Created by gramian on 4/24/2023 in #questions
Setup and Configuration of SPARQL-Gremlin plugin (with ArcadeDB)
Thank you nonetheless, this is a good foundation to start experimenting more. I will come back with further questions if necessary.
25 replies
ATApache TinkerPop
Created by gramian on 4/24/2023 in #questions
Setup and Configuration of SPARQL-Gremlin plugin (with ArcadeDB)
This could be the case. The logs just state: GremlinServer plugin started
25 replies
ATApache TinkerPop
Created by gramian on 4/24/2023 in #questions
Setup and Configuration of SPARQL-Gremlin plugin (with ArcadeDB)
Running g = traversal(SparqlTraversalSource) results in the error: No such property: SparqlTraversalSource for class: Script8. About the init script, I can't say either.
25 replies
ATApache TinkerPop
Created by gramian on 4/24/2023 in #questions
Setup and Configuration of SPARQL-Gremlin plugin (with ArcadeDB)
Hi @spmallette , Thank you for your reply. I performed the two steps you suggested (I manually copied all the jars below ext/sparql-gremlin to the folder holding ArcadeDB's jars), but I get, when using g.sparql("""SELECT * WHERE { ?x ?y ?z . }"""), the error No signature of method: org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource.sparql(). Also when running graph = TinkerFactory.createModern() I get the error No such property: TinkerFactory for class: Script5.
25 replies