GS1 Logo

GS1 Web Vocabulary ยท User Guide

Task Walkthroughs, Search Guide, Visual Property Graphs & Quick Reference

Section 0

Quick Start Card

โšก Instant Orientation

The GS1 Web Vocabulary is the official, machine-readable vocabulary for identifying products, organizations, locations, and physical dimensions on the web. It extends schema.org so that web crawlers, ERP systems, and e-commerce platforms can understand GS1 master data directly. This browser tool lets you search terms, inspect definitions and property hierarchies, and retrieve linked data in HTML, RDF Turtle, or JSON-LD.

Topic Summary / Action Direct Link
Live Tool The active browser tool hosted under https://ref.gs1.org/voc/. Open Live Browser โ†—
First Task Step-by-step tutorial to look up your first term (such as gs1:Product). Jump to Getting Started โ†“
Search & Filter Instant keyword search across classes, properties, and controlled code lists. Search Instructions โ†“
Machine Formats Retrieve Turtle or JSON-LD via browser links or HTTP Accept headers. Format Negotiation โ†“
Developer Architecture For engineers needing server-side rendering (SSR), caching, and indexing details. Developer Guide โ†—
Section 1

What This Tool Does

The GS1 Web Vocabulary collects terms defined in global GS1 standards and data systems and makes them available for general use following Linked Data principles. It is built as an extension to schema.org. When businesses publish product data online using GS1 Web Vocabulary terms, search engines and supply chain applications can interpret item descriptions, nutritional facts, packaging dimensions, and digital link relations without ambiguity.

With this browser tool at https://ref.gs1.org/voc/, you can:

  • Search vocabulary terms: Quickly find classes (like Product or Organization) and properties (like gtin, brand, or netWeight) using instant keyword filtering.
  • Inspect semantic hierarchies: See superclasses, subclasses, expected value ranges, and domain constraints for every term.
  • View visual property diagrams: Understand how properties connect domain classes to range values with clear domain-to-range graph diagrams.
  • Access multiple formats: View semantic HTML in your browser, or fetch RDF Turtle and JSON-LD directly using Content Negotiation or URL parameters.
  • Browse version history: Review past releases, Work Requests, and change logs tracking new terms and modifications.
๐Ÿ–ฅ๏ธ Tool Interface: Main Landing Page ๐Ÿ” Click to enlarge
GS1 GS1 Web Vocabulary 'The Global Language of Business' ๐Ÿ” Search by keyword All classes โ–พ Active terms only โ–พ About the GS1 Web Vocabulary The GS1 Web Vocabulary collects terms defined in various GS1 standards and data systems... โ–ถ Machine-interpretable ontology datasets (JSON-LD, Turtle) โ–ถ Log of changes (Releases, Work Requests, and Changes) โ–ถ Licence and Usage Information Current version: Release 2024-05 ยท Developer Guide ยท User Guide 1 2 3 4
  • 1 Keyword Search Input: Type any term name or word to instantly filter across all classes and properties.
  • 2 Collection Selector: Choose between Home Page, All Classes, All Properties, All Code Lists, or All Link Types.
  • 3 Display Mode: Toggle between active current terms only, or show historic deprecated terms as well.
  • 4 Download Accordions: Expand to access complete ontology downloads in JSON-LD, RDF Turtle, and change logs.

Supported Standards & Canonical Citations

The GS1 Web Vocabulary aligns directly with international open web standards and GS1 global specifications:

Standard Role in GS1 Web Vocabulary Reference Specification
GS1 Web Vocabulary Defines canonical web terms, classes, properties, and code lists for retail, apparel, and food products. GS1 Web Vocabulary Standard
schema.org Underlying vocabulary model. GS1 classes (like gs1:Product) extend schema:Product. schema.org Documentation
GS1 Digital Link 1.2 Enables GS1 identifiers (like GTIN or GLN) to resolve as web URIs and carry link types. GS1 Digital Link Standard
W3C Linked Data & JSON-LD 1.1 Provides the data graph format and @context mapping for structured data embedding. W3C JSON-LD 1.1
W3C RDF 1.1 Turtle Compact text format for RDF triples and ontology serialization. W3C Turtle Standard
Section 2

Getting Started: Your First Task

Follow this 5-step walkthrough to perform the most common user task: looking up a vocabulary term (gs1:Product) and inspecting its properties, subclasses, and data formats.

Step 1 Open the GS1 Web Vocabulary Browser

Navigate to https://ref.gs1.org/voc/ in your browser. The tool loads immediately with no login or plugin required.

