4Suite API Documentation

Module Ft.Rdf.Triclops

Classes:
Functions:
Globals:

Classes

class RDFGraphVizEngine

Methods

__init__(self, gvisDir, mapName='rdfImageMap', uriFormat='%s', maxArcs=300, outputJpeg=None, useNeato=False)
resourceExists(self, name, model, scope=None)
Checks model.complete(model,None,None) to determine if name exists
resourceViewer(self, model, results=None, rotate=0, splitpreds=1, nsDict=None, scope=None)
retrieveResourceUris(self, resultNode)

Functions

ParseNsMappings(nsMappings, nsDict={}, mappingUri=None)
ResourceName(model, resourceUri, nsDict, scope=None)
maketrans(frm, to)
maketrans(frm, to) -> string
Return a translation table (a string of 256 bytes long)
suitable for use in string.translate.  The strings frm and to
must be of the same length.

Globals

OBJECT_TYPE_RESOURCE = 'R'
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#'
RECTANGLE_PATTERN = <_sre.SRE_Pattern object>
ascii_letters = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
ascii_lowercase = 'abcdefghijklmnopqrstuvwxyz'
ascii_uppercase = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
digits = '0123456789'
hexdigits = '0123456789abcdefABCDEF'
letters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'
lowercase = 'abcdefghijklmnopqrstuvwxyz'
octdigits = '01234567'
printable = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~ \t\n\r\x0b\x0c'
punctuation = '!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~'
uppercase = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
whitespace = '\t\n\x0b\x0c\r '