Package lexis :: Module domainStruct :: Class wskOntology
[show private | hide private]
[frames | no frames]

Class wskOntology


Domain of the problem: all its classes and properties
Method Summary
  __init__(self, **kwargs)
  addClass(self, rdfclass)
Add a new class - a new concept - to the domain definition
  addNamespace(self, prefix, namespaceURI)
Add a namespace to the domain definition.
  addProperty(self, rdfproperty)
Add a new property to the domain definition
  classExists(self, className)
Check if the class belongs to this domain definition
  compile(self)
Prepare the domain structure for its use.
  dump(self)
  getRDFClass(self, className)
  getRDFProperty(self, propertyName)
  propertyExists(self, propertyName)
Check if the property belongs to this domain definition

Method Details

addClass(self, rdfclass)

Add a new class - a new concept - to the domain definition

addNamespace(self, prefix, namespaceURI)

Add a namespace to the domain definition. Instead of the whole namespace URI the prefix will be used

addProperty(self, rdfproperty)

Add a new property to the domain definition

classExists(self, className)

Check if the class belongs to this domain definition

compile(self)

Prepare the domain structure for its use. Properties are copied into derived classes, etc

propertyExists(self, propertyName)

Check if the property belongs to this domain definition

Generated by Epydoc 2.0 on Sat Feb 07 21:05:41 2004 http://epydoc.sf.net