Simeon Warner > SemanticWeb-OAI-ORE-1.00 > SemanticWeb::OAI::ORE::N3

Download:
SemanticWeb-OAI-ORE-1.00.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

SemanticWeb::OAI::ORE::N3 - Parse/serialize OAI-ORE Resource Maps in N3 format

SYNPOSIS ^

Class to parse and serialize OAI-ORE ReMs in N3 format.

DESCRIPTION ^

Follows N3 specification defined by http://www.w3.org/DesignIssues/Notation3.html.

METHODS ^

new()

parse($src,$uri_rem)

Parse $src which is either a string containing the N3 serialization of the ReM with URI $uri_rem, or a filehandle.

serialize()

We could do this by simply converting all data to triples and then dumping them as N3. However, we attempt to do a nice "pretty print" specific to ORE, with a few comments for the parts.

SEE ALSO ^

SemanticWeb::OAI::ORE and associated modules.

AUTHORS ^

Simeon Warner

LICENSE AND COPYRIGHT ^

Copyright 2007-2010 Simeon Warner.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.

syntax highlighting: