Hello, I have been having a strange time attempting to use source code in TBC. My strategy has been to copy and past source code into the source code view for the class Thing. Basically I have a text file of code that I copy and paste and TBC makes the appropriate changes when I click on apply.
This procedure has worked for me before. I tried it once at home and it worked. I was also using it with some facility on the instance of TBC that I have on the machine at the office. However, when I attempted to do the exact same thing on my machine at home, using the exact same files, TBC does not interpret the code correctly. Instead of making the new classes subclass of pre-existing classes, all imports become subclasses of thing, and when I save the result all of the old classes are erased. What is more, the source code for the newly generated classes no longer contains the subclass declaration triple. So, TBC does not recognize that my new classes are subclasses of pre-existing classes. I have not gotten a chance to get back to the office to see if this happens there as well, but I have no reason to think that it should. (however, this procedure did work on my home machine in the past) So my question is what is the best method for making additions to an ontology using source code? I did not see any Sparql Motion modules that would provide for this. I need this functionality inorder to make changes over a large number of resources without having to input this stuff manually. Any help will be greatly appreciated. Best, Leonard -- You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include TopBraid Composer, TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN. 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-users?hl=en
