ebi-chebi / ChEBI

Chemical Entities of Biological Interest (ChEBI) is a freely available dictionary of molecular entities focused on ‘small’ chemical compounds.
https://www.ebi.ac.uk/chebi
Creative Commons Attribution 4.0 International
43 stars 10 forks source link

The OWL build available from the CHEBI FTP site is non-standard #3105

Closed muthuvenkat closed 8 years ago

muthuvenkat commented 9 years ago

The chebi.owl available here ftp://ftp.ebi.ac.uk/pub/databases/chebi/ontology/

is potentially confusing to users. It uses an annotation vocabulary that is non-standard and unique to CHEBI.

I recommend you use the standard OWLAPI obo<->owl translation. You can use the latest version of Protege, or a command line tool such as

If you do this we can also simplify the OBO central build pipeline (at the moment we are forced to make our own CHEBI build using this jenkins job - http://build.berkeleybop.org/job/build-chebi/ )

Reported by: cmungall

muthuvenkat commented 8 years ago

@cmungall, I have tried the owltools as a dependency, but the owl file exported doesn't have any major changes, can you please elaborate bit more on what is "Standard annotation vocabulary", and the things that are confusing the users. Also if you can provide an example to look, would be helpful.

cmungall commented 8 years ago

These are your annotation properties:

    <owl:AnnotationProperty rdf:about="http://purl.obolibrary.org/obo#InChIKey"/>
    <owl:AnnotationProperty rdf:about="http://purl.obolibrary.org/obo#InChI"/>
    <owl:AnnotationProperty rdf:about="http://purl.obolibrary.org/obo#xref"/>
    <owl:AnnotationProperty rdf:about="http://purl.obolibrary.org/obo#altId"/>
    <owl:AnnotationProperty rdf:about="http://purl.obolibrary.org/obo#Synonym"/>
    <owl:AnnotationProperty rdf:about="http://purl.obolibrary.org/obo#SMILES"/>
    <owl:AnnotationProperty rdf:about="http://purl.obolibrary.org/obo#Definition"/>`

This is the official mapping http://owlcollab.github.io/oboformat/doc/obo-syntax.html#5.6

There are some other things you should switch as well, for example, you should either use the standard part-of object property (BFO_0000050), removing your own axioms about it; or if the CHEBI one is truly different best to choose a different label so as not to confuse.

Is the code that makes the conversion in github? I could point to specific problems

@dosumis is often at the EBI and can provide local help if need be

dosumis commented 8 years ago

Unless you have expressiveness outside of OBO, it should be to sufficient to make the OWL version using the OBO dump of ChEBI and convert using Oort or Robot.

muthuvenkat commented 8 years ago

Thanks @dosumis. @cmungall, we generated a OWL file using Robot (converted from OBO to OWL). Its available in the public ftp (ftp://ftp.ebi.ac.uk/pub/databases/chebi/ontology/chebi_robot.owl), can you please take a look and let us know if there are anything missing.

muthuvenkat commented 8 years ago

@cmungall do you want us to generate the future OWL file using Robot library. Can you please confirm.

cmungall commented 8 years ago

Correct. Tool is here https://github.com/ontodev/robot/

robot convert -i chebi.obo -o chebi.owl
muthuvenkat commented 8 years ago

Thanks @cmungall, thats how i generated this one, shall do it for the future releases too.