Skip to content
Benjamin Nowack edited this page Jan 23, 2014 · 29 revisions

Easy RDF and SPARQL for LAMP systems

ARC is a flexible RDF system for semantic web and PHP practitioners. It's free, open-source, easy to use, and runs in most web server environments (it's PHP 5.3 E_STRICT-compliant).

Features

ConNeg-capable Web Reader

Support for proxies, redirects, and Content Negotiation.

Various parsers

RDF/XML, N-Triples, Turtle, SPARQL + SPOG, Legacy XML, HTML tag soup, RSS 2.0, Google Social Graph API JSON…

Serializers

N-Triples, RDF/JSON, RDF/XML, Turtle, SPOG dumps…

Two internal structures

  • resource-centric processing;
  • statement-centric processing.

RDF Storage (using MySQL)

SPARQL SELECT, ASK, DESCRIBE, CONSTRUCT, + aggregates, LOAD, INSERT, and DELETE.

SPARQL Endpoint Class

Set up a compliant SPARQL endpoint with 3 lines of code.

SemHTML RDF extractors

DC, eRDF, microformats, OpenID, RDFa…

RemoteStore Class

Query remote SPARQL endpoints as if they were local stores (results are returned as native PHP arrays).

Turtle templating

Generate dynamic graphs.

Plugins

Extend ARC with your own custom extensions.

Triggers

Register event handlers for selected SPARQL Query types.

SPARQLScript

SPARQL-based scripting and output templating.

Download

Download the latest version of ARC2.

License

ARC2 is available under 2 licenses: The W3C Software License or the GPL.

Mailing list

arc-dev (formerly at arc.semsol.org, now maintained by Stéphane Corlosquet)

Core Documentation

Advanced Features and Components

Plugins

Triggers

See also

History

ARC started in 2004 as a lightweight RDF system for parsing and serializing RDF/XML files. It later evolved into a more complete framework with storage and query functionality. By 2011, ARC2 had become one of the most-installed RDF libraries. Nevertheless, active code development had to be discontinued due to lack of funds and the inability to efficiently implement the ever-growing stack of RDF specifications.

The sources continue to be available to the community through GitHub.