protegeproject / protege

Protege Desktop
http://protege.stanford.edu
Other
1.01k stars 231 forks source link

Add Ability to Define Multiple Instances (similar to Tools>Create Class Hierarchy) #1039

Open mdebellis opened 2 years ago

mdebellis commented 2 years ago

This came up on the email list several months ago and since then I've come across several situations where the following functionality would be useful and I imagine pretty trivial to implement: It would be nice if one could click on a class; select "Add instances"; and get a window similar to the window for "Tools>Create class hierarchy" where one can enter (or paste) a bunch of names, each name on a new line, and Protégé will make them all instances of the selected class. As far as I can tell there is no way to do this right now. Instead, one has to use the pop-up text entry window to give the name of a new instance one by one. This would be easier to do than Create Class Hierarchy because it would just be a list of individuals with no need to pay attention to indentation as with Create Class (or Property) Hierarchy. I mostly use Cellfie to load instances now but once in a while I have use cases where I just want to create a bunch of instances by copy/pasting a list from some document or just typing them in by hand and this new feature would make that much easier.