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

add URI options to cim-trig.pl? #148

Open
VladimirAlexiev opened this issue Dec 27, 2024 · 0 comments
Open

add URI options to cim-trig.pl? #148

VladimirAlexiev opened this issue Dec 27, 2024 · 0 comments
Assignees
Labels
instance Pertains to instance data urlpolicy Considerations about URL/namespace/folder/filename design/carving

Comments

@VladimirAlexiev
Copy link
Collaborator

VladimirAlexiev commented Dec 27, 2024

(More general than #143)

The cim-trig.pl script currently does the bare minimum with URIs and emits them as follows:

  • resources: <MAS>#_<uuid>
  • models: urn:uuid:<uuid>

But https://github.com/Sveino/Inst4CIM-KG/tree/develop/rdf-improved#cim-uris-and-resolvability describes more considerations. In particular:

Should we add options to the script to control this? For example:

  • --resource-url-mas-hash: use <MAS>#_<uuid> for resources (current default)
  • --resource-urn: use urn:uuid:<uuid> URNs for resources
  • --resource-url-dash: use dash not hash, and remove parasitic underscore
  • --resource-url-base: use <base>/<uuid> (explicitly given base instead of MAS) for resources
  • --model-urn: use urn:uuid:<uuid> for models (current default)
  • --model-url-mas: use <MAS>/<uuid> URLs for model
  • --model-url-base: use <base>/<uuid> (explicitly given base instead of MAS) for model

It would enable experimentation with various scenarios, but will hardly promote interoperability. Assigning to Svein to decide, then cancel or reassign to me.

@VladimirAlexiev VladimirAlexiev added the urlpolicy Considerations about URL/namespace/folder/filename design/carving label Dec 27, 2024
@VladimirAlexiev VladimirAlexiev added the instance Pertains to instance data label Dec 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
instance Pertains to instance data urlpolicy Considerations about URL/namespace/folder/filename design/carving
Projects
None yet
Development

No branches or pull requests

3 participants