RDF::Notation3

RDF::Notation3 is a RDF Notation3 parser.
Download

RDF::Notation3 Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Petr Cimprich
  • Publisher web site:
  • http://search.cpan.org/~pcimprich/RDF-Notation3-0.90/Notation3.pod

RDF::Notation3 Tags


RDF::Notation3 Description

RDF::Notation3 is a RDF Notation3 parser. RDF::Notation3 is a RDF Notation3 parser.SYNOPSIS $rdf = RDF::Notation3::Triples->new(); $rdf->parse_file($path); $triples = $rdf->get_triples; $rdf = RDF::Notation3::XML->new(); $rdf->parse_file($path); $string = $rdf->get_string; $handler = SAXHandler->new(); $rdf = RDF::Notation3::SAX->new(Handler => $handler); $rdf->parse_file($path); $rdf = RDF::Notation3::RDFCore->new(); $storage = RDF::Core::Storage::Memory->new(); $rdf->set_storage($storage); $model = $rdf->parse_file($path); $n3 = $rdf->get_n3($model); $rdf = RDF::Notation3::RDFStore->new(); $rdf->set_options({ Name => 'test', Split => 20 }); $model = $rdf->parse_file($path);This module is an RDF/N3 parser; it can parse N3 files or strings and provide results in whatever format (as far as there are subclasses supporting your desired format available).RDF::Notation3 is a base class providing the parsing logic only. This class is never used directly.Instead, derived classes such as RDF::Notation3::Triples or Notation3::XML are used. The subclasses control how results of parsing are processed and can provide additional methods to access the results then. RDF::Notation3 doesn't tend to create sophisticated in-memory or persistent RDF structures of its own; it should more likely serve as a parser for other Perl RDF modules (such as RDF::Core) focused on how to store and access RDF models. Requirements: · Perl


RDF::Notation3 Related Software