cancel
Showing results for 
Search instead for 
Did you mean: 

Join the community at Nodes 2022, our free virtual event on November 16 - 17.

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

sonweihong
Node

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

glilienfield
Ninja
Ninja

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