OBOFoundry / purl.obolibrary.org

A system for managing OBO PURLs
BSD 3-Clause "New" or "Revised" License
75 stars 128 forks source link

Create URIs for ontologies that are independent of serialization #852

Open cmungall opened 2 years ago

cmungall commented 2 years ago

URLs like http://purl.obolibrary.org/obo/obi fall though to OCLC

Proposal:

matentzn commented 2 years ago

Lol i just took a note to make that exact request tomorrow!! My 100% support!

jamesaoverton commented 2 years ago

There's a base_redirect configuration parameter (see the README) that controls these http://purl.obolibrary.org/obo/foo. Some projects use them, and some do not. I don't think we can change this behaviour across the board.

matentzn commented 2 years ago

I looked at the use of base_redirect, https://github.com/OBOFoundry/purl.obolibrary.org/search?p=1&q=base_redirect&type=code and it is without fail a link to the homepage.

What about this, we simply redirect it by default to https://obofoundry.org/ontology/bfo.html unless it is overwritten, add an SOP that it should be a link to an "informative page about the resource" and moving forward, recommend

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

To be the identifier of the resource itself - like say a wikidata identifier.

The cool thing would be that we don't have to make up new purls to denote "the ontology as a whole". I don't really think we care where the link resolves - just not "nowhere".

matentzn commented 1 year ago

Reviving the above, but adding another complication: the PURL prefix.

  1. Can we redirect http://purl.obolibrary.org/obo/foo by default to https://obofoundry.org/ontology/foo.html if its not otherwise specified and
  2. Can we redirect http://purl.obolibrary.org/obo/FOO (where FOO is the ontology preferred prefix) to the same place?