Ft.Rdf

There is no standard API for RDF processors. We put together a simple, clean API that suits our uses of RDF very well. There are other APIs such as SIRPaC, RAX, none of which are supported by 4RDF now.

Please see the 4RDF command line documentation
for command line help

http://link-to-command-line.html
1.0b1

Package Contents

Container  Model  ResourceDict  Util 
Drivers (package)  Parsers (package)  Serializers (package)   
Inference (package)  RdfsHandler  Statement   
MessageSource  Resource  Triclops   

Classes

class ParseException(exceptions.Exception)
__init__(self, errorCode, *args)

Data and other non-method functions defined here:

FEATURE_NOT_SUPPORTED = 1
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
INVALID_CONTAINER_PROPERTY = 20
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
INVALID_CONTAINER_TYPE = 30
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
INVALID_PREDICATE = 10
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
MULTIPLE_VALUE_OBJECTS = 40
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
NONEMPTY_PROPELT_WITH_PROPATTRS = 50
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
NONEMPTY_PROPELT_WITH_RESATTR = 51
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
__doc__ = None
__module__ = 'Ft.Rdf'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
class RdfException(exceptions.Exception)
__init__(self, errorCode, *args)

Data and other non-method functions defined here:

ABOUT_EACH_OBJECT_NOT_CONTAINER = 100
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
FEATURE_NOT_SUPPORTED = 1
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
INTERNAL_ERROR = 0
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
INVALID_ARGUMENT = 5
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
INVALID_CONTAINER_TYPE = 3
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
INVALID_FLAG = 2
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
INVALID_REGEX_STATEMENT = 4
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
MISSING_DRIVER = 200
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
__doc__ = None
__module__ = 'Ft.Rdf'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
class SchemaHandler
add(self, statements)
contains(self, statements)
initModel(self)
remove(self, statements)
resume(self)
setActivity(self, value)
suspend(self)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Rdf'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

Data

ANONYMOUS_FRAGMENT_BASE = 'anonymous:'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
BNODE_BASE = 'http://4suite.org/rdf/anonymous/'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
BNODE_BASE_LEN = 32
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
DAML_OIL_NS = 'http://www.w3.org/2001/10/daml+oil#'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
OBJECT_TYPE_LITERAL = 'L'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
OBJECT_TYPE_RESOURCE = 'R'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
OBJECT_TYPE_UNKNOWN = '?'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
OLD_DAML_OIL_NS = 'http://www.daml.org/2001/03/daml+oil#'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
OWL_NS = 'http://www.w3.org/2002/07/owl#'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
RDF_MS_BASE = 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
RDF_SCHEMA_BASE = 'http://www.w3.org/2000/01/rdf-schema#'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
RIL_NAMESPACE = 'http://namespaces.rdfinference.org/ril'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
__file__ = 'build/lib.linux-ppc-2.2/Ft/Rdf/__init__.py'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
__name__ = 'Ft.Rdf'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
__path__ = ['build/lib.linux-ppc-2.2/Ft/Rdf']
__version__ = '1.0b1'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.