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

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

Serving Software Downloads in 976 Categories, Downloaded 29.981.954 Times

RDF::Sesame::Repository 0.16

  Date Added: September 13, 2010  |  Visits: 634

RDF::Sesame::Repository

Report Broken Link
Printer Friendly Version


Product Homepage
Download (71 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
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  -  Number::Bytes::Human 0.07
Number::Bytes::Human is a Perl module that can convert byte count to human readable format. SYNOPSIS use Number::Bytes::Human qw(format_bytes); $size = format_bytes(0); # 0 $size = format_bytes(2*1024); # 2.0K $size =...
9.22 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  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
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  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.12.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...
2.73 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