Expected result: You see the corporate header with the GS1 logo, the orange search toolbar, and the overview accordions.
Step 2 Enter "Product" into the Search Input or URL

Click inside the Search by keyword box on the toolbar and type Product. Alternatively, you can navigate directly to https://ref.gs1.org/voc/Product.

Expected result: The tool displays the full term detail page for gs1:Product, complete with label, CURIE, status, and definition.
Step 3 Review Definition, CURIE, and Web URI

Notice the primary identifiers at the top of the term view: The CURIE is gs1:Product. The Web URI is https://ref.gs1.org/voc/Product. The Definition states: "Any item (product or service) upon which is allocated a unique information provider identifier..."

Expected result: You have verified that this term is an active OWL Class that extends schema:Product.
Step 4 Inspect Subclasses and Associated Properties

Scroll down to the Subclasses and Properties expecting a domain of gs1:Product tables. You will see specialized product classes (like FoodBeverageTobaccoProduct and Footwear) as well as commercial properties (like gtin, brand, netWeight, and countryOfOrigin).

Expected result: Each property row shows its expected value type (range) and definition. Clicking any property opens that property's detailed view.
Step 5 Access Machine-Readable RDF Formats

Scroll to the bottom of the term page or check the alternate representation links. You can click View as Turtle to see the term expressed as RDF triples, or View as JSON-LD for structured JSON.

Expected result: The browser displays the exact semantic payload ready to be incorporated into semantic graph databases or web page structured data.
๐Ÿ–ฅ๏ธ Term Details View: gs1:Product ๐Ÿ” Click to enlarge
GS1 Web Vocabulary Term: gs1:Product gs1:Product Current CURIE: gs1:Product https://ref.gs1.org/voc/Product Type: Class ยท Subclass of schema:Product Definition: Any item (product or service) upon which is allocated a unique information provider identifier... Subclasses in this vocabulary (4) Subclass Name Description gs1:FoodBeverageTobaccoProduct Food, beverage and tobacco products defined in GDSN. Properties expecting a domain of gs1:Product (selected) Property (CURIE) Expected Value (Range) Definition gs1:gtin xsd:string Global Trade Item Number identifying the product. gs1:netWeight gs1:QuantitativeValue The net weight of the product packaging excluded. Alternative formats: Turtle (.ttl) | JSON-LD (.jsonld) 1 2 3 4
  • 1 Term Heading & Status: Shows term name, status badge (Current or Deprecated), and superclass inheritance.
  • 2 Subclasses Table: Lists specialized classes that inherit all properties from this class.
  • 3 Domain Properties: All properties valid for use on this class, with their expected range types.
  • 4 Alternate Formats: Quick links to fetch raw RDF Turtle or JSON-LD representations.
Section 3

Core Features Walkthrough

Explore the four core interaction modes of the vocabulary browser tool: instant search, collections browsing, display filtering, and property diagrams.

3b. Exploring Term Definitions & Hierarchies

