robot icon indicating copy to clipboard operation
robot copied to clipboard

importing not included concepts

Open luisenriqueramos1977 opened this issue 2 years ago • 2 comments

Dear All,

I am extracting a module from chebi ontology, using the following command: robot extract --method STAR --input source_ontos/chebi.owl --term-file onto_terms/chebi_terms.txt --output extracted_modules/start_method/chebi_start.owl and the following terms:

http://purl.obolibrary.org/obo/CHEBI_24431 http://purl.obolibrary.org/obo/CHEBI_24433 http://purl.obolibrary.org/obo/CHEBI_33250

However the terms atomic nucleus, electron, and nucleon are being imported, which are not subclasses of the concepts listed above. In other words, I am successfully importing the terms chemical entity, atom, and group, but additional terms, which are not a subclass of chemical entity are being imported.

Thus, I wonder where should be the error from my side?

Best regards

Luis Ramos

luisenriqueramos1977 avatar Oct 12 '22 08:10 luisenriqueramos1977

@luisenriqueramos1977

Any SLME module will extract all terms logically related to the input signature. STAR is the smallest, but it will still import a lot of terms. If you want to be 100% minimal use ROBOT filter.

matentzn avatar Oct 12 '22 08:10 matentzn

I would suggest trying the MIREOT method of robot extract first. robot filter is also an option, but is more difficult to configure. I believe that @matentzn is thinking of the ODK has a filter module type.

jamesaoverton avatar Oct 12 '22 17:10 jamesaoverton