Hi there,
I have an ontology which is created by importing a ttl file into TBC Composer FE. This works, and I am able to use it like a sort of viewer, and to make small changes. In my original file, I split the file based on |Data|SHACL-shapes| This way I can easily validate my instances using a validation tool like shaclplayground, or on my own CLI (screenshot attached to get an impression of what i mean). By just copying and pasting the contents from the "Data" and "Shapes" file into a "Combined" ttl file, which I can easily open in composer.
However, after making small changes, and saving the file, my original formatting in my ttl file is replaced with the formatting from tbc, which is not bad in itsself, but sorts everything based on A-Z, meaning my shapes and data become tangled.
My question is: Is there a way to export/save the ontology in seperate ttl files, or seperate the elements within the ttl file based on whether they are shacl shapes or not i.e. preserving the format of the imported TTL file. Before writing complicated SPARQL queries to untangle my file, I was hoping there may be an easier way.
Kind regards,
Robin Franken