Every vocabulary term is identified by both a CURIE (compact URI, such as gs1:Product) and a full Web URI (such as https://ref.gs1.org/voc/Product).

When exploring term details:

  • Superclasses: Indicate broader categories. For example, gs1:FoodBeverageTobaccoProduct is a subclass of gs1:Product, which in turn extends schema:Product.
  • Subclasses: Specialized classifications that inherit all properties of the parent class.
  • Properties with Domain: Attributes that can be asserted about this class.
  • Properties with Range: Attributes that expect an instance of this class as their value.

3c. Browsing Grouped Collections

If you prefer browsing rather than searching, use the Collection Selector dropdown on the toolbar to browse all terms of a specific category:

Collection Option Description Direct URL Query
All classes Displays all OWL classes defined in the vocabulary in alphabetical order. ?show=classes
All properties Displays all datatype and object properties with their domain and range definitions. ?show=properties
All code lists Displays all controlled enumerations and type codes (e.g. NutrientTypeCode). ?show=codelists
All link types Displays all GS1 Digital Link relationship types (e.g. pip, hasCertificate). ?show=linktypes

3d. Active vs Historic Vocabulary Modes

The GS1 Web Vocabulary evolves over time through standard releases. Occasionally, older terms are deprecated in favor of standardized alternatives.

  • Show all current terms (default): Shows only active, supported classes and properties. Recommended for all new implementations.
  • Show all terms (current or deprecated): Includes legacy terms marked with a warning badge (Status: Deprecated). Useful when auditing older datasets.

3e. Visual Property Domain and Range Diagrams

When viewing any property (such as gs1:address or gs1:geo), the tool displays an intuitive visual oval diagram that illustrates the semantic relationship between domain classes and range value types.

๐Ÿ–ฅ๏ธ Semantic Property Diagram: gs1:address ๐Ÿ” Click to enlarge
Domain & Range Relationship Diagram for gs1:address Domain Classes gs1:Organization and gs1:Place gs1:address Expected Range (Value) gs1:PostalAddress 1 2 3
  • 1 Domain Classes: The entity types that can possess this property (e.g. both Organizations and Places have addresses).
  • 2 Property Predicate: The relationship connecting the subject entity to the object value.
  • 3 Expected Range: The target data type or class expected as the value (e.g. a PostalAddress instance).
Section 4

Explore & Export Formats

The GS1 Web Vocabulary server implements full HTTP Content Negotiation (Conneg). This means the exact same URL (such as https://ref.gs1.org/voc/Product) automatically returns different representations depending on who is asking.

4a. Machine-Readable Formats & Content Negotiation

When a web browser requests a term, the server renders rich semantic HTML. When an automated crawler or Linked Data engine requests the same URL with an Accept: text/turtle or Accept: application/ld+json header, the server returns pure RDF data.

๐Ÿ–ฅ๏ธ Architecture: Content Negotiation Flow ๐Ÿ” Click to enlarge
Web Browser Accept: text/html ref.gs1.org / voc / Server-Side Conneg Ontology Repository cURL / Data Client Accept: text/turtle Semantic HTML Interactive Browser UI RDF Turtle / JSON-LD Raw Machine Triples 1 2
  • 1 Browser Content Negotiation: Standard browser visits negotiate text/html for instant rendering.
  • 2 Semantic Content Negotiation: Automated clients asking for text/turtle or application/ld+json receive raw RDF triples.

4b. Downloading Complete Ontology Datasets

If you are loading the full GS1 Web Vocabulary into an offline triple store (such as Apache Jena, GraphDB, or Stardog), you can download the entire canonical ontology file in either format:

File Name MIME Type Description Direct Link
gs1Voc.jsonld application/ld+json Complete JSON-LD ontology graph including all classes, properties, code lists, and union definitions. Download JSON-LD โ†—
gs1Voc.ttl text/turtle Complete ontology serialized in W3C RDF Turtle format. Download Turtle โ†—
linktypes application/json Complete dictionary of GS1 Digital Link relationship types. Download Link Types โ†—

4c. Log of Changes & Vocabulary Archives

The home page provides an interactive Log of changes accordion. Expanding this block shows every historical release along with the specific GS1 Work Requests that motivated each new class or property.

To view prior releases or historical archive files, visit the dedicated archive page at data/archive.

Section 5

Advanced Features & Power-User Tips

Techniques and shortcuts for power users, semantic web developers, and system integrators.

5a. Direct URL Deep-Linking

You do not need to click through menus to find a specific term or collection. Every term has a stable, permanent URL:

URL Pattern Target Example
https://ref.gs1.org/voc/{term} Direct term page /voc/Product
https://ref.gs1.org/voc/?show=classes Complete list of classes /voc/?show=classes
https://ref.gs1.org/voc/?show=properties Complete list of properties /voc/?show=properties
https://ref.gs1.org/voc/?search={keyword} Pre-filtered keyword search /voc/?search=brand
https://ref.gs1.org/voc/?show=developer-guide Developer handover guide /voc/?show=developer-guide

5b. Retrieving RDF Data via cURL

You can test content negotiation or extract RDF triples directly from your terminal using standard curl commands:

# 1. Retrieve gs1:Product as RDF Turtle
curl -i -H "Accept: text/turtle" https://ref.gs1.org/voc/Product

# 2. Retrieve gs1:address as JSON-LD
curl -i -H "Accept: application/ld+json" https://ref.gs1.org/voc/address

# 3. Retrieve formatted output using query parameters
curl -s "https://ref.gs1.org/voc/Product?format=application/ld+json"
curl -s "https://ref.gs1.org/voc/?term=Product&format=text/turtle"

5c. Using JSON-LD Context with schema.org

When writing structured data for your website, declare both schema and gs1 in your @context block:

{
  "@context": {
    "schema": "https://schema.org/",
    "gs1": "https://ref.gs1.org/voc/"
  },
  "@type": ["schema:Product", "gs1:Product"],
  "schema:name": "Organic Espresso Whole Beans",
  "gs1:gtin": "00012345678905",
  "gs1:brand": {
    "@type": "gs1:Organization",
    "schema:name": "Alpine Roasters"
  },
  "gs1:netWeight": {
    "@type": "gs1:QuantitativeValue",
    "schema:value": 500,
    "schema:unitCode": "GRM"
  }
}

5d. Offline PWA & Service Worker

Both this user guide and the developer guide operate as self-contained Progressive Web Apps (PWAs). Once visited, assets and documentation are cached locally. You can browse guides and inspect cached vocabulary definitions even without an active internet connection.

Section 6

Try It Yourself: Simplified Demo

Test vocabulary term lookups right here in this guide. Select a sample term or type any vocabulary name to see its category, definition, and sample structured data payload:

๐Ÿงช Interactive Term Explorer

Client-Side Sandbox
Term CURIE gs1:{{ activeDemoRecord.term }}
Classification {{ activeDemoRecord.type }}
Term Status {{ activeDemoRecord.status }}
Domain / Range {{ activeDemoRecord.domainRange }}
Definition

{{ activeDemoRecord.comment }}

JSON-LD Structured Data Example
{{ activeDemoRecord.exampleSnippet }}
Section 7

Common Questions & Troubleshooting

Practical answers to common questions encountered when browsing, querying, or implementing the GS1 Web Vocabulary.

Frequently Asked Question Answer & Recommended Action
Q: What is the difference between a Class and a Property? A Class (like gs1:Product or gs1:Organization) represents a category of entity or thing. A Property (like gs1:gtin or gs1:address) describes an attribute or relationship of that entity.
Q: Why does a property have multiple domain classes? Properties such as gs1:address can belong to more than one kind of entity (for instance, an Organization has an address, and a physical Place has an address). The ontology uses union classes or schema:domainIncludes to make the property flexible across both types.
Q: How do I request raw RDF Turtle or JSON-LD instead of HTML? Pass the header Accept: text/turtle or Accept: application/ld+json in your HTTP GET request, or append ?format=text/turtle or ?format=application/ld+json (aliases: ?format=turtle, ?format=jsonld) to the URL. The server automatically normalizes query string plus characters and returns the term serialized in the requested data format.
Q: What does a "Status: Deprecated" warning mean? The term was included in an earlier release but has been superseded by a newer term or consolidated into schema.org. Deprecated terms remain in the ontology for backwards compatibility but should not be used in new projects.
Q: Can I use GS1 Web Vocabulary terms with schema.org? Yes. The GS1 Web Vocabulary is designed specifically as an extension to schema.org. You can declare both vocabularies in your JSON-LD context and mix properties on the same entity.
Q: Why do I get a 404 error when visiting a term URL? Verify the spelling and capitalization. Term names are case-sensitive (classes begin with a capital letter, like Product; properties begin with a lowercase letter, like gtin).
Q: How can I propose a new term or update to the vocabulary? Terms are developed through the GS1 Global Standards Management Process (GSMP). You can review Work Requests and submit feedback on the official GS1 WebVoc GitHub repository.
Section 8

Quick Reference Card

Compact summary tables for core classes, namespace prefixes, MIME types, and canonical links.

Core Classes Summary

Class CURIE Superclass Description
gs1:Product schema:Product Any item (product or service) upon which is allocated a unique GTIN.
gs1:Organization schema:Organization An organization such as a manufacturer, retailer, or logistics provider.
gs1:Place schema:Place A physical location, warehouse, store, or distribution center.
gs1:PostalAddress schema:PostalAddress The physical mailing address for an organization or place.
gs1:PriceSpecification schema:PriceSpecification Structured pricing details, currency, and conditions for a commercial Offer.
gs1:Offer schema:Offer An offer to transfer or sell a product for a specific price.
gs1:QuantitativeValue schema:QuantitativeValue A numerical measurement paired with a UN/ECE unit code (e.g. 500 GRM).

Namespace Prefixes & MIME Types

Prefix / Type Canonical URI / MIME Type Usage
gs1: https://ref.gs1.org/voc/ Canonical GS1 Web Vocabulary namespace prefix.
schema: https://schema.org/ Base schema.org ontology namespace.
rdfs: http://www.w3.org/2000/01/rdf-schema# RDF Schema definitions (labels, comments, subclasses).
owl: http://www.w3.org/2002/07/owl# Web Ontology Language classes and properties.
HTML text/html; charset=utf-8 Default interactive browser representation.
Turtle text/turtle W3C RDF Turtle serialization.
JSON-LD application/ld+json W3C JSON-LD graph serialization.
↑