Skip to content

Vocabulary Full Exercise

Scope
Provides guidance on building a SKOS vocabulary from common source materials.

Audience
Vocabulary editors and maintainers. It is assumed that learners have some experience with common office tools, such as spreadsheet applications.

Outcome
Learners will transform a semi-structured vocabulary into a publication-ready form.


Introduction

This module is a comprehensive exercise that progresses a simple, mid-sized list of terms in a table through to a publication-ready vocabulary featuring a range of SKOS semantics.

1
Raw source data Start with a simple list of terms in a spreadsheet.
β†’
2
Structured vocabulary Add identifiers, labels, definitions, collections, and hierarchy.
β†’
3
Publication-ready RDF Transform the curated vocabulary into SKOS Turtle.

Many of the steps precede the use of vocabulary-specific editing and publishing tools, which are introduced only as the vocabulary evolves in complexity. This is not a short exercise β€” the steps below simulate a realistic and tested scenario and provide a comprehensive account of issues encountered during vocabulary construction.

Throughout this module, references are made back to other vocabulary modules for additional context and guidance, but this module does not rely heavily on external references. If you do need to step back and look at basic vocabulary concepts, the Introduction to Vocabularies module will help.

🚧 Exercises

πŸ’‘ Troubleshooting tips, common errors and potential issues.

πŸ§‘β€πŸ« Trainers notes

πŸ§‘β€πŸ« Trainer note

Emphasise that this is a pipeline exercise, not just a SKOS exercise.
Learners often assume vocabulary work starts in a specialist tool; here, it starts in messy source data.

🚧 Raw vocabulary data

Vocabularies often exist in semi-structured forms, such as documents, spreadsheets, or database tables. In this module, a spreadsheet is provided β€” the Ice Cream Flavours spreadsheet includes a single column of terms. The spreadsheet is scraped from a Wikipedia page, with a little tidying.

Download the sample file
icecream-flavours.xlsx

πŸ’‘ Should we cite Wikipedia somehow? Don't worry, we will. In a later step we'll add metadata to the vocabulary that indicates the source with a web link.

In column A you will see a list of ice cream flavours. Notice that these are separated into three groups: FRUIT FLAVORS; CHOCOLATE, NUTS AND OTHER SWEETS; SAVORY FLAVORS. We'll reflect these groupings in the final vocabulary.

You may also notice that some of the flavours include additional documentation. For example:

Neapolitan : composed of vanilla, chocolate and strawberry ice cream together side by side

We will separate the label "Neapolitan" from "composed of vanilla, chocolate..." and retain both in different vocabulary fields.

You will notice that these terms are unidentified β€” that is, there is no identifier or code for each term. Identifiers are absolutely necessary for progressing any vocabulary through each stage to publication. In many cases, term lists already have codes assigned β€” it is a good idea to reuse existing codes if possible. In this exercise we assume that no codes exist, and we will mint new identifiers.

πŸ§‘β€πŸ« Trainer note

Ask: β€œWhere have you seen vocabularies in the wild?”
Typical answers include Excel, SharePoint lists, Word documents, PDFs, forms, and database extracts.

πŸ§‘β€πŸ« Trainer note

The three source groupings are a good point to ask whether the source is implying:

  • hierarchy
  • grouping
  • or just visual organisation

Do not resolve this too quickly.

πŸ§‘β€πŸ« Trainer note

The Neapolitan example is the first label vs definition teaching moment.
Many learners initially treat the whole string as a label.

Add identifiers

The sample file does not include a codes column β€” identifiers are necessary in a SKOS vocabulary conforming to common standards or practice. It is a good idea to reuse any identifiers that already exist for a draft vocabulary, but for this exercise we will need to mint new ones.

There are several ways to create identifiers:

  • You can use the preferred label as the identifier, but this is not recommended. Labels often change, and identifiers should remain persistent. If the label changes later, a label-based identifier can become misleading, or worse, may tempt someone to change the identifier too.
  • You can use simple incrementing identifiers such as 1, 2, 3, and so on. This is easy to create and easy to read.
  • You can use UUIDs, which are long randomly generated identifiers that are extremely unlikely to collide. UUIDs are a strong best-practice option, especially when multiple people or systems may mint identifiers independently.

For this exercise, we will use incrementing identifiers. UUIDs are ideal from a pure identifier-design perspective, but they add friction for learners and are hard to read in spreadsheets. In practice, a simple incrementing method usually works well for a small vocabulary like this, especially when new identifiers are managed carefully.

πŸ’‘ If you want to learn more about identifier strategy, see Identifier suffix patterns for guidance.

  • Insert a new "Identifier" column before the Labels column

  • Add icf:1 to the first row of the new column

  • Continue the incrementing pattern to the end of the list, so the next rows have identifiers such as icf:2, icf:3, and so on. In Excel, you can usually do this by dragging the fill handle down the column.

Column A will now include values like icf:1, icf:2, and so on.

πŸ’‘ The prefix icf: is based on the proposed vocabulary name "Ice Cream Flavors". For readability, it is a good idea to choose prefixes that indicate, or at least hint at, what the vocabulary elements are. If you use this approach for a different vocabulary project, update the prefix accordingly β€” for example, for a "Textured Vegetable Protein" vocabulary you might use tvp:. The colon (:) character is mandatory.

  • Paste values into a new column if needed
    If you used a formula or fill method that may update later, insert a new column, then use Excel's Paste Values option to transform the identifiers into fixed values.

  • Delete identifiers pasted for empty rows β€” but keep the identifiers for the grouping terms (FRUIT FLAVORS, etc.)

  • Add the column header Identifier

  • Delete the original column with the formulas or generated values, if you created a pasted-values column

  • Save your file

πŸ§‘β€πŸ« Trainer note

This is a critical conceptual step, not just a mechanical one.

Prompt questions:

  • Why are row numbers not enough?
  • What breaks if identifiers change?
  • Why might existing identifiers be preferable to newly minted ones?
πŸ§‘β€πŸ« Trainer note

Ask: β€œWhy do we paste values?”
Expected answer: because generated IDs should be fixed values, not formulas or spreadsheet behaviour that may change unexpectedly.

Separate labels from definitions

  • Move the definitions into a new column
    For a list this size, you could do this manually, or use MS Excel’s Text to Columns method, using the : character as a delimiter.

πŸ’‘ Be careful to review the data after using a delimiter-based process. The delimiter you choose may also appear in the definitions, so you could end up with three or more columns with definitions split up. You won’t need to worry about this in the icecream-flavours.xlsx example.

  • Add column header Definition
  • Save your file

πŸ’‘ Some of the definition data may not look like true definitions, but rather history or usage notes. Don’t worry β€” we’ll look at these again in Curate definitions.

πŸ§‘β€πŸ« Trainer note

This is the first real modelling step disguised as Excel work.

πŸ§‘β€πŸ« Trainer note

Good moment to reinforce: automation always needs review.

Find synonyms

We will add synonyms, or alternative labels, that exist in the file. There are two fields where synonyms can be found:

  • the Label β€” sometimes the term has an alternative term indicated by a parenthetical qualifier, such as Ube (purple yam); we can use purple yam as an alternative label
  • Definitions β€” some definitions mention synonyms explicitly, such as Cherry : includes variations (e.g. Amaretto cherry, black cherry). We will add both Amaretto cherry and black cherry as alternative labels

πŸ’‘ Are the synonyms for Cherry really synonyms, or are they more specific flavour types? Don’t worry β€” in this step we’ll treat them as synonyms for now, but later we’ll consider promoting them to separate, identified concepts. If you want to know more about alternative labels now, see the alternative labels section in the Introduction module.

  • Add a column with header Alternate Label to the right of the Definition column
  • Remove purple yam text from the Ube label and paste it into the Alternate Label column in the same row. Delete the remaining parentheses ().
  • Add amaretto cherry and black cherry in the Alternate Label column in the same row as the Cherry label
  • Delete (e.g. Amaretto cherry, black cherry) from the Definition for Cherry
  • Save your file
πŸ§‘β€πŸ« Trainer note

This section is intentionally ambiguous.
Do not over-correct learners. Let them sit with the difference between:

  • alternative labels
  • narrower concepts
  • related concepts

Add remaining definitions

In the Separate labels from definitions step, we extracted definitions from the source text. In this step we will add definitions for the remaining terms.

πŸ’‘ Some vocabulary standards and tools will expect a definition for each concept for the vocabulary to be valid. In this exercise we will treat definitions as mandatory for publication.

We will get definitions from the Wikipedia page that the source list links to.

  • Open List of ice cream flavors in your browser
  • Select a flavour that needs a definition β€” from the top of the list, this is Banana split
  • Copy and paste the first sentence from the Banana split page into the Definition column in the same row as Banana split

πŸ’‘ The List of ice cream flavors page is a dynamic, user-contributed list and items may differ over time.

  • Repeat for remaining concepts that do not yet have definitions
  • Save your file

πŸ’‘ What if definitions are needed for hundreds or thousands of terms? Ideally, each term will have a curated definition, which requires significant effort. That is great if possible β€” but it may not be practical in the early stages of vocabulary development. As a workaround, copy the term label into the definition field, in this case suffixed with ice cream flavor. This may not seem like a rich definition, but if the term is discovered out of context it will give a strong hint about the intended semantics, e.g. banana split ice cream flavor, and not the stand-alone dessert.

πŸ§‘β€πŸ« Trainer note

This step is intentionally labour-intensive.
It helps learners feel the difference between:

  • extracting data
  • and curating a vocabulary
πŸ§‘β€πŸ« Trainer note

Good prompt: β€œWhat counts as β€˜good enough’ in an early-stage vocabulary?”

Curate definitions

You may notice that the extracted definitions are mostly indicative but not always clear in context. For example:

A banana split is an American ice cream-based dessert consisting of a peeled banana cut in half lengthwise, and served with ice cream and sauce between the two pieces.

This essentially defines a banana split, not banana split flavoured ice cream. A simple edit can be made:

An ice cream flavour based on a banana split, an American ice cream-based dessert consisting of a peeled banana cut in half lengthwise...

In cases where a definition is determined to be unsuitable for a given concept, either:

  • copy the label into the definition field, suffixed with ice cream flavor, e.g. the definition for Goody Goody Gum Drops changes from unique to New Zealand to Goody Goody Gum Drops ice cream flavor. This can be done for many terms at once using Excel’s CONCAT function, or
  • do as above, but retain the original definition, resulting in Goody Goody Gum Drops ice cream flavor, unique to New Zealand

For extra clarity, other refinements might be made - for exmple:

[Spundekas] | based on the German cream cheese of the same name - change to: [Spundekas] | Ice cream flavor based on the German cream cheese of the same name

After this step, the spreadsheet should resemble icecream-flavours-all-curated-definitions.xlsx. Move on to the next step.

πŸ’‘ The checkpoint spreadsheets in this exercise are examples, not answer keys. If you download one to check your progress, it does not matter if your identifiers, term order, or some concepts differ from the example. Use the checkpoint files to confirm that the data is in the correct fields and is ready for the next formatting or transformation step.

πŸ§‘β€πŸ« Trainer note

This is a semantic correction step, not just an editing step.
Reinforce that vocabularies define concepts in context, not merely reuse source text.

🚧 Use a vocabulary editor

By creating and separating out identifiers, labels, alternate labels, and definitions in the Raw vocabulary data step, you have been preparing the vocabulary for transformation into a publication-ready format. Well done. At this stage we will migrate (cut and paste) the raw data into a specialised vocabulary editor, where we will do a bit more editing. We are now very close to creating a SKOS RDF file that can be integrated into common metadata systems.

Why move to a vocabulary editor? It will:

  • support creating whole-of-vocabulary metadata
  • ensure data is transformation-ready before creating a SKOS RDF file
πŸ§‘β€πŸ« Trainer note

This is the major transition from:

  • spreadsheet cleanup
  • to semantic modelling in a purpose-built structure

Download VocExcel

VocExcel is a vocabulary editor that is essentially an MS Excel template. We’ll copy our raw data into VocExcel, and then upload it to an online SKOS RDF transformer.

πŸ’‘ You will need access to MS Excel to complete this exercise.

  • Go to the KurrawongAI VocExcel page in any browser
  • Get VocExcel Template
  • Open the downloaded template (it may have opened automatically)
  • Save As a new file, e.g. VocExcel-ice-cream-flavor.xlsx

