Code Monkey home page Code Monkey logo

Comments (1)

jvendetti avatar jvendetti commented on August 12, 2024

Most cases of PURLs resolving as 404 Not Found errors have been fixed by a separate process where @alexskr ran a newly created Rake task in the ncbo_cron project called purl_management.rake to fix existing PURLs.

However, we still have a problematic case with the purl method.

For ontologies where class IDs have "purl" in the string, we simply return the class IDs. This is probably the desired behavior for classes in the UMLS format ontologies that we generate in-house. For example, the PURL for the "Body structure" class in SNOMEDCT is:

http://purl.bioontology.org/ontology/SNOMEDCT/123037004

... which correctly resolves to a page in BioPortal.

It's not the desired behavior though when the class ID has "purl" in the string and it's not a BioPortal PURL. One example is the "disease" class in the Human Disease Ontology where the class ID is:

http://purl.obolibrary.org/obo/DOID_4

... which resolves to a page outside of the BioPortal application. This isn't a 404 error as per the issue title, but the purl method should be adjusted to generate a URL that resolves to a page in BioPortal, i.e.:

http://purl.bioontology.org/ontology/DOID?conceptid=http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FDOID_4

from ontologies_api_ruby_client.

Related Issues (14)

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.