4Suite
™
API Documentation
►
Module
Ft
.
Rdf
.
Parsers
.
Versa
.Context
######################################################################## # # File Name: Context.py # #
Classes:
Context
Functions:
ContextFromKeyWord
Fields:
RDF_MS_BASE
,
RDF_SCHEMA_BASE
,
TRANSITIVE_BY_RULE
Classes
class
Context
Methods
__init__
(
self
,
driver
,
nsMapping
,
varBindings
,
scope
=None
)
clone
(
self
)
getCachedSuperProps
(
self
)
isTransitive
(
self
,
property
)
Functions
ContextFromKeyWord
(
kw
)
Fields
RDF_MS_BASE
= 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'
RDF_SCHEMA_BASE
= 'http://www.w3.org/2000/01/rdf-schema#'
TRANSITIVE_BY_RULE
= [u'http://www.w3.org/2000/01/rdf-schema#subPropertyOf', u'http://www.w3.org/2000/01/rdf-schema#subClassOf']