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

unlocode.jsonld doesn't define prefix unlcdf #182

Open
VladimirAlexiev opened this issue Sep 25, 2023 · 1 comment
Open

unlocode.jsonld doesn't define prefix unlcdf #182

VladimirAlexiev opened this issue Sep 25, 2023 · 1 comment

Comments

@VladimirAlexiev
Copy link

curl https://vocabulary.uncefact.org/unlocode# -H 'Accept: application/ld+json'
uses the unlcdf prefix for "functions":

      "unlcdv:functions": [
        {
          "@id": "unlcdf:3"
        },
        {
          "@id": "unlcdf:4"
        },
        {
          "@id": "unlcdf:6"
        }
      ],

However, it doesn't define such prefix.

unlocode-vocab-context.jsonld doesn't define the prefix either.

@VladimirAlexiev
Copy link
Author

We can illustrate the problem at the jsonld playground https://tinyurl.com/22vyjbus tab NQuads:

<https://vocabulary.uncefact.org/unlocode#ADALV> <https://vocabulary.uncefact.org/unlocode-vocab/functions> <unlcdf:3> .
<https://vocabulary.uncefact.org/unlocode#ADALV> <https://vocabulary.uncefact.org/unlocode-vocab/functions> <unlcdf:4> .
<https://vocabulary.uncefact.org/unlocode#ADALV> <https://vocabulary.uncefact.org/unlocode-vocab/functions> <unlcdf:6> .

As you can see, the function values resolve to an invalid URI scheme unldcf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant