You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jena.apache.org by "ziodave (via GitHub)" <gi...@apache.org> on 2025/02/04 07:20:47 UTC
[I] GS1 namespace [jena]
ziodave opened a new issue, #2987:
URL: https://github.com/apache/jena/issues/2987
### 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
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org
Re: [I] GS1 namespace [jena]
Posted by "afs (via GitHub)" <gi...@apache.org>.
afs closed issue #2987: GS1 namespace
URL: https://github.com/apache/jena/issues/2987
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org
Re: [I] GS1 namespace [jena]
Posted by "ziodave (via GitHub)" <gi...@apache.org>.
ziodave commented on issue #2987:
URL: https://github.com/apache/jena/issues/2987#issuecomment-2633364367
Hi @afs , understood, I thought it would be helpful to have it.
Thanks for your quick reply.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org
Re: [I] GS1 namespace [jena]
Posted by "afs (via GitHub)" <gi...@apache.org>.
afs commented on issue #2987:
URL: https://github.com/apache/jena/issues/2987#issuecomment-2633318489
Hi @ziodave
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.
```ttl
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](https://ref.gs1.org/voc/data/archive) 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.)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org