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

save () - @id naming convention #15

Open
Peyman-N opened this issue Sep 27, 2023 · 1 comment
Open

save () - @id naming convention #15

Peyman-N opened this issue Sep 27, 2023 · 1 comment
Labels
for discussion Further discussion of this issue is needed

Comments

@Peyman-N
Copy link
Member

At one point in the past we decided to use this naming convention "http://LOCALHOST/openminds/instance/SCHEMATYPE/UUID" for @ids; I think something like this is better than just "_:000001"`(SCHEMATYPE would be written in lower camelCase here)

@Peyman-N Peyman-N mentioned this issue Sep 27, 2023
@apdavison apdavison added the for discussion Further discussion of this issue is needed label Oct 1, 2023
@apdavison apdavison changed the title save () - naming convention save () - @id naming convention Oct 1, 2023
@apdavison
Copy link
Member

apdavison commented Oct 1, 2023

I am against using LOCALHOST. If a user can't provide a stable, persistent @id, I think it's better to use a blank node identifier.

The blank node identifier could certainly be something like _:SCHEMATYPE/UUID, though (cf #14)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for discussion Further discussion of this issue is needed
Projects
None yet
Development

No branches or pull requests

2 participants