Skip to content

No practical way to retrieve resource if only LoC id is known #5

@drnelson6

Description

@drnelson6

The identifier at the end of the URI is not a reliable way to retrieve the entity.

While most entities can be retrieved from the base url http://id.loc.gov/authorities/, geographic subcomponents throw an error:

http://id.loc.gov/authorities/n78095330-781 -- 404

http://id.loc.gov/authorities/names/n78095330-781 -- resolves

Proposed solutions:

  • deprecate use of plain URI entirely and store only component identifier and dataset URI
  • prefer use of dataset URI and only use plain URI as a fallback (understanding there may be other cases in which it 404s)
  • require initialization from full dataset URI

Research:

  • How are LoC URIs and identifiers stored by other entities?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions