semsol / arc2
ARC2 is a PHP library for working with RDF. It also provides a MySQL-based triplestore with SPARQL support.
Installs: 153 250
Dependents: 16
Suggesters: 4
Security: 0
Stars: 332
Watchers: 25
Forks: 90
Open Issues: 40
Requires
- php: ^8.0.0
- ext-mbstring: *
Requires (Dev)
README
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.