PHPackages                             gbv/bartoc-jskos - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. gbv/bartoc-jskos

AbandonedArchivedLibrary

gbv/bartoc-jskos
================

JSKOS wrapper to Basel Register of Thesauri, Ontologies &amp; Classifications (BARTOC)

0.2.4(8y ago)145LGPLPHPPHP &gt;=7.0

Since Apr 5Pushed 8y ago2 watchersCompare

[ Source](https://github.com/gbv/bartoc-jskos)[ Packagist](https://packagist.org/packages/gbv/bartoc-jskos)[ RSS](/packages/gbv-bartoc-jskos/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (7)Versions (8)Used By (0)

This repository contains a wrapper to access the public [Basel Register of Thesauri, Ontologies &amp; Classifications (BARTOC)](http://bartoc.org) in [JSKOS format](https://gbv.github.io/jskos/) via [Entity Lookup Microservice API (ELMA)](http://gbv.github.io/elma/).

Background
==========

[](#background)

BARTOC is the most comprehensive registry of knowledge organization systems such as classification schemes, thesauri, glossaries, and ontologies. JSKOS is a unified format for information about knowledge organization systems, based on SKOS and JSON-LD. For background information see the following publications:

- Ledl, Andreas and Voss, Jakob: Describing Knowledge Organization Systems in BARTOC and JSKOS. In: *Proceedings of International Conference on Terminology and Knowledge Engineering (TKE 2016)*. p. 168-178. ISBN 978-87-999179-0-7

    -  (paper)
    -  (presentation)
- Voß, Jakob; Ledl, Andreas and Balakrishnan, U.: Uniform description and access to Knowledge Organization Systems with BARTOC and JSKOS. *TOTh conference 2016*

    -  (paper)

Requirements
============

[](#requirements)

Requires PHP 7, the [jskos-rdf](https://packagist.org/packages/gbv/jskos-rdf) PHP library and [Text\_LanguageDetect](http://pear.php.net/package/Text_LanguageDetect).

Installation
============

[](#installation)

```
composer require gbv/bartoc-jskos
```

This will automatically create `composer.json` for your project (unless it already exists) and add bartoc-jskos as dependency. Composer also generates `vendor/autoload.php` to get autoloading of all dependencies.

Usage
=====

[](#usage)

The wrapper can be used as instance of class `\BARTOC\JSKOS\Service`, a subclass of `\JSKOS\Service`:

```
require 'vendor/autoload.php';

$service = new \BARTOC\JSKOS\Service();

$jskos = $service->queryURI("http://bartoc.org/en/node/447");
$jskos = $service->query(["uri" => "http://bartoc.org/en/node/447"]);
$jskos = $service->query(["notation" => "447"]);
```

See [jskos-php-examples](https://github.com/gbv/jskos-php-examples/) for an example how to use the wrapper as part of a larger PHP application.

This repository also contains a command line script to query BARTOC in JSKOS format:

```
php examples/bartoc2jskos.php http://bartoc.org/en/node/18600
php examples/bartoc2jskos.php 18600

```

Contributung
============

[](#contributung)

Bugs and feature request are [tracked on GitHub](https://github.com/gbv/bartoc-jskos/issues).

See `CONTRIBUTING.md` of repository [jskos-php](https://packagist.org/packages/gbv/jskos) for general guidelines.

Author and License
==================

[](#author-and-license)

Jakob Voß

bartoc-jskos is licensed under the LGPL license (see `LICENSE` for details).

[![Latest Stable Version](https://camo.githubusercontent.com/81744fc684e6ed5b181284a86b64c7bea544397dc59b4ebca4a6eb07e0c6eeca/68747470733a2f2f706f7365722e707567782e6f72672f6762762f626172746f632d6a736b6f732f762f737461626c65)](https://packagist.org/packages/gbv/bartoc-jskos)[![License](https://camo.githubusercontent.com/124f7093878d3a058dbb19983a7ac3d1b69e85214d3ce924af6b76efc7a0fd4a/68747470733a2f2f706f7365722e707567782e6f72672f6762762f6a736b6f732f6c6963656e7365)](https://packagist.org/packages/gbv/bartoc-jskos)[![Build Status](https://camo.githubusercontent.com/93df49e26bc5a31721169cab180aed07a67ad694970d01f38522a86cda462026/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6762762f626172746f632d6a736b6f732e737667)](https://travis-ci.org/gbv/bartoc-jskos)[![Coverage Status](https://camo.githubusercontent.com/be4dbdee521ef445fbf6bced78b175bcadfab666268c5fd6097aa9acb5a3d2f7/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6762762f626172746f632d6a736b6f732f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/r/gbv/bartoc-jskos)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~32 days

Recently: every ~26 days

Total

7

Last Release

3125d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d2a9725ee91210e1e5eab44e4f734b678a0650a03116aee170be7b49edcbb2e4?d=identicon)[gbv](/maintainers/gbv)

---

Top Contributors

[![nichtich](https://avatars.githubusercontent.com/u/299856?v=4)](https://github.com/nichtich "nichtich (14 commits)")

---

Tags

bartoccoli-concjskoslibraryserviceJSKOSBARTOC

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/gbv-bartoc-jskos/health.svg)

```
[![Health](https://phpackages.com/badges/gbv-bartoc-jskos/health.svg)](https://phpackages.com/packages/gbv-bartoc-jskos)
```

###  Alternatives

[getkirby/cms

The Kirby core

1.5k535.5k350](/packages/getkirby-cms)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[neos/flow

Flow Application Framework

862.0M449](/packages/neos-flow)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
