Knowledge-Graph-Hub / kg-obo

A package to transform all OBO ontologies into KGX TSV format and OBO json, and put the transformed graph in KGhub
https://knowledge-graph-hub.github.io/kg-obo/getting_started.html
GNU General Public License v3.0
28 stars 2 forks source link

Transform of `swo` does not normalize prefixes #194

Open caufieldjh opened 2 years ago

caufieldjh commented 2 years ago

Describe the bug

The transform of swo involves a few different IRI prefixes, though none of them appear to be converted:

id  category    name    description provided_by iri same_as
...
http://www.ebi.ac.uk/swo/maturity/SWO_9000071   biolink:NamedThing  First release   The first release of a piece of software. A first release does not imply any particular levels of maturity other than is this is the first instance of this software to be considered released. swo.json    http://www.ebi.ac.uk/swo/maturity/SWO_9000071
http://www.ebi.ac.uk/swo/license/SWO_10000035   biolink:NamedThing  Distribution clause Distribution clauses are license clauses which state the requirements on how the licensed resource is redistributed. The license for a resource may or may not allow the redistribution of that resource. If it is allowed, such usage may be restricted in a variety of ways.  swo.json    http://www.ebi.ac.uk/swo/license/SWO_10000035
http://www.ebi.ac.uk/efo/swo/SWO_0000507    biolink:NamedThing  obsolete cosmoGUI       swo.json    http://www.ebi.ac.uk/efo/swo/SWO_0000507

To Reproduce

python run.py --bucket kg-hub-public-data --save_local --get_only swo

Expected behavior

Prefixes should take the form SWO:

Version

107f982d96aed308912734c8d30eb560bd6ba6d6