Giter VIP home page Giter VIP logo

Comments (8)

msalvadores avatar msalvadores commented on July 22, 2024

Same issue with this ontology:

http://bioportal.bioontology.org/ontologies/3198

from owlapi.

matthewhorridge avatar matthewhorridge commented on July 22, 2024

It looks like the ontology has a property named rdf:Description and this is confusing the parser.

from owlapi.

msalvadores avatar msalvadores commented on July 22, 2024

Interesting ... that gives me a potential work around. Thanks @matthewhorridge

from owlapi.

ignazio1977 avatar ignazio1977 commented on July 22, 2024

rdf:Description with the same standard expansion for rdf? Among other things, that's use of reserved vocabulary :-)
Can you run the profile violation tool on it? It might report other fixes that need to be applied.
Thanks for the report.

from owlapi.

ansell avatar ansell commented on July 22, 2024

The grammar seems to state that rdf:Description is not allowed as a property URI:

http://www.w3.org/TR/REC-rdf-syntax/#propertyElementURIs

from owlapi.

ansell avatar ansell commented on July 22, 2024

The use of rdf:Description in the ontology seems to match the common usage of rdfs:comment, if you need an alternative.

from owlapi.

ignazio1977 avatar ignazio1977 commented on July 22, 2024

Confirmed, the profile check for OWL 2 DL reports the property name as reserved vocabulary.
For backwards compatibility this is not treated as an error - it should, IMHO, but we do not want to break all the tools which rely on being able to load slightly invalid ontologies.
We have plans to enable stricter parse and output modes in version 4. This will allow to fix issues as the one described here.
Turning this into a feature request as a reminder.

from owlapi.

ignazio1977 avatar ignazio1977 commented on July 22, 2024

OWLProfileViolation now comes with a fix method, that provides the changes required to make the violation go away. Use with care, as sometimes the fix is to drop the axiom.

from owlapi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.