Closed cmungall closed 6 years ago
Test case:
Prefix: GO: <http://purl.obolibrary.org/obo/GO_>
Prefix: x <http://example.org/>
Prefix: oboInOwl: <http://www.geneontology.org/formats/oboInOwl#>
Ontology: <http://purl.obolibrary.org/obo/test>
AnnotationProperty: oboInOwl:id
Class: GO:0000001
Annotations:
rdfs:label "test1"
Class: GO:0000002
Annotations:
rdfs:label "test2",
oboInOwl:id "FAKE:1234"
Class: x:005
Annotations:
rdfs:label "test3",
oboInOwl:id "X:5"
The IDs should be GO:0000001, GO:0000002, X:5
One more test
Class: x:010
Annotations:
rdfs:label "test4"
should preserve URL
@yy20716 can you add one more test, as above?
Thank you for your reminder. I added that case in this pull request.
I guess this issue can be closed but please let me know if you encounter any other problems. Thank you.
Looking good so far.
OWLGraphWrapperExtended
Instead it should:
In future we may also want the ability to use prefixcommons curie util to do this in a custom way