Hello Kim; These are appropriate questions. The error message on missing imports is actually a warning. You can ignore the warning if you want. But because you edited the text file (I take it you just deleted the owl:import statement), you will end up with some unreferenced resources. I.e. a triple refers to a resource that was in the import, but you are no longer importing the file.
A better way to remove an import is to go to the imports tab in Composer and choose "Remove selected import". You will get a dialog asking whether you want to also removing things in your file that uses resources defined in the imported file. "Yes" will clean everything up as though the import never existed, but will remove some triples from your file. Help > TopBraid Composer > User Interface Overview > Imports View will give you some tips on the interface. Help > TopBraid Composer > Import and Export > Work with imported ontologies has good information on how owl:import works. If you want to save some of the imported triples into one file "clone" the ontology/file) , choose 'Export... > Export/Merge/Convert RDF graphs' from the navigator tab. Choose the file format you want (owl/ n3/...). There will be a choice box for each imported file toward the bottom of the export wizard. Choose the imports you want, name the file and its base URI (best practice: one unique base URI for each file). The result will be that the file plus all import files you chose will be merged into the new file you created. -- Scott On Dec 10, 9:55 pm, KimT <[email protected]> wrote: > Hi, > > I'm new to using TopBraid, so this may be a silly question. I have > just created an ontology. This ontology imports several other > ontologies. I've now decided to create a different version of this > ontology, but this time using only some of the imported ontologies and > by referencing some of the classes I need from the other external > ontologies via their namespaces (instead of importing whole > ontologies). I realise that I need to change the baseURI in the second > ontology, but can't see how to edit that from within TopBraid ? If I > edit the owl file from outside TopBraid and then try to open the owl > file again in TopBraid I get error messages about missing imports. So > I can't seem to make a partial clone of my original ontology, minus > imports if I want it to be a new ontology with its own base URI. > > Ideally, I would like to be able to drag and drop classes from one > ontology into another - is this possible ? > > Can anyone give me a few clues about what to do. > > Regards, Kim --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TopBraid Composer Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/topbraid-composer-users?hl=en -~----------~----~----~----~------~----~------~--~---
