robot icon indicating copy to clipboard operation
robot copied to clipboard

import external uri with its annotations

Open luisenriqueramos1977 opened this issue 2 years ago • 1 comments

Dear All,

I am trying to develop an ontology where some classes make reference to specific external uris, like for instance:

http://purl.obolibrary.org/obo/BFO_0000019.

The class with this URI is successfully created, same as the listed subclasses,

But, the corresponding annotations of the mentioned uri are not included, like: rdfs:label, among others.

Here is the view of the original concept quality (BFO_0000019):

image

Here is my resulting ontology:

image

As you can see the URI is held, but no annotations are being imported.

I used the following command:

robot template --merge-before --input inputonto.owl --template template.csv --prefix "test: https://www.test.com" --output output.owl

I would like to obtain the information shown in the first picture, and I hope you could tell me if the expected output is possible, and if it is the case, how to get it.

Luis Ramos

luisenriqueramos1977 avatar Apr 11 '22 13:04 luisenriqueramos1977

You will need to actually copy the information about BFO:0000019 (and other BFO terms you want to reuse) out of the BFO OWL file and into your OWL file. The main ROBOT command for this is extract.

You may find the documentation and tutorials on OBO Academy helpful.

jamesaoverton avatar Apr 11 '22 15:04 jamesaoverton