semsol/arc2

ARC2 is a PHP library for working with RDF. It also provides a MySQL-based triplestore with SPARQL support.

3.1.0 2024-08-16 06:44 UTC

This package is auto-updated.

Last update: 2024-12-22 08:29:03 UTC


README

Latest Stable Version Total Downloads Latest Unstable Version License

ARC2 is a PHP 8.0+ library for working with RDF. It also provides a MySQL-based triplestore with SPARQL support. Older versions of PHP may work, but are not longer tested.

Test status:

Documentation

For the documentation, see the Wiki. To quickly get started, see the Getting started guide.

Installation

Requires PHP 8.0+.

Package available on Composer.

You should use Composer for installation:

composer require semsol/arc2:^3

Further information about Composer usage can be found here, for instance about autoloading ARC2 classes.

RDF triple store

SPARQL support

Please have a look into SPARQL-support.md to see which SPARQL 1.0/1.1 features are currently supported.

Known database problems

MySQL 8.0+

The following error occurs when using a REGEX function inside a SELECT query.

General error: 3995 Character set 'utf8mb3_unicode_ci' cannot be used in conjunction with 'binary' in call to regexp_like.

Internal information for developers

Please have a look here to find information about maintaining and extending ARC2 as well as our docker setup for local development.