Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
12-06-2022 08:18 AM
Hello !
Hope your doing well 🙂
I am struggling with a thing on neo4j for some day now and i dont know how to do.
I have created a graph with neosemantic, my file was a TTL based on a graphQL query. it created 9400 Node labels Resource with some properties URI & ID
I need to create two Node labels based on the Resource Labels property URI. The example of the URI property is as follow htp://bms/message and htp://bms/abp
#Neo4j Graph Platform
Solved! Go to Solution.
12-07-2022 05:47 AM
12-07-2022 05:37 AM
Figure it out how to do:
MATCH (n:Resource)
WHERE n.uri CONTAINS 'http://bms/message'
SET n:MSG
RETURN n
MATCH (n:Resource)
WHERE n.uri CONTAINS 'http://bms/abp'
SET n:ABP
RETURN n
Remove n: Resource
12-07-2022 05:47 AM
I would figure the remove needs to come before the return
12-07-2022 05:54 AM
Oh thanks my bad 😛
All the sessions of the conference are now available online