Giter Club home page Giter Club logo

Comments (2)

yongqunh avatar yongqunh commented on August 24, 2024

Ontobee has owl:imports to define the ontology source of the term. However, the previous version did not solve all cases including the example: http://purl.obolibrary.org/obo/UBERON_0000981. Bin Zhao from my lab and I worked on this today. Bin found a bug in the program and he fixed it. In addition, Bin also added the suggested rdfs:isDefinedBy feature.

Now if you check the example http://purl.obolibrary.org/obo/UBERON_0000981 or any other cases, you should be able to find both owl:imports and rdfs:isDefinedBy statements. The pointed ontology PURL should be the same.

from ontobee.

yongqunh avatar yongqunh commented on August 24, 2024

Some explanation -- here is what Bin found and fixed:

Previous Ontobee version: After ontology RDF reformat, the previous Ontobee program looks for owl:Ontology .... /owl:Ontology. The program replaces /owl:Ontology with owl:imports statement and adds back the /owl:Ontology.

However, when there is no metadata between owl:Ontology and /owl:Ontology, there will be a self closure of this to form <owl:Ontology .... />. In this case, the /owl:Ontology does not exist any more. So the replacement will fail.

Bin's fix: if a self closure <owl:Ontology .... /> is found, open the closure and make it looks like owl:Ontology .... /owl:Ontology. Then reapply the previous code. It should work fine now.

from ontobee.

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.