-
Notifications
You must be signed in to change notification settings - Fork 315
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OWLAPI injects rdfs:label assertions for oboInOwl when converting from obo format #1134
Comments
Just for clarity, the extra labels are these two?
|
I added But I didn't make any changes to |
@ignazio1977 - correct OK so it looks like this sort of behavior has been in the OWLAPI for some properties for quite some time. Using 4.5.6: format-version: 1.4
ontology: comment
[Term]
id: X:1
name: x1
def: "x" [foo:1]
comment: "This is a comment about term X:1."
xref: Y:1 yields 3 injections # Annotation Property: <http://purl.obolibrary.org/obo/IAO_0000115> (definition)
AnnotationAssertion(rdfs:label <http://purl.obolibrary.org/obo/IAO_0000115> "definition"^^xsd:string)
# Annotation Property: <http://www.geneontology.org/formats/oboInOwl#hasDbXref> (database_cross_reference)
AnnotationAssertion(rdfs:label <http://www.geneontology.org/formats/oboInOwl#hasDbXref> "database_cross_reference"^^xsd:string)
# Annotation Property: <http://www.geneontology.org/formats/oboInOwl#hasOBOFormatVersion> (has_obo_format_version)
AnnotationAssertion(rdfs:label <http://www.geneontology.org/formats/oboInOwl#hasOBOFormatVersion> "has_obo_format_version"^^xsd:string) the latest # Annotation Property: <http://purl.obolibrary.org/obo/IAO_0000115> (definition)
AnnotationAssertion(rdfs:label <http://purl.obolibrary.org/obo/IAO_0000115> "definition")
# Annotation Property: <http://www.geneontology.org/formats/oboInOwl#hasDbXref> (database_cross_reference)
AnnotationAssertion(rdfs:label <http://www.geneontology.org/formats/oboInOwl#hasDbXref> "database_cross_reference")
# Annotation Property: <http://www.geneontology.org/formats/oboInOwl#hasOBOFormatVersion> (has_obo_format_version)
AnnotationAssertion(rdfs:label <http://www.geneontology.org/formats/oboInOwl#hasOBOFormatVersion> "has_obo_format_version")
# Annotation Property: <http://www.geneontology.org/formats/oboInOwl#id> (id)
AnnotationAssertion(rdfs:label <http://www.geneontology.org/formats/oboInOwl#id> "id")
so @balhoff's changes just make things more consistent, so I'm less troubled than I was. I would still like the |
At some point in the recent history of the OWLAPI it started injecting rdfs:label assertions when converting from obo format
E.g.
generates
This isn't part of the specification. We can change the spec to reflect current behavior but I would rather this behavior is removed
Originally posted by @cmungall in #1102 (comment)
The text was updated successfully, but these errors were encountered: