Class EasyRdf_Parser_Rapper

Description

Class to parse RDF using the 'rapper' command line tool.

Located in /EasyRdf/Parser/Rapper.php (line 46)

EasyRdf_Parser
   |
   --EasyRdf_Parser_RdfPhp
      |
      --EasyRdf_Parser_Json
         |
         --EasyRdf_Parser_Rapper
Class Constant Summary
Method Summary
object EasyRdf_Parser_Rapper __construct ([string $rapperCmd = 'rapper'])
integer parse (object EasyRdf_Graph $graph, string $data, string $format, string $baseUri)
Variables
Methods
Constructor __construct (line 58)

Constructor

  • access: public
object EasyRdf_Parser_Rapper __construct ([string $rapperCmd = 'rapper'])
  • string $rapperCmd: Optional path to the rapper command to use.

Redefinition of:
EasyRdf_Parser_Json::__construct()
Constructor
parse (line 83)

Parse an RDF document into an EasyRdf_Graph

  • return: The number of triples added to the graph
  • access: public
integer parse (object EasyRdf_Graph $graph, string $data, string $format, string $baseUri)
  • object 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

Redefinition of:
EasyRdf_Parser_Json::parse()
Parse RDF/JSON into an EasyRdf_Graph

Inherited Methods

Inherited From EasyRdf_Parser_Json

EasyRdf_Parser_Json::__construct()
EasyRdf_Parser_Json::parse()

Inherited From EasyRdf_Parser_RdfPhp

EasyRdf_Parser_RdfPhp::__construct()
EasyRdf_Parser_RdfPhp::parse()
Class Constants
MINIMUM_RAPPER_VERSION = '1.4.17' (line 50)

Documentation generated on Wed, 16 Jan 2013 19:16:38 +0000 by phpDocumentor 1.4.4