Clone this wiki locally
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
ConNeg-capable Web Reader
Support for proxies, redirects, and Content Negotiation.
RDF/XML, N-Triples, Turtle, SPARQL + SPOG, Legacy XML, HTML tag soup, RSS 2.0, Google Social Graph API JSON…
N-Triples, RDF/JSON, RDF/XML, Turtle, SPOG dumps…
Two internal structures
- resource-centric processing;
- statement-centric processing.
RDF Storage (using MySQL)
CONSTRUCT, + aggregates,
SPARQL Endpoint Class
Set up a compliant SPARQL endpoint with 3 lines of code.
SemHTML RDF extractors
DC, eRDF, microformats, OpenID, RDFa…
Query remote SPARQL endpoints as if they were local stores (results are returned as native PHP arrays).
Generate dynamic graphs.
Extend ARC with your own custom extensions.
Register event handlers for selected SPARQL Query types.
SPARQL-based scripting and output templating.
Download the latest version of ARC2.
arc-dev (formerly at arc.semsol.org, now maintained by Stéphane Corlosquet)
- Getting Started with ARC2
- Internal Structures
- Parsing RDF Formats
- Using ARC's RDF Store
- SPARQL Endpoint Setup
- Serializing ARC structures
- Extracting RDF from HTML
- Remote Stores and Endpoints
- Resource Helper Class
- HTTP Reader
- SPARQL Extension Functions
Advanced Features and Components
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.