Skip to content

rtravis/librdf.firebird

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

librdf.firebird is a storage module for the Redland RDF Library (librdf) that stores and retrieves RDF data from a Firebird database. Its purpose is to provide reliable and fast access to very large RDF data sets. Unlike most other persistent librdf storage modules, librdf.firebird doesn't use hashes as a handle to the actual data, a method that - at least in theory - could yield wrong results due to hash collisions.

librdf.firebird was inspired by the official sqlite store and the improved sqlite store.

Requirements

To use librdf.firebird in your program you need: a C++11 capable compiler, the Redland libraries (librdf) and the Firebird libraries. The DbWrap++FB C++ wrapper library for the Firebird C API is included as a git submodule.

Usage

For sample usage: RDF data importing and running SPARQL queries you can refer to the rdf_firebird_tester.cpp file in the sources directory.

    #include <rdf_storage_firebird.h>
    // ....
    librdf_world *world = ...;
    // ....
    librdf_init_storage_firebird(world); // register the storage factory
    // ....
    const char *options ="new='yes', host='localhost', "
                         "user='sysdba', password='masterkey'";

    librdf_storage *newStorage = librdf_new_storage(
                                    world, LIBRDF_STORAGE_FIREBIRD,
                                    file_path, options);

License

librdf.firebird is an open source free software project. Copyright (c) 2015 Robert Zavalczki, distributed under the terms and conditions of the Lesser GNU General Public License version 2.1.

About

Firebird RDF triple store for Redland librdf

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published