gbv/jskos-rdf

PHP library to process JSKOS and RDF data

0.1.2 2017-06-28 12:49 UTC

README

Latest Stable Version License

Build Status Coverage Status

Description

This library extends the jskos PHP library with RDF capabilities. It provides the following PHP classes:

  • JSKOS\RDF\RDFMapping: maps maps RDF data to JSKOS based on a set of mapping rules
  • JSKOS\RDF\RDFMappingService: extends JSKOS Service with an RDFMapping from config file

Requirements

JSKOS-RDF requires PHP 7, the jskos PHP library, and easyRDF.

Installation

Install the latest version with composer:

composer require gbv/jskos-rdf

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

require_once __DIR__ . '/vendor/autoload.php';

$mapping = new JSKOS\RDF\RDFMapping($rules);

Contributung

Bugs and feature request are tracked on GitHub.

See CONTRIBUTING.md of repository jskos-php for guidelines.

Author and License

Jakob Voß jakob.voss@gbv.de

JSKOS-PHP is licensed under the LGPL license (see LICENSE for details).

See alse

JSKOS-RDF is created as part of project coli-conc: https://coli-conc.gbv.de/.

The current specification of JSKOS is available at http://gbv.github.io/jskos/.