Ft.Rdf._4rdf

1.0b1

Modules

Arguments  Domlette  Uri   
Command  Model  os   
CommandLineApp  Options  sys   

Classes

class DomSerializer
_Serializer__sortStatementsForDump = __sortStatementsForDump(self, statements)
__init__(self, reify=1)
deserialize(self, model, node, scope=None)
exportContainer(self, doc, parent, nsMap, type, stmts, id)
exportDescription(self, doc, nsMap, stmts, subject='', id='')
exportInlineResource(self, doc, nsMap, subject, origStmts)
exportSimpleStatements(self, doc, parent, nsMap, stmts)
isResource(self, res)
readBagIdAttr(self, node)
readCollection(self, model, nodeList, scope, xmlBase, forceType=None)
readContainer(self, model, node, scope)
readDamlCollection(self, model, nodeList, scope, xmlBase, forceType=None)
readDescription(self, model, node, scope)
readIdAboutAttr(self, scope, node)
readIdAttr(self, node)
readMemberAttrs(self, node)
readObject(self, model, node, scope)
readParseType(self, node)
readPropName(self, node)
readPropertyAttrs(self, node)
readPropertyElt(self, model, node, subjects, scope)
readRdfKeyAttribute(self, node, local, defaultNsAllowed=1)
readResource(self, model, nodeList, scope, subjects=None)
readResourceAttr(self, scope, node)
readString(self, st)
readTypeAttr(self, scope, node)
readValue(self, model, node, scope, parseType, predicate, forceType=None)
serialize(self, model, nsMap=None, selectUri=None, localResources=[], implementation=None, stmts=None)
splitUri(self, uri)
uriFromParts(self, baseUri, part1, part2)
validateIdSymbol(self, idSym)
validateString(self, st)
validateUriReference(self, ref)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Rdf.Serializers.Dom'
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 NTSerializer
__init__(self, reify=1)
deserialize(self, model, stream, scope=None)
serialize(self, model, nsMap=None, selectUri=None, localResources=[], stmts=None, stream=None)

Data and other non-method functions defined here:

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

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
__init__(self)
validate_arguments(self, args)

Data and other non-method functions defined here:

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

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

Functions

CheckLabel(model, text)
Run(options, args)

Data

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.
INVOKED_AS = '/tmp/@18056.1.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.
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.
__file__ = 'build/lib.linux-ppc-2.2/Ft/Rdf/_4rdf.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._4rdf'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
__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.
g_anonCounter = 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.
g_anonMapping = {}
g_labelCache = {'http://www.w3.org/1999/02/22-rdf-syntax-ns#Property': '<rdf:Property>', 'http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement': '<rdf:Statement>', 'http://www.w3.org/1999/02/22-rdf-syntax-ns#object': '<rdf:object>', 'http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate': '<rdf:predicate>', 'http://www.w3.org/1999/02/22-rdf-syntax-ns#subject': '<rdf:subject>', 'http://www.w3.org/1999/02/22-rdf-syntax-ns#type': '<rdf:type>', 'http://www.w3.org/1999/02/22-rdf-syntax-ns#value': '<rdf:value>', 'http://www.w3.org/2000/01/rdf-schema#Class': '<rdfs:Class>', 'http://www.w3.org/2000/01/rdf-schema#Literal': '<rdfs:Literal>', 'http://www.w3.org/2000/01/rdf-schema#Resource': '<rdfs:Resource>', ...}