Linked Data Serialisation¶
Source version 1.2.0. Draft for discussion and validation.
9. Linked Data Serialisation Overlay¶
9.1 Purpose¶
The Linked Data overlay defines how a profile-conformant GS1 artefact is represented as an RDF graph and connected to other GS1 and external resources.
9.2 Required representations¶
The selected representation set should be based on the artefact and intended consumers. A typical package may include:
- JSON-LD for Web and developer integration;
- Turtle for ontology and expert review;
- RDF dataset formats where named graphs or provenance bundles are required;
- HTML with embedded structured data for human and machine discovery;
- SHACL shapes in Turtle or JSON-LD;
- a JSON-LD context where compact developer-facing JSON is needed.
9.3 Linked Data rules¶
- Use canonical HTTPS IRIs for addressable GS1 resources where an approved identifier policy exists.
- Distinguish the conceptual artefact from a version and from each distribution.
- Make IRIs dereferenceable to useful metadata or representations.
- Support content negotiation where operationally practical.
- Use explicit RDF types.
- Reuse established vocabularies before defining new terms.
- Publish the meaning and governance of every GS1-specific term.
- Qualify mappings and references rather than relying indiscriminately on
owl:sameAs. - Represent provenance at artefact and distribution level.
- Publish SHACL constraints for expected graph structures.
- Preserve language tags and datatype semantics.
- Provide deterministic identifiers or skolem IRIs where blank nodes would impede citation or comparison.
9.4 Candidate vocabulary stack¶
| Concern | Candidate vocabulary or standard |
|---|---|
| Catalogue and distributions | DCAT 3 |
| General metadata | Dublin Core Terms |
| Provenance | PROV-O |
| Controlled concepts | SKOS |
| Ontology semantics | RDF Schema and OWL 2 |
| Validation | SHACL |
| Linked-data JSON | JSON-LD 1.1 |
| Rights and policy | DCTERMS and ODRL where justified |
| Products and organisations | GS1 Web Vocabulary and GS1 identifiers |
| Web discovery | schema.org mappings where semantically appropriate |
9.5 Linked Data package example¶
publication-package/
├── manifest.jsonld
├── metadata.ttl
├── artefact.jsonld
├── artefact.ttl
├── shapes.ttl
├── context.jsonld
├── provenance.ttl
├── examples/
│ ├── valid-example.jsonld
│ └── invalid-example.jsonld
└── validation-report.ttl