How to import specific classes and object properti

2019-01-24 21:36发布

问题:

I want to import some classes in Protege from different ontologies to my ontology. For example, I need the classes foaf:Person, org:Site, vcard:Organization, and many more.

I don't want to create them by myself (and modifying their IRI). When I did import the whole ontology (Schema.org, vCard, FOAF, …), I had many elements that I don't need.

Is there any way to do it?

回答1:

— Have you looked at this thread: protege-project.136.n4.nabble.com/…

— I tried to use it, but it didn't work.

There are subtle moments, especially on step 5.

  1. Open your target ontology.

  1. Open the source ontology in the same window.

  1. Select Refactor > Copy/move/delete axioms:

  1. Select axiom selection method.

  1. Select signature (i. e. a set set of classes, properties etc.) to import. Do not forget to press >> !

  1. Now you can preview axioms to be imported.

  1. Select what you want to do:

8-9. Select your target ontology:

  1. Voila!