ARC2 is a PHP 5.6+ library for working with RDF. It also provides a MySQL-based triplestore with SPARQL support.
Package available on Composer.
If you're using Composer to manage dependencies, you can use
composer require semsol/arc2:2.4.*
5.6 | 7.0 | 7.1 | 7.2 |
---|---|---|---|
✔️(1) | ✔️ | ✔️ | ✔️ |
(1) It is compatible with PHP 5.3+ but old versions are no longer tested.
5.5 | 5.6 | 5.7 | 8.0 | |
---|---|---|---|---|
MySQL | ✔️ | ✔️ | ✔️ | 💥 (1) |
10.0 | 10.1 | 10.2 | 10.3 | |
---|---|---|---|---|
MariaDB | ✔️ | ✔️ | ✔️ | ✔️ |
(1) As long as ARC2 uses mysqli, a connection to MySQL Server 8.0 is not possible. For more information, please look here. But its planned to switch to PDO (issue)
Please have a look into SPARQL-support.md to see which SPARQL 1.0/1.1 features are currently supported.
Please have a look here to find information about maintaining and extending ARC2.