It seems I've inadvertently duplicated some resource records by 
accidentally assigning them new uuids before loading from CSVs, so instead 
of overwriting existing records, duplicates were created.

I was wondering if anyone had developed any 'grep'-like command-line 
utilities that perhaps returned uuids for resources where, say, a node 
contains a particular value? If there were also a command to delete 
resources given their uuid, that would help to remove the duplicate 
records. If nothing like this exists, is there existing Python code in the 
codebase which would make a good starting point? We're still on Arches 
4.4.2.

A related question is whether it's possible to delete resource-to-resource 
relationship records? They can obviously be loaded from CSV but there's 
nothing documented which can remove them. What happens to these links when 
one or more of the associated resource records are deleted?

Finally, I've always been puzzled that in our resource reports, related 
resources are followed by the uuid for the relationship 
(00000000-0000-0000-0000-000000000007), rather than the CIDOC-CRM property 
phrase ("is-related-to"or "refers-to", I forget which), although I see that 
Lincoln's Arcade has the almost equally obscure URL for CRM property P67.

Cheers
David

-- 
-- To post, send email to archesproject@googlegroups.com. To unsubscribe, send 
email to archesproject+unsubscr...@googlegroups.com. For more information, 
visit https://groups.google.com/d/forum/archesproject?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Arches Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to archesproject+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/archesproject/fd093de4-a3ba-40da-8186-15b9be99c165%40googlegroups.com.

Reply via email to