Redland Resource Description Framework (RDF) Library .9.16 #include <redland.h> redland is a library providing support for the Resource Description Framework (RDF) written in ANSI C with APIs in several other languages. This manual page lists most of the redland 0.9.15 functions for the C API but does not claim to be a complete summary of the entire API at this time. For the complete API with full details of the function interface, see the HTML API documentation either on the Redland web site at <http://www.redland.opensource.ac.uk/> or with the software release in the docs/api directory. Documentation on the Perl and Python APIs in POD and Pydoc respectively are also available. The functions defined by redland are all defined with the "librdf_" prefix

class world

class iterator

class digest

class uri

class node

class concepts
The library provides macros for all of the RDF and RDFS concepts - nodes and URIs. For example, "LIBRDF_MS_Alt" for the librdf_node for the rdf:Alt concept and "LIBRDF_MS_Alt_URI" for the librdf_uri for the URI reference of rdf:Alt. "LIBRDF_URI_RDF_MS" and "LIBRDF_URI_RDF_SCHEMA" provide the librdf_uri objects for the RDF and RDFS namespace URIs. They must be copied using librdf_new_uri_from_uri to be shared correctly.

class statement

class model

class storage

class parser

class serializer

class stream
#include <redland.h> librdf_storage *storage; librdf_model* model; librdf_statement* statement; librdf_world* world world=librdf_new_world(); librdf_world_open(world); storage=librdf_new_storage(world, "hashes", "test", "hash-type='bdb',dir='.'"); model=librdf_new_model(world, storage, NULL); statement=librdf_new_statement_from_nodes(world, librdf_new_node_from_uri_string(world, "http://purl.org/net/dajobe/"), librdf_new_node_from_uri_string(world, "http://purl.org/dc/elements/1.1/creator"), librdf_new_node_from_literal(world, "Dave Beckett", NULL, 0)); librdf_model_add_statement(model, statement); librdf_free_statement(statement); librdf_model_print(model, stdout); librdf_free_model(model); librdf_free_storage(storage); librdf_free_world(world); libraptor(3), libxml(4). The redland RDF library was created by Dave Beckett in June 2000. Dave Beckett <http://purl.org/net/dajobe/>, Institute for Learning and Research Technology <http://www.ilrt.bris.ac.uk/>, University of Bristol, <http://www.bristol.ac.uk/>