cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

How can I add nodes(entities) labeled with the concept defined in the imported ontology?

Hello, I imported an ontology successfully into neo4j and can see the graph of the ontology in neo4j using neosemantic procedures. However, I could not add nodes(entities) labeled as those concepts defined in the imported ontology since I could not see the concepts as the suggested labels in the auto-reminder list. 

May I know how I can add nodes(entities) labeled with the concept defined in the imported ontology?

Thanks a lot.

1 REPLY 1

You can add and remove labels from an existing node using ‘SET’ and ‘REMOVE’ respectively as follows:

match(n) 

set n:NewLabel

remove n:OldLabel