NAME

RDFStore::Parser - Interface to an RDF parser

SYNOPSIS

	use RDFStore::Parser;

	my $parser = new RDFStore::Parser(
			ErrorContext => 3, 
                        Style => 'RDFStore::Parser::Styles::RDFStore::Model'
			);

	# or...
	use RDFStore::Model;

	my $model= new RDFStore::Model();
	$parser = $model->getReader;

	my $rdfstring = qq|

<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' xmlns:a='http://description.org/schema/'> <rdf:Description rdf:about='http://www.w3.org'> <a:Date>1998-10-03T02:27</a:Date> </rdf:Description>

</rdf:RDF>|;

$model = $parser->parsestring($rdfstring);
$model = $parser->parsefile('http://www.w3.org/1999/02/22-rdf-syntax-ns#');
$model = $parser->parsestream(*RDFSTREAM);

DESCRIPTION

An RDFStore::Model parser.

SEE ALSO

RDFStore::Model(3) RDFStore::Parser::SiRPAC(3) RDFStore::Parser::NTriples(3)

AUTHOR

Alberto Reggiori <areggiori@webweaving.org>