<?xml version="1.0" encoding="iso-8859-1"?>
<module name="Ft.Rdf.Model" file="/work/a/ports/textproc/py-4suite/work/4Suite-1.0b1/build/lib.freebsd-8.0-RELEASE-p2-i386-2.4/Ft/Rdf/Model.py">
  <modification-date>2005-03-05 06:31:05</modification-date>
  <abstract>The model container for RDF meta-data: represents a directed graph</abstract>
  <description>Copyright 2005 Fourthought, Inc. (USA).
Detailed license and copyright information: http://4suite.org/COPYRIGHT
Project home, documentation, distributions: http://4suite.org/</description>
  <classes>
    <class name="Model" public="yes">
      <bases>
        <base documented="yes" class="Resource" module="Ft.Rdf.Resource"/>
      </bases>
      <abstract>Represents a universe of RDF statements, which at the abstract level
represents a set of graphs that make up an RDF model</abstract>
      <description/>
      <method-resolution-order>
        <base name="Model" module="Ft.Rdf.Model"/>
        <base name="Resource" module="Ft.Rdf.Resource"/>
      </method-resolution-order>
      <methods documented="yes" class="Model" module="Ft.Rdf.Model" inherited="no">
        <method public="no" name="__init__" id="Model-__init__">
          <abstract>Initializer for an RDF model instance.  driver is an intance of
the driver used to store the statements.  schemaHandler is a
reference to an object that can be used to govern operations
on the model, as typically formalized in a schema language such
as RDFS or DAML.  This object can be None, disabling all such
specialized processing.</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="driver"/>
            <arg default="None" name="schemaHandler"/>
            <arg default="''" name="baseUri"/>
          </arguments>
          <overrides name="Resource" module="Ft.Rdf.Resource"/>
        </method>
        <method public="no" name="add" id="Model-add">
          <abstract>Add statement(s) to the model</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="statements"/>
          </arguments>
        </method>
        <method public="no" name="addContainer" id="Model-addContainer">
          <abstract>Add a container to the model.  This involves adding a statement
for the container type, and a container statement for each item in
the collection.</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="container"/>
            <arg default="None" name="scope"/>
          </arguments>
        </method>
        <method public="no" name="bind" id="Model-bind">
          <abstract>Bind a Compiled Inference Object to a specific name in the Model</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="object"/>
            <arg name="name"/>
            <arg default="None" name="scope"/>
          </arguments>
        </method>
        <method public="no" name="checkConsistency" id="Model-checkConsistency">
          <abstract>Check the consistency of the entire model</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
          </arguments>
        </method>
        <method public="no" name="compileRil" id="Model-compileRil">
          <abstract>Compile a Ril expression into a compiled object</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="expression"/>
          </arguments>
        </method>
        <method public="no" name="complete" id="Model-complete">
          <abstract>Return all the statements in the model that match the given pattern.</abstract>
          <description>Any combination of s, p and o can be None, and any None slot is
treated as a wildcard that matches any value in the model.  A list
is returned comprising all the statement objects that match the
arguments.

flags keyword arguments map to the listed arguments with 'Flags'
append to the name.  Where the value is any combination of
IGNORE_CASE and REGEX.

http://www.w3.org/TR/rdf-mt/#RDFRules [7.3 RDFS Entailment Rules]
An RDFS entailment rule (rdfs7) can be applied to 'enhance' and/or optimize this calculation</description>
          <arguments>
            <arg name="self"/>
            <arg name="subject"/>
            <arg name="predicate"/>
            <arg name="object"/>
            <arg default="None" name="statementUri"/>
            <arg default="None" name="scope"/>
            <var-keywords name="flags"/>
          </arguments>
        </method>
        <method public="no" name="contains" id="Model-contains">
          <abstract>Check if a statement is in the model</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="statement"/>
          </arguments>
        </method>
        <method public="no" name="containsPattern" id="Model-containsPattern">
          <abstract>Determine if any statement matching the given criteria is in the model.
See complete() for a description of the flags keyword argument.</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="subject"/>
            <arg name="predicate"/>
            <arg name="object"/>
            <arg default="None" name="statementUri"/>
            <arg default="None" name="scope"/>
            <var-keywords name="flags"/>
          </arguments>
        </method>
        <method public="no" name="exclude" id="Model-exclude">
          <abstract>Return all the statements in the model that DO NOT match the given pattern.</abstract>
          <description>See complete() for a description of the flags keyword argument.</description>
          <arguments>
            <arg name="self"/>
            <arg name="subject"/>
            <arg name="predicate"/>
            <arg name="object"/>
            <arg default="None" name="statementUri"/>
            <arg default="None" name="scope"/>
            <var-keywords name="flags"/>
          </arguments>
        </method>
        <method public="no" name="extractContainer" id="Model-extractContainer">
          <abstract>Build a container object from the container item relationships in the model (_1, _2, etc.).</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="uri"/>
            <arg default="None" name="scope"/>
          </arguments>
        </method>
        <method public="no" name="generateBnode" id="Model-generateBnode">
          <abstract>Generates blank nodes (bnodes), AKA anonymous resources</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
          </arguments>
        </method>
        <method public="no" name="generateUri" id="Model-generateUri">
          <abstract>Generates URIs on the fly, e.g. for reified statements.
