Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should we use 'also known as' instead of 'otherIdentifiers' #135

Closed
zachzeus opened this issue Jul 25, 2024 · 3 comments · Fixed by #148
Closed

Should we use 'also known as' instead of 'otherIdentifiers' #135

zachzeus opened this issue Jul 25, 2024 · 3 comments · Fixed by #148

Comments

@zachzeus
Copy link
Contributor

Also known as come from the DID scheme.

@Fak3
Copy link
Contributor

Fak3 commented Jul 27, 2024

We can't use alsoKnownAs because it instructs to merge the graph nodes into one.

Current sample taken from DigitalProductPassport.md:

"issuer": {
   "type": "CredentialIssuer",
   "id": "did:web:identifiers.acme.com:12345",
   "name": "ACME industries",
   "otherIdentifiers": [{
      "type": "Entity",
      "id": "https://abr.business.gov.au/ABN/View?abn=90664869327",
      "name": "ACME Pty Ltd",
      "idValue": "90664869327",
      "idScheme": "abr.business.gov.au",
      "idSchemeName": "Australian Business Number"}
    ]},

if we were to use alsoKnownAs instead of otherIdentifiers, then all the idValue, idScheme, etc.. would merge on the node with id did:web:identifiers.acme.com:12345, losing their original plain json association:

{
"id": "did:web:identifiers.acme.com:12345",
"idScheme": ["abr.business.gov.au", "gln", "business.eu", "etc"]
}

@VladimirAlexiev
Copy link

  • @Fak3 Completely agree: companies and their identifiers are totally different entities. Eg an identifier typically has issuance and expiration date that have nothing to do with company founding and dissolution date (think LEIs: LEI issuers like to make money on a subscription basis)
  • So alsoKnownAs has the semantics of owl:sameAs?
  • I guess alsoKnownAs is a URL: so another reason why we cannot do this is because not all identifier systems have an established URL representation.

@Fak3
Copy link
Contributor

Fak3 commented Aug 2, 2024

I was wrong - alsoKnownAs has different semantics from owl:sameAs. See note in the spec: https://www.w3.org/TR/did-core/#also-known-as. It does not necessarily tell to merge the nodes in the graph.

But the issue with describing identifiers separately from entities still exists, as described in the issue #137

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants