neosemantics
neosemantics copied to clipboard
Not able to run neosemantics procedure in neo4j 4.0.3 version
Hi all,
I have added the procedure for semantics by downloading the latest jar file from neolabs repo. But When running the following command 'call n10s.graphconfig.init()' I am getting 'Neo.ClientError.Procedure.ProcedureNotFound' error message.
I am new to neo4j and am trying to load rdf data into the databse. Any help would be appreciated.
Hi @aravindkota , can you confirm you're working on a version 4.0.x of neo4j and that you've copied the neosemantics jar from here into your plugins directory?
You have some info here on how to check that the installation was correct.
I hope this helps.
JB.
Hi @jbarrasa ,
I have copied the pre release beta version of neosemantics and followed the steps mentioned in the instructions page. I observed few points while following the instructions:
- when called for all the procedures through ' call dbms.procedures()' I am not able to see the mentioned procedure for semantics which prefixed by n10s.
- I am getting the mounting message though in the startup.
- when trying to ping the server with specific ping message, a '"ping":"here!"' is displaying
When running the semantics procedure in the shell, I am getting procedure not found error.
I am using neo4j community version 4.0.3 and neosemantics version 4.0.0. Can you help me with the solution. Thanks
Hi @aravindkota and @jbarrasa, I had the same problem today and I solved it since there was some confusion in the way to define (names) the plugin, in a part of the documentation it says semantics.* and in the beta version it talks about n10s.*, so if you use the neosemantics4.0.0.beta beta plugin, I have to use the correct name of the plugin in the config file. This is my config (note directives added in the neo4j.conf):
- Neo4j version:
4.0.3 Enterpise. - Pluging:
neosemantics-4.0.0-beta.jarcopied in the pluging folder of my instance. - Service Log show:
2020-04-10 17:01:45.526+0000 INFO Mounted unmanaged extension [n10s.endpoint] at [/rdf]. - PING works (checked: http://localhost:7474/rdf/n10s/ping) and show:
{"ping":"here!"}. - Directives added in the
neo4j.conf:dbms.unmanaged_extension_classes=n10s.endpoint=/rdfdbms.security.procedures.whitelist=apoc.*,n10s.*dbms.security.procedures.unrestricted=apoc.*,n10s.*Then call the function with:call n10s.graphconfig.init()
Hi @manuparra, thanks for sharing the necessary config file. That change in the naming has solved the problem. But I see that the documentation for semantics and the n10s is quite different as I am not able to visualize the graph after loading the rdf file. Is there any special setting that could let me visualize the graph?
Appreciate the support here.