Download the PHP package sweetrdf/quick-rdf without Composer
On this page you can find all versions of the php package sweetrdf/quick-rdf. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sweetrdf/quick-rdf
More information about sweetrdf/quick-rdf
Files in sweetrdf/quick-rdf
Package quick-rdf
Short Description Yet another RDF library
License MIT
Homepage https://github.com/sweetrdf/quickRdf
Informations about the package quick-rdf
quickRdf
An RDF library for PHP providing implementation of https://github.com/sweetrdf/rdfInterface terms and dataset.
Implemented to be fast and memory efficient.
This is achieved by using a global terms hash table with only a single copy of equal rdfInterface terms being stored in memory at a given time. It allows to save quite some memory in dense graphs and provides a lightning fast terms comparison (equal if and only if it's the same object). It also provides a very efficient implementation of Dataset set operations using PHP's SplObjectStorage.
The Dataset implementation maintains indexes allowing quick quads search (indexing can be turned off if needed as it significantly slows down a dataset creation).
Installation
- Obtain the Composer
- Run
composer require sweetrdf/quick-rdf
- Run
composer require sweetrdf/quick-rdf-io
to install parsers and serializers.
Automatically generated documentation
https://sweetrdf.github.io/quickRdf/namespaces/quickrdf.html
It's very incomplete but better than nothing.\ RdfInterface documentation is included which explains the most important design decisions.
Usage
(you can also take a look at generic rdfInterface examples)
All versions of quick-rdf with dependencies
zozlak/rdf-constants Version ^1.1
sweetrdf/rdf-interface Version ^2
sweetrdf/rdf-helpers Version ^2
sweetrdf/term-templates Version ^2.0.2