Do *not* use this to generate anonymous resources.
Use generateBnode instead
The default method is to generate a UUID URN,
but this can be easily overridden.</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
          </arguments>
        </method>
        <method public="no" name="has_key" id="Model-has_key">
          <abstract>See if the specified name is bound to the model</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="name"/>
            <arg default="None" name="scope"/>
          </arguments>
        </method>
        <method public="no" name="isBnodeLabel" id="Model-isBnodeLabel">
          <abstract>Determines whether a label is a blank node</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="label"/>
          </arguments>
        </method>
        <method public="no" name="keys" id="Model-keys">
          <abstract>Get a list of bound names in the model</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg default="None" name="scope"/>
          </arguments>
        </method>
        <method public="no" name="lookup" id="Model-lookup">
          <abstract>Retrieve a previously bound Inference Object from the model</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="name"/>
            <arg default="None" name="scope"/>
          </arguments>
        </method>
        <method public="no" name="remove" id="Model-remove">
          <abstract>Remove statement(s) from the model.</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="statements"/>
          </arguments>
        </method>
        <method public="no" name="removePattern" id="Model-removePattern">
          <abstract>Remove all statements from the model that match the specified pattern.
See complete() for a description of the flags keyword argument.</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="subject"/>
            <arg name="predicate"/>
            <arg name="object"/>
            <arg default="None" name="statementUri"/>
            <arg default="None" name="scope"/>
            <var-keywords name="flags"/>
          </arguments>
        </method>
        <method public="no" name="resumeSchema" id="Model-resumeSchema">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
          </arguments>
        </method>
        <method public="no" name="setSchemaActivity" id="Model-setSchemaActivity">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="value"/>
          </arguments>
        </method>
        <method public="no" name="size" id="Model-size">
          <abstract>Returns the number of statements in the model</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg default="None" name="scope"/>
          </arguments>
        </method>
        <method public="no" name="statements" id="Model-statements">
          <abstract>Returns all the statments in the model.</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg default="None" name="scope"/>
          </arguments>
        </method>
        <method public="no" name="suspendSchema" id="Model-suspendSchema">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
          </arguments>
        </method>
        <method public="no" name="unbind" id="Model-unbind">
          <abstract>Remove a binding from the model</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="name"/>
            <arg default="None" name="scope"/>
          </arguments>
        </method>
      </methods>
      <methods documented="yes" class="Resource" module="Ft.Rdf.Resource" inherited="yes">
        <member-reference name="__repr__" public="no"/>
        <member-reference name="isAnonymous" public="no"/>
        <member-reference name="isBnode" public="no"/>
      </methods>
    </class>
  </classes>
  <fields>
    <field public="no" name="BNODE_BASE" id="BNODE_BASE">
      <value>'http://4suite.org/rdf/anonymous/'</value>
    </field>
    <field public="no" name="BNODE_BASE_LEN" id="BNODE_BASE_LEN">
      <value>32</value>
    </field>
    <field public="yes" name="IGNORE_CASE" id="IGNORE_CASE">
      <value>1</value>
    </field>
    <field public="yes" name="NORMAL" id="NORMAL">
      <value>0</value>
    </field>
    <field public="no" name="OBJECT_TYPE_LITERAL" id="OBJECT_TYPE_LITERAL">
      <value>'L'</value>
    </field>
    <field public="no" name="OBJECT_TYPE_RESOURCE" id="OBJECT_TYPE_RESOURCE">
      <value>'R'</value>
    </field>
    <field public="no" name="RDF_MS_BASE" id="RDF_MS_BASE">
      <value>'http://www.w3.org/1999/02/22-rdf-syntax-ns#'</value>
    </field>
    <field public="no" name="RDF_SCHEMA_BASE" id="RDF_SCHEMA_BASE">
      <value>'http://www.w3.org/2000/01/rdf-schema#'</value>
    </field>
    <field public="yes" name="REGEX" id="REGEX">
      <value>2</value>
    </field>
    <field public="no" name="__all__" id="__all__">
      <value>['NORMAL', 'IGNORE_CASE', 'REGEX', 'Model']</value>
    </field>
  </fields>
</module>
