Skip to main content

Abstraction layer for SKOS vocabularies.

Project description

skosprovider: vocabulary abstraction

This library helps abstract vocabularies that stick to the SKOS specification.

.. image::
.. image::

Skosprovider provides an interface that can be included in an application to
allow it to talk to different SKOS vocabularies. These vocabularies could be
defined locally or accessed remotely through webservices.

A sample provider is present in this package, using a simple python dict as
the datastore. Most likely you will want to implement a provider for your own
SKOS, vocabulary or thesaurus system.

Other known providers:

* This providers implements the
provider interface for the thesauri deliverd by

0.3.0 (2013-12-??)

- Added support for :term:`URI`. A :class:`skosprovider.skos.Concept`,
:class:`skosprovider.skos.Collection` or
:class:`skosprovider.skos.ConceptScheme` can now have a :term:`URI`.
- Query a :class:`skosprovider.providers.VocabularyProvider` or the
:class:`skosprovider.registry.Registry` by :term:`URI`.
- Added :mod:`skosprovider.uri` module to handle generating of :term:`URIS <URI>`.
- Added a :meth:`~skosprovider.providers.VocabularyProvider.get_top_concepts`
method to :class:`skosprovider.providers.VocabularyProvider`. This method
returns the Top Concepts in a ConceptScheme (the concepts that don't have
a broader concept).
- Added the :meth:`~skosprovider.providers.VocabularyProvider.get_top_display`
and :meth:`~skosprovider.providers.VocabularyProvider.get_children_display`
methods to handle generating a display hierarchy for a certain provider.

0.2.1 (2013-12-06)

- Make the :class:`skosprovider.providers.MemoryProvider` forward compatible
by constructing :class:`skosprovider.skos.Concept` and
:class:`skosprovider.skos.Collection` objects with keywords.
- Soms minor fixes in documentation.
- Added an extra unit test.

0.2.0 (2013-05-16)

- Major rewrite and refactoring. Tried to keep BC in place as much as possible,
but did change some stuff.
- Added a read only SKOS domain model in the :mod:`skosprovider.skos` module.
- Providers no longer return dicts as concepts, but instances of
- Added support for skos collections with a
:class:`skosprovider.skos.Collection` object.
- Expanded concept query syntax. Now allows for querying on type
(concept or collection) and on collection membership. See
- Added :func:`skosprovider.utils.dict_dumper`.

0.1.3 (2013-03-22)

- Find empty label now returns no results
- Find without a label now calls get_all

0.1.2 (2013-02-07)

- Providers can be removed from the registry
- Added the ability to get a single provider from the registry
- No longer possible to register the same provider twice

0.1.1 (2012-12-11)

- Some pep8 fixes
- Add support for tox
- Now tested for python 3.2
- Added skos:notes as an example to the unit tests.


- Initial version

Project details

Release history Release notifications

History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
skosprovider-0.3.0a1.tar.gz (12.0 kB) Copy SHA256 hash SHA256 Source None Jan 27, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page