uncefact / spec-jsonld

Exposing the UN/CEFACT vocabulary as web semantics
https://service.unece.org/trade/uncefact/vocabulary/uncefact/
13 stars 5 forks source link

update namespace of the uncefact ontology #187

Closed VladimirAlexiev closed 1 year ago

VladimirAlexiev commented 1 year ago

The uncefact ontology uses the following namespace:

"uncefact": "https://service.unece.org/trade/uncefact/trade/uncefact/vocabulary/uncefact#",

This is doubly obsolete:

https://vocabulary.uncefact.org/ does resolve.

I think you should use the following namespace (slash is better than hash for all but the smallest of ontologies):

"uncefact": "https://vocabulary.uncefact.org/uncefact/",

This will break some existing semantic data and may break some VCs. But I think it's better to break them now rather than later!

@nissimsan can you give this issue top priority?

VladimirAlexiev commented 1 year ago

Now this is fixed:

  "@context": {
    "rdfs": "http://www.w3.org/2000/01/rdf-schema#",
    "unece": "https://vocabulary.uncefact.org/",

Though it doesn't use a sub-namespace, so unece classes/props will be mixed at the same level with unlocode.

Resolving