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:
Database | Status |
---|---|
MariaDB 10.5 | |
MariaDB 10.6 | |
MariaDB 10.9 | |
MariaDB 10.10 | |
MariaDB 10.11 | |
MySQL 5.5 | |
MySQL 5.6 | |
MySQL 5.7 | |
MySQL 8.0 | - incomplete! see below |
MySQL 8.1 | - incomplete! see below |
For the documentation, see the Wiki. To quickly get started, see the Getting started guide.
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.
Please have a look into SPARQL-support.md to see which SPARQL 1.0/1.1 features are currently supported.
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.
Please have a look here to find information about maintaining and extending ARC2 as well as our docker setup for local development.