Sveino / Inst4CIM-KG

Instance of CIM Knowledge Graph
Apache License 2.0
3 stars 1 forks source link

Design package URLs (namespaces) #56

Open VladimirAlexiev opened 2 weeks ago

VladimirAlexiev commented 2 weeks ago

@griddigit-ci in https://github.com/Sveino/Inst4CIM-KG/issues/12#issuecomment-2350838054 I have a question here. Is it good to actually have the packages just as "fragment" of the namespace

In the new dynamics and also for the rest of CIM we applied uris for each package Dynamics: http://cim.ucaiug.io/grid/Dynamics/1.0 StandardInterconnections: http://cim.ucaiug.io/grid/StandardInterconnections/1.0

Can each package by a vocabulary and the uri be the namespace of that vocabulary?

The cim prefix is http://cim.ucaiug.io/ns#. Can we also map this to http://cim.ucaiug.io/ and then we would understand that StandardInterconnections is a vocabulary from cim grid part?

then instead of defining this as a package we can describe the metadata for that vocabulary

VladimirAlexiev commented 2 weeks ago

12 finds these packages in DY:

IMHO these packages fall into two kinds:

Here's a proposal:

Assuming that http://cim.ucaiug.io/grid/Dynamics is the ontology URL, we can have:

Can we remove the duplicated word "Dynamics" from the last part? Do these sound ok?

At present, the URLs look like this. IMHO Package is unnecessary and Dynamics is again duplicated

Chavdar, using _ or / in the fragment part (after #) is allowed. Using # is not allowed. But I like to use / both for the main namespace, and for its hierarchical subdivision.

Important: https://github.com/Sveino/Inst4CIM-KG/issues/57