EasyRdf API Documentation
Class

EasyRdf_Parser_Arc

class EasyRdf_Parser_Arc extends EasyRdf_Parser_RdfPhp

Class to parse RDF using the ARC2 library.

Methods

integer parse(object $graph, string $data, string $format, string $baseUri)

Parse an RDF document into an EasyRdf_Graph

object __construct()

Constructor

Details

at line 73
public integer parse(object $graph, string $data, string $format, string $baseUri)

Parse an RDF document into an EasyRdf_Graph

Parameters

object $graph EasyRdf_Graph $graph the graph to load the data into
string $data the RDF document data
string $format the format of the input data
string $baseUri the base URI of the data being parsed

Return Value

integer The number of triples added to the graph

at line 59
public object __construct()

Constructor

Return Value

object EasyRdfParserArc