Comments (1)
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)
- Updating ontology metadata sometimes fails with Faraday::TimeoutError
- Cache not invalidated after new submissions are processed
- Replace abandoned Spawnling gem with alternative
- gemspec file is outdated HOT 1
- label creator
- Faraday multipart middleware moved out
- Tests action isn't working for PRs? HOT 4
- Validate API key before running unit tests HOT 1
- URI.escape is obsolete warnings after Ruby 2.7 upgrade
- Replace test-unit with minitest
- find method on LinkedData::Client::Models::Class throws argument error HOT 3
- use dockerised and dedicated ontologies_api instance for unit testing HOT 2
- API calls in refresh_cache method intermittently failing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ontologies_api_ruby_client.