Skip to content
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

Range as abbreviated IRI in annotation property frame, Manchester syntax #1095

Open
daniilsvc opened this issue Feb 23, 2023 · 0 comments
Open

Comments

@daniilsvc
Copy link

daniilsvc commented Feb 23, 2023

Problem description

According to Manchester syntax IRI := fullIRI | abbreviatedIRI | simpleIRI. So IRI can be abbreviated IRI. But if we represent Range field of AnnotationPropertyFrame as abbreviated IRI then it can't be parsed by OWL API (tried with version 4.5.20).

Exapmle

If we transform BDO into Manchester syntax with Protege we can see next AnnotationPropertyFrame in result:

AnnotationProperty: count

    Annotations: 
        rdfs:label "count"^^xsd:string
    
    Domain: 
        <http://purl.org/skeletome/bonedysplasia#Gene_Mutation>
    
    Range: 
        <http://www.w3.org/2001/XMLSchema#nonNegativeInteger>

If we change Range field to

Range:
    xsd:nonNegativeInteger

then it can't be parsed with OWL API.

The point is that if some tool generates .omn file with IRI in abbreviated form (which is allowed according to OWL standard) it becomes inconsistent with OWL API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant