VocExcel
Another Excel-to-RDF converter for SKOS vocabs, but one that:
- uses fixed templates to keep it simple
- meets particular SKOS profile outcomes (VocPub)
- is under active development, production use, and is commercially supported
An online version of VocExcel is available at https://tools.kurrawong.ai/tools/vocexcel.
Creating vocabularies
The process to create an RDF vocabulary from an Excel template is:
- Fill in a copy of an Excel template
- Process it
- Using one of the options, and export an RDF file
- You can choose to validate the RDF produced while processing
Templates
The template files in this repository’s vocexcel/templates/ folder are to be used to create vocabularies. The templates hopefully contain all the information needed to understand how to fill them in.
Use one Excel workbook per vocabulary.
Latest Template
- vocexcel/templates/VocExcel-template-100.xlsx
Unless you have a good reason to do something different, please use the latest version of the template.
Older templates still convert, so if you’ve used one and like it, keep using it.
Examples
Example filled-in templates versions are given in the tests/data/ folder. Just ensure you’re looking at examples prefixed with the same template version you are after, e.g. 0.8.10 = 0812.xlsx.
As per semantic versioning, a template of 0.8.5 will work with 0.8.10.
Processing
To process an Excel template, you will need to either:
- run the VocExcel Python script, or
- use an online tool
- for example https://tools.kurrawong.ai/tools/vocexcel
The Python script can also run as a Python module, i.e. within a larger Python workflow.
Installation
VocExcel uses uv package manager.
You can install VocExcel from PyPI, the Python package index: https://pypi.org/project/vocexcel
Or you can clone this repository and install VocExcel’s dependencies using uv or a similar tool, using the provided pyproject.toml file.
Running
As a command line script
The Python script convert.py in the vocexcel/ directory can be run on Windows/Unix/Linux/Mac systems like this:
python convert.py some-excel-file.xlsx
If you install this program using a Python packaging tool such as uv, then it will run like this:
vocexel some-excel-file.xlsx
An example, using one of the test data files to convert from Excel to RDF:
python convert.py tests/data/0812.xlsx
To convert the other way - RDF to Excel - from with you’ll get a v0.8.x template result:
python convert.py tests/data/085_rdf.ttl
The command line argument options can be found by typing:
python convert.py -h
They are:
usage: vocexcel [-h] [-i] [-o OUTPUTFILE] [input_file]
positional arguments:
input_file The Excel file to convert to a SKOS vocabulary in RDF or an RDF file to convert to an Excel file. (default: None)
options:
-h, --help show this help message and exit
-i, --info The version and other info of this instance of VocExcel. (default: False)
-o OUTPUTFILE, --outputfile OUTPUTFILE
An optionally-provided output file path. If not provided, output from Excel-> RDF is to standard out and RDF->Excel is input file with .xlsx file ending. (default: None)
As a Python library
The convert.py file uses the functions excel_to_rdf() and rdf_to_excel() to do conversions, so you can directly them in other Python programs by importing them like:
from vocexcel.convert import excel_to_rdf, rdf_to_excel
from pathlib import Path
rdf_to_excel(Path(".") / "path" / "to" / "vocab-file.xlsx")
# or
excel_to_rdf(Path(".") / "path" / "to" / "vocab-file.ttl")
Online
KurrawongAI maintains an online VocExcel tool at https://tools.kurrawong.ai/tools/vocexcel
License
This code is licensed using the BSD 3-Clause. See the LICENSE for the deed. Note that Excel is property of Microsoft.
Contact
Commercial support:
https://docs.kurrawong.ai/products/tools/vocexcel/
info@kurrawong.ai
Lead Developer:
Nicholas Car
Data Architect
KurrawongAI
nick@kurrawong.ai
Release Procedure
- task format
- update version number in pyprojects.toml
- update ref to latest template, if changed, in README.md
- Git commit all changes
- push to GitHub:
git push
- push to GitHub:
- add a Git tag matching the version number
- push tags to GitHub:
git push --tags
- push tags to GitHub:
- make a release on GitHub
- this will trigger a PyPI release
- do post release version number update
Metadata
Release files for vocexcel 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vocexcel-1.0.4.tar.gz | 5.3 MB | With provenance | Details for vocexcel-1.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vocexcel-1.0.4-py3-none-any.whl | Python 3 | none | any | Details for vocexcel-1.0.4-py3-none-any.whl |
Total release size: 6.9 MB
Release files / vocexcel-1.0.4.tar.gz
| Download URL | vocexcel-1.0.4.tar.gz |
|---|---|
| Size | 5.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
24453357aa10df41c07a238c8f5fc79f1bd2788cd8abe77059cd4f42a7fc74b3
|
|
BLAKE2b-256 checksum How to use checksums |
f2f1af6bb9d6b2b6c53df3ffb63bb1b06873867483796dc24c8b6a1e2e1f7394
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 19, 2026.
Transparency logRelease files / vocexcel-1.0.4-py3-none-any.whl
| Download URL | vocexcel-1.0.4-py3-none-any.whl |
|---|---|
| Size | 1.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
669d62ba92b5926e2cc377a836d0ac310478eed048529e951b258ceeafb4fdb4
|
|
BLAKE2b-256 checksum How to use checksums |
b6b6ca97d1167ce30134a18036fb903247c862a17dd7a923da7d10f791135534
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 19, 2026.
Transparency logSecurity for vocexcel 1.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for vocexcel-1.0.4.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 19, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.