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

too many prefixes: remove per-profile prefixes #4

Open
VladimirAlexiev opened this issue Sep 11, 2024 · 0 comments
Open

too many prefixes: remove per-profile prefixes #4

VladimirAlexiev opened this issue Sep 11, 2024 · 0 comments
Labels
ontology Pertains to ontology representation profile Pertains to profiles, packages (AP)

Comments

@VladimirAlexiev
Copy link
Collaborator

VladimirAlexiev commented Sep 11, 2024

Here are all prefixes I can find across CGMES and NC. I've listed them in this order:
CIM/CGMES/NC/model/header/meta, CGMES profiles, NC profiles, other (standard prefixes).

  --prefixOrder cim		\
  --prefixOrder nc		\
  --prefixOrder cims		\
  --prefixOrder dcat-cim	\
  --prefixOrder dm		\
  --prefixOrder eu		\
  --prefixOrder eumd		\
  --prefixOrder md		\
  --prefixOrder prof		\
  --prefixOrder profcim		\
				\
  --prefixOrder dh		\
  --prefixOrder dl		\
  --prefixOrder dy		\
  --prefixOrder eq		\
  --prefixOrder eqbd		\
  --prefixOrder gl		\
  --prefixOrder op		\
  --prefixOrder sc		\
  --prefixOrder ssh		\
  --prefixOrder sv		\
  --prefixOrder tp		\
				\
  --prefixOrder ae		\
  --prefixOrder as		\
  --prefixOrder co		\
  --prefixOrder er		\
  --prefixOrder gd		\
  --prefixOrder iam		\
  --prefixOrder ma		\
  --prefixOrder or		\
  --prefixOrder ps		\
  --prefixOrder psp		\
  --prefixOrder ra		\
  --prefixOrder ras		\
  --prefixOrder sar		\
  --prefixOrder sm		\
  --prefixOrder sis		\
  --prefixOrder shs		\
  --prefixOrder ssi		\
				\
  --prefixOrder dcat		\
  --prefixOrder dct		\
  --prefixOrder euvoc		\
  --prefixOrder owl		\
  --prefixOrder prov		\
  --prefixOrder rdf		\
  --prefixOrder rdfs		\
  --prefixOrder sh		\
  --prefixOrder skos		\
  --prefixOrder xsd

As you see, you use about 4x more prefixes than the standard ones.
Also, you hog short 2-3 letter prefixes.
There's no conflict with the standard ones (dct, sh) maybe by pure luck.

Happily, you don't use the profile prefixes (group 2 and 3) on terms (classes, props, individuals).
(If you had done that, you'd drive your users crazy.)
I'd guess that not even standards creators can say what is psp or sis without consulting some files.

You use profile prefixes for a couple of things, eg:

psp:Ontology a owl:Ontology ;
  dcterms:description "This vocabulary is describing the power system profile."@en ;
  dcterms:title "Power System Project Vocabulary"@en ;
psp:Package_PowerSystemProjectProfile a cims:ClassCategory

But there's no need to consume a prefix just for that.

My strong recommendation is to remove profile prefixes.

@VladimirAlexiev VladimirAlexiev added ontology Pertains to ontology representation profile Pertains to profiles, packages (AP) labels Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ontology Pertains to ontology representation profile Pertains to profiles, packages (AP)
Projects
None yet
Development

No branches or pull requests

1 participant