Skip to content

Alias #5

Closed
Closed

Description

@marqh

In order to allow existing vocabularies to be used and referenced as HTTP URIs, I propose that a specific container be allowed, defining aliases.

This is a poorer version of prefixing, it is not as rich or widely applicable, but it does enable BALD datasets to also conform to existing conventions.

A designated aliases Subject shall contain attributes and nothing else. Each attribute defines:

  • an alias, the attribute name
  • a value, the http URI which is used to replace the alias wherever it is found.

Any container may declare aliases, using a (not aliased) attribute: bald:isAliasedBy referencing a Subject.

I also propose that aliases never be overridden, an alias conflict should always raise an exception.
This protects aggregated data collections from conflicts in aliasing which would require careful intervention to resolve.

Activity

  1. marqh commented on Oct 6, 2016

    @marqh
    MemberAuthor

    #9 has an implementation which addresses this issue, I believe; please add comments to that PR as to its suitability

    Please add further comments to this issue where #9 does not meets this requirement

  2. marqh commented on Oct 18, 2016

    @marqh
    MemberAuthor

    #9 is now merged, so I am closing this issue. further discussion on aliases is (of course) welcome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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