cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! Site migration is underway. Phase 2: migrate recent content

There is no procedure with the name `semantics.mapping.listMappings` registered for this database

jk05802
Node Link

Hello All,

I have installed the neosemantics plugin, have set constraint, and made sure procedures are starting with n10s.

When I am trying to use

call semantics.mapping.addSchema("http://schema.org/","sch")

I'm getting the below error.

There is no procedure with the name `semantics.mapping.addSchema` registered for this database instance. Please ensure you've spelled the procedure name correctly and that the procedure is properly deployed.

 Could someone help me resolve this issue?

Thanks,

Jashwanth

#neosemantics 

#

1 ACCEPTED SOLUTION

glilienfield
Ninja
Ninja

I am not a user of this plug-in, but there seems to be a name change from version 3.x to 4.x. Which version are you using.  Your procedure name starts with ‘semantics’, which seems to be the version 3.x convention. Names in version 4.x seem to start with ‘n10s’ instead. 

https://neo4j.com/labs/neosemantics/4.3/appendix_migration/

View solution in original post

2 REPLIES 2

glilienfield
Ninja
Ninja

I am not a user of this plug-in, but there seems to be a name change from version 3.x to 4.x. Which version are you using.  Your procedure name starts with ‘semantics’, which seems to be the version 3.x convention. Names in version 4.x seem to start with ‘n10s’ instead. 

https://neo4j.com/labs/neosemantics/4.3/appendix_migration/

Thank you so much. 

I've used n10s procedures instead of semantic procedures and it worked!!

Though the procedure names are different, I could figure out the n10s procedures list using call dbms.procedures(). 

For people who are trying to add schema:

Instead of using call semantics.mapping.addSchema("http://schema.org/","sch"), I have used n10s.nsprefixes.add("sch","http://schema.org/") and for the mapping, I've used n10s.mapping.add().