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.
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:1to 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 usetvp:. 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.xlsxexample.
- 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 usepurple yamas an alternative label - Definitions β some definitions mention synonyms explicitly, such as
Cherry : includes variations (e.g. Amaretto cherry, black cherry). We will add bothAmaretto cherryandblack cherryas 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 Labelto the right of theDefinitioncolumn - Remove
purple yamtext from theUbelabel and paste it into theAlternate Labelcolumn in the same row. Delete the remaining parentheses(). - Add
amaretto cherryandblack cherryin theAlternate Labelcolumn in the same row as theCherrylabel - Delete
(e.g. Amaretto cherry, black cherry)from theDefinitionforCherry - 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
Definitioncolumn in the same row asBanana 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 forGoody Goody Gum Dropschanges fromunique to New ZealandtoGoody Goody Gum Drops ice cream flavor. This can be done for many terms at once using ExcelβsCONCATfunction, 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-ddformat - 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, orhttps://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.xlsxinto 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
Conceptstab and paste them into theCollectionstab. Keep these in the same rows. - Copy the remaining identifiers from the
Conceptstab and paste to theCollectionstabMember IRIscolumn - 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
Conceptstab.
π§βπ« 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
Prefixestab - Add
icfin 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
Conceptstab - Copy the Concept IRI for
French vanilla - Paste the IRI for
French vanillain theNarrower Concept IRIscolumn, in the same row as theVanillaconcept
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 cherryfrom theAlternate Labelcolumn - Paste
Black cherryin a new row in thePreferred Labelcolumn - Mint an identifier in the
Concept IRIcolumn 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 addBlack cherry ice cream flavor - Copy the new concept IRI to a new row in the
Collectionstab in theFRUIT FLAVORScollection 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