4Suite API Documentation

Module Ft.Rdf

An RDF processing library with support for persistent data models

Copyright 2004 Fourthought, Inc. (USA).
Detailed license and copyright information: http://4suite.org/COPYRIGHT
Project home, documentation, distributions: http://4suite.org/
Classes:
Fields:

Modules

Classes for RDF Container objects
RDF model drivers for various databases
Localizable exception messages for all of 4RDF
The model container for RDF meta-data: represents a directed graph
An RDF schema validator for statements in a Model
An RDF resource
Serializers create a serialized representation from an RDF model, or populate a model with statements from a serialized form. Currently the only built-in serializer for 4RDF handles a DOM form representing the XML serialization from the RDF Model and syntax recommendation at http://www.w3.org/TR/REC-rdf-syntax/.
An RDF statement
Some useful utilities for RDF processing

Classes

class ParseException(exceptions.Exception)

Methods

__init__(self, errorCode, *args)

Methods inherited from class exceptions.Exception

__getitem__, __str__

Fields


class RdfException(exceptions.Exception)

Methods

__init__(self, errorCode, *args)

Methods inherited from class exceptions.Exception

__getitem__, __str__

Fields


class SchemaHandler

Methods

add(self, statements)
contains(self, statements)
initModel(self)
remove(self, statements)
resume(self)
setActivity(self, value)
suspend(self)

Fields

BNODE_BASE = 'http://4suite.org/rdf/anonymous/'
DAML_OIL_NS = 'http://www.w3.org/2001/10/daml+oil#'
OLD_DAML_OIL_NS = 'http://www.daml.org/2001/03/daml+oil#'
OWL_NS = 'http://www.w3.org/2002/07/owl#'
RDF_MS_BASE = 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'
RDF_SCHEMA_BASE = 'http://www.w3.org/2000/01/rdf-schema#'
RIL_NAMESPACE = 'http://namespaces.rdfinference.org/ril'