You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A vocabulary does not have to registered with the Jena core system to be used.
The files in "vocabularies/" aren't special - the code does not react to their presence and a constants file can be in any java package,
Mostly, they are W3C related or Jena-specific (W3C vocabaularies are usually quite stable).
The files provide convenience constants in Java, but they don't contain java for any domain/range declarations or any labels, or (as in the GS1 case) the owl:sameAs declarations.
To use in data, simply use the URIs, with or without a prefix declaration. No Jena setup necessary.
PREFIX gs1: <https://ref.gs1.org/voc/>
To use in code, a schemagen translation of GS1 can be placed in any java package including your application.
The GS1 vocabulary changed in 2025-01 and changed several times in 2024. A copy in Jena is going to become out-of-date quite quickly. (The schema.org copy in vocabularies/ is over 4 years out of date.)
Version
5.3.0
Feature
GS1 is a schema.org vocabulary extension managed by the GS1 consortium and published here https://ref.gs1.org/voc/
Are you interested in contributing a solution yourself?
Yes
The text was updated successfully, but these errors were encountered: