robot
robot copied to clipboard
import external uri with its annotations
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):
Here is my resulting ontology:
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
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.