Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.197.147 Times

RDF::Sesame::Repository 0.16

  Date Added: September 13, 2010  |  Visits: 921

RDF::Sesame::Repository

Report Broken Link
Printer Friendly Version


Product Homepage
Download (87 downloads)



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..

Requirements: No special requirements
Platforms: Linux
Keyword: Construct Format Libraries Programming Query Rdf Rdfsesamerepository Repository Serialization Sesame
Users rating: 0/10

License: Freeware Size: 48.13 KB
USER REVIEWS
More Reviews or Write Review


RDF::SESAME::REPOSITORY RELATED
Libraries  -  Bio::Biblio 1.4
Bio::Biblio is a Bibliographic Query Service module. SYNOPSIS use Bio::Biblio; my $biblio = new Bio::Biblio; print $biblio->find (perl)->get_count . "n"; my $collection = $biblio->find (brazma, authors); while ( $collection->has_next ) {...
4.7 MB  
Database Tools  -  ADODB SQL 2 Excel 1.0
ADODB SQL 2 Excel can be used to generate Excel files in the XLS format from database query results.This is an altered version of of the SQL 2 Excel class that uses ADODB API instead of MySQL. It extends the GeraExcel class to generate Excel files...
10 KB  
Miscellaneous  -  RDQL DB 1.0
This class implements the RDQL language to query RDF documents stored in a MySQL database. The RDF documents can be stored, retrieved and deleted from the database using the RDQL_db class, documents can be stored from file paths or URLs Since RDF...
 
Libraries  -  PAJAX 0.5.2
PAJAX project is a framework that facilitates the creation of remote PHP objects in JavaScript. You might have heard of AJAX by now. I first saw the term coined in this article by adaptive path and is short for Asynchronous JavaScript + XML....
84.99 KB  
Utilities  -  IPDR.org 2.0.0
The IPDR.org reference libraries encode and decode IPDR usage documents in either XML or the binary format. Libraries are available in C and Java.
1.83 MB  
Libraries  -  Rasqal RDF Query Library 0.9.14
Rasqal is a C library for querying RDF, supporting the RDQL and SPARQL languages. It provides APIs for creating a query and parsing query syntax. Rasqal RDF Query Library features pluggable triple-store source and matching interfaces, an engine...
880.64 KB  
Libraries  -  Redland RDF Library Language Bindings 1.0.6.1
Redland RDF Library Language Bindings provides high-level language bindings for the Redland RDF C libraries, allowing full access to the C APIs along with enhancements for individual languages. Redland RDF Library Language Bindings currently...
890.88 KB  
Libraries  -  Redland RDF library 1.0.6
Redland RDF library is a set of free software packages that provide support for the Resource Description Framework (RDF)..
440.32 KB  
Libraries  -  DBIx::SQLCrosstab::Format 1.17
DBIx::SQLCrosstab::Format is a Perl module with formats results created by DBIx::SQLCrosstab. SYNOPSIS use DBIx::SQLCrosstab::Format; my $dbh=DBI->connect("dbi:driver:database" "user","password", {RaiseError=>1}) or die "error in connection...
66.56 KB  
Libraries  -  RDF::Notation3 0.90
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;...
18.43 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB