RDF::Sesame::Repository 0.16

RDF::Sesame::Repository 0.16

Sponsored Links

RDF::Sesame::Repository 0.16 Ranking & Summary

Ranking Click at the star to rankRanking level:
User Review: 0 (0 times) Download now
File size: 0.047 MB Platform: Any Platform License: Perl Artistic License Price: Downloads: 8797 Date added: 2007-06-12 Publisher: Michael Hendricks Publisher URL: http://search.cpan.org/~m

RDF::Sesame::Repository 0.16 description

RDF::Sesame::Repository is a repository on a Sesame server.

This class is the workhorse of RDF::Sesame. Adding triples, removing triples and querying the repository are all done through instances of this class. Only SELECT queries are supported at this point, but it should be fairly straightforward to add CONSTRUCT functionality. If you do it, send me a patch.

METHODS

construct ( %opts )
Evaluates a construct query and returns the RDF serialization of the resulting RDF graph. A minimal invocation looks something like:
my $q = qq(
CONSTRUCT {Parent} ex:hasChild {Child}
FROM {Child} ex:hasParent {Parent}
USING NAMESPACE
ex =
);
my $rdf = $repo->construct(
query => $q,
format => turtle,
);

If an error occurs during the construction, an exception is thrown. This is different from some RDF::Sesame methods which return undef.
format

Required: Yes

Indicates the RDF serialization format that the Sesame server should return. Acceptable values are rdfxml, turtle and ntriples.
language

Default: SeRQL

Specifies the language in which the construct query is written. This is only included for forwards-compatibility since the only query language supported by Sesame is SeRQL.

output

Default: undef

Indicates where the RDF serialization should be placed. The default value of undef means that the serialization should simply be returned as the value of the construct method.

If the value is a filehandle, the serialization is written to that filehandle. The filehandle must already be open for writing. Otherwise, the value is taken to be a filename which is opened for writing (clobbering existing contents) and the serialization is written to the file.

query

Required : Yes

The text of the construct query.

extract ( %opts )

Extract an RDF representation of all the triples in the repository. The only required option is "format" which specifies the serialization format of the resulting RDF. The minimal method invocation looks like

my $rdf = $repo->extract( format => turtle )

where $rdf is a reference to a scalar containing the serialization of all the triples in the repository. The streaming results returned by Sesame are handled appropriately so that memory usage in minimized. If the output is sent to a file (see "output"), only one "chunk" is held in memory at a time (subject to caching by your OS). The serialization may also be compressed (or otherwise processed) as its being streamed from the server (see "compress").

Error handling is done differently in this method than in other methods in RDF::Sesame. Namely, if an error occurs, an exception is thrown (rather than returning undef and setting errstr(). Eventually, Id like all methods to behave this way.

Download now

RDF::Sesame::Repository 0.16 Screenshot

Sponsored Links
Download RDF::Sesame::Repository 0.16

RDF::Sesame::Repository 0.16 Keywords

Bookmark RDF::Sesame::Repository 0.16

Hyperlink code:
Hyperlink and Intro code:

RDF::Sesame::Repository 0.16 Copyright

WareSeeker periodically updates pricing and software information of RDF::Sesame::Repository 0.16 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of RDF::Sesame::Repository 0.16 Edition. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

RDF::Sesame::Repository 0.16 Related Software

Oracle Password Repository 1.1.9 Beta

Oracle Password Repository is a Unix-based secure tool for storage & retrieval of Oracle database passwords.
Image Repository 0.7

Image Repository provides a centralized image repository capable of holding thousands of images with keyword/tag-based browsing.
HTTP::OAI::Repository 3.18

HTTP::OAI::Repository is a documentation for building an OAI compliant repository using OAI-PERL.
Cache::Repository 0.05

Cache::Repository is a Perl module used to cache generic repository of files.
Repository::Simple 0.06

Repository::Simple is a simple hierarchical repository for Perl.
App::Repository 0.964

App::Repository is a logical data access layer for the App::Context Framework.
cvs2svn 2.0.0

cvs2svn is a Python script that converts a CVS repository to a Subversion repository.
sccs2svn 0.25

sccs2svn converts a SCCS repository into a Subversion repository.
Railroad Repository 0.2

Railroad Repository provides a standards-based repository for large binary files.
Edukalibre Repository Manager 0.8.2

Edukalibre Repository Manager is a document repository with extra functionality.
RDF::Sesame::Repository 0.16 Review:
Author name* :  
Author Email* :  
Comment* :  
Security code* :  
     
   
My Software
You have not saved any software. Click "Save" next to each software to save it to your software basket
Related Search
TOP POPULAR DOWNLOAD