VocExcel will open at the Introduction tab. Note also the Documentation tab, which gives you a rundown of the properties that you may be editing.

Update Concept Scheme

  • Open the Concept Scheme tab

The Concept Scheme is a description, or metadata, for the vocabulary as a whole. Some fields on this tab have an asterisk (*) and are mandatory. Fill them out as follows:

  • Vocabulary IRI β€” this needs to be a web URL indicating where the vocabulary is hosted. For this exercise, enter http://vocab.example.com/icecreamflavors
  • Preferred Label β€” add Ice Cream Flavors Vocabulary
  • Definition β€” add A vocabulary of ice cream flavors
  • Creation Date β€” add the day you first edit this file in yyyy-mm-dd format
  • Modified Date β€” update this each day you make edits. Use the same value as the creation date in the first instance
  • Creator β€” this is you or your business. You can add text or an identifier, e.g. Jane Doe, Japan Ice Cream Association, https://orcid.org/0000-0002-1584-4316, or https://ror.org/02hgxnr90
  • Publisher β€” same as for Creator. Usually the Publisher is an organisation rather than a person, but either is valid
  • History Note β€” add Presented here for the first time as part of the KurrawongAI Vocabulary Full Exercise training module

That completes the mandatory fields for describing a vocabulary. But we also said we would cite Wikipedia as the source of the raw data. Let’s do that now:

  • Citation β€” add https://en.wikipedia.org/wiki/List_of_ice_cream_flavors
πŸ§‘β€πŸ« Trainer note

Slow learners down here.
Many people rush straight to concepts and treat scheme-level metadata as an afterthought.

πŸ§‘β€πŸ« Trainer note

Good discussion points:

  • Is a Vocabulary IRI β€œjust a string”, or also a web identifier?
  • Why distinguish Creator from Publisher?
  • Why is provenance useful even in a toy exercise?

Add concepts

We will now copy the contents of the raw data file into the VocExcel template in the Concepts tab.

  • Cut and paste the first four columns from icecream-flavours-all-curated-definitions.xlsx into the first four columns in the VocExcel file

πŸ’‘ We have retained the grouping terms (FRUIT FLAVORS, etc.), without definitions. We’ll deal with these in the next step.

πŸ§‘β€πŸ« Trainer note

This step often feels β€œtoo easy” to learners.
Reassure them that the difficult part was the preparation.

Create collections

We will use the grouping terms (FRUIT FLAVORS; CHOCOLATE, NUTS AND OTHER SWEETS; SAVORY FLAVORS) to create collections of concepts. Collections are a standard way of grouping concepts by some category within a vocabulary.

πŸ’‘ Alternatively, these groupings could be used as broader concepts, so that a hierarchy is established. In this exercise we will use the collections method for grouping the ice cream flavors. Don’t worry β€” we’ll create some broader concept hierarchy in a later step.

  • Cut just the three grouping terms with identifiers from the Concepts tab and paste them into the Collections tab. Keep these in the same rows.
  • Copy the remaining identifiers from the Concepts tab and paste to the Collections tab Member IRIs column
  • Add a definition for each collection, e.g. Ice cream fruit flavors collection
  • Copy the collection IRI, label and descriptions so they line up with each member concept
  • Delete any remaining empty rows, including the first row(s) if empty, on the Concepts tab.
πŸ§‘β€πŸ« Trainer note

This is a key modelling fork.
Ask explicitly: β€œWhy collections and not broader concepts?”

Expected insight: these groupings are categories of convenience, not necessarily is-a relationships.

Add prefixes

We added icf: to identifiers earlier. We now need to add this prefix to the Prefixes tab.

  • Open the Prefixes tab
  • Add icf in column A 'Prefix' (without the colon :)
  • Add http://vocab.example.com/icecreamflavors/ in column B 'Namespace' (include the trailing "/")
πŸ§‘β€πŸ« Trainer note

Reinforce that prefixes are not the identifiers themselves β€” they are shorthand for IRI stems.

Add narrower relationships

It is common practice to arrange vocabulary concepts into hierarchies, where one concept is broader than another in meaning. By doing so, a vocabulary supports inferences between datasets described with different concepts by using the hierarchical relationship.

The Ice Cream Flavours Vocabulary is mostly a flat list of concepts, but there are a couple of clear opportunities to implement hierarchy. We’ll do this for Vanilla and French vanilla, assuming that the latter concept is a more specific type of the former.

  • Open the Concepts tab
  • Copy the Concept IRI for French vanilla
  • Paste the IRI for French vanilla in the Narrower Concept IRIs column, in the same row as the Vanilla concept

Done. The Ice Cream Flavours Vocabulary is now a taxonomy β€” at least in part.

You might see other opportunities to add narrower relationships, for example Strawberry / Strawberry cheesecake. Think about the decision this way: if you wanted to find all information about Strawberry ice cream, would you be happy also to retrieve information about Strawberry cheesecake ice cream? If the answer is yes, then add the latter as a narrower concept. If the answer is no, then leave these concepts unrelated.

What about the Cherry flavour and its variants? Back in the Find synonyms step, we extracted candidate synonyms from the definition and stored them as alternate labels. But let’s now decide that these variations should be promoted to full concept status, with their own identifiers, definitions, collection membership, and potentially relationships to other concepts.

  • Cut the term Black cherry from the Alternate Label column
  • Paste Black cherry in a new row in the Preferred Label column
  • Mint an identifier in the Concept IRI column next to the new label using the next available increment from the Add identifiers step
  • Write a definition for Black cherry β€” either research a definition, or add Black cherry ice cream flavor
  • Copy the new concept IRI to a new row in the Collections tab in the FRUIT FLAVORS collection group

Repeat these steps for Amaretto cherry β€” or not. Apply the same decision-making logic for promoting Black cherry to full concept status. A concept can have alternative labels and narrower relationships to other concepts.

There is a finished file that you can download here: VocExcel-ice-cream-flavor-hierarchy.xlsx. This is the file that we are going to upload into a transformer application.

πŸ§‘β€πŸ« Trainer note

This section closes the earlier ambiguity around synonyms vs full concepts.

πŸ§‘β€πŸ« Trainer note

Important point to make explicit: the same source data can support multiple defensible modelling choices.

Transform to SKOS RDF

The VocExcel spreadsheet is now ready to upload to the online transformer. Well done. Follow the steps below:

  • Go to VocExcel in any browser
  • Upload an Excel file > choose the file saved or downloaded in the previous step.

You will be presented with a result. From here you can view the Concept Scheme, any Concept in the file, or the full RDF Turtle result.

  • Save the Turtle output
πŸ§‘β€πŸ« Trainer note

This is the β€œmagic moment” for many learners: spreadsheet in, RDF out.
Encourage them to inspect the Turtle and locate familiar fields.

🚧 Publish the vocabulary

So far in this module you have taken an unstructured list from a single column and transformed it into a valid SKOS file. That file is compatible with many information systems that use vocabulary data.

The next step is publication: making the vocabulary available so people and systems can search it, browse it, cite it, and retrieve it in useful formats. Publishing may involve a vocabulary presentation system, a static site, a managed reference-data platform, or integration into a larger data catalogue.

KurrawongAI is actively developing tooling and guidance for these publication workflows. For now, this exercise stops at the point where you have produced a valid RDF vocabulary file. That file is the key handoff point: it can be reviewed, stored, shared, loaded into vocabulary systems, or used as the source for future publication steps.

πŸ§‘β€πŸ« Trainer note

Frame publication as making vocabularies usable, not just valid.

References and further reading

  • AGLDWG (2026). VocPub profile specification. https://agldwg.github.io/vocpub-profile/specification
  • W3C (2009). SKOS Simple Knowledge Organization System Reference (W3C Recommendation). https://www.w3.org/TR/skos-reference/
  • W3C (2014). Turtle: Terse RDF triple language (W3C Recommendation). https://www.w3.org/TR/turtle/

License

The documentation and files in this exercise are licensed for reuse under the Creative Commons BY 4.0 license with the following copyright notice:

© KurrawongAI, 2026

Please do not present commercial training with this material without first contacting KurrawongAI