<commit_before># RDF Utilities

[![Latest Stable Version](https://poser.pugx.org/cloudobjects/rdfutilities/v/stable)](https://packagist.org/packages/cloudobjects/rdfutilities) [![Total Downloads](https://poser.pugx.org/cloudobjects/sdk/downloads)](https://packagist.org/packages/cloudobjects/rdfutilities) [![Build Status](https://travis-ci.org/CloudObjects/RDFUtilities.svg?branch=master)](https://travis-ci.org/CloudObjects/RDFUtilities) [![SensioLabsInsight](https://insight.sensiolabs.com/projects/46a41162-afc7-4a6f-a797-dad28d15661d/mini.png)](https://insight.sensiolabs.com/projects/46a41162-afc7-4a6f-a797-dad28d15661d)

This library bundles various helper classes to simplify working with RDF data, especially the conversion of data between the formats used by [Semsol's ARC2 RDF library](https://packagist.org/packages/semsol/arc2) and [<NAME>'s JSON-LD Processor for PHP](https://packagist.org/packages/ml/json-ld).

Read the [introduction post on the CloudObjects Blog](https://blog.cloudobjects.io/coding/opensource/2017/05/30/rdf-in-php/).

## Installation

The library is [distributed through packagist](https://packagist.org/packages/cloudobjects/rdfutilities). Add `cloudobjects/rdfutilities` to the `require` section of your `composer.json`, like this:

````json
{
  "require": {
    "cloudobjects/rdfutilities" : ">=0.1"<commit_msg>github-default-branch: Update README.md<commit_after># RDF Utilities

[![Latest Stable Version](https://poser.pugx.org/cloudobjects/rdfutilities/v/stable)](https://packagist.org/packages/cloudobjects/rdfutilities) [![Total Downloads](https://poser.pugx.org/cloudobjects/sdk/downloads)](https://packagist.org/packages/cloudobjects/rdfutilities) [![Build Status](https://travis-ci.org/CloudObjects/RDFUtilities.svg?branch=main)](https://travis-ci.org/CloudObjects/RDFUtilities) [![SensioLabsInsight](https://insight.sensiolabs.com/projects/46a41162-afc7-4a6f-a797-dad28d15661d/mini.png)](https://insight.sensiolabs.com/projects/46a41162-afc7-4a6f-a797-dad28d15661d)

This library bundles various helper classes to simplify working with RDF data, especially the conversion of data between the formats used by [Semsol's ARC2 RDF library](https://packagist.org/packages/semsol/arc2) and [<NAME>'s JSON-LD Processor for PHP](https://packagist.org/packages/ml/json-ld).

Read the [introduction post on the CloudObjects Blog](https://blog.cloudobjects.io/coding/opensource/2017/05/30/rdf-in-php/).

## Installation

The library is [distributed through packagist](https://packagist.org/packages/cloudobjects/rdfutilities). Add `cloudobjects/rdfutilities` to the `require` section of your `composer.json`, like this:

````json
{
  "require": {
    "cloudobjects/rdfutilities" : ">=0.1"
{'fraction_non_alphanumeric': 0.1504035216434336, 'fraction_numerical': 0.03815113719735877, 'mean_word_length': 6.064766839378239, 'pattern_counts': {'":': 2, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 24, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1477684', 'n_tokens_mistral': 1005, 'n_tokens_neox': 924, 'n_words': 147}