Class RDFSClass

(line 11)

Description

Resource
   |
   --DefaultRDFSResource
      |
      --RDFSResource
         |
         --DefaultRDFSClass
            |
            --RDFSClass

Located in File: /rdfsapi/powl/class.php

Class that represents an RDFS ontology node characterising a class description.


Classes extended from RDFSClass:
DbRDFSClass
Class that represents an RDFS ontology node characterising a class description.

Class Variables

Summary:

Class Constants

Summary:

Method Detail

Summary:
void findInstances ([ $properties = array()], [ $compare = 'exact'], [ $start = 0], [ $count = 0], [ $erg = 0])
void listInstanceLabels ( $language)

Method findInstances (line 19)

void findInstances( [ $properties = array()], [ $compare = 'exact'], [ $start = 0], [ $count = 0], [ $erg = 0])

Overridden in child classes as:

DbRDFSClass::findInstances()

Overrides : DefaultRDFSClass::findInstances() Return an array of individuals in the model that have this class among their types. If an array of PropertyURI=>Value is given, only individuals with the specified property values will be returned.

Parameters

  • $properties:
  • $compare:
  • $start:
  • $count:
  • $erg:

Info

Method listInstanceLabels (line 12)

void listInstanceLabels( $language)

Overrides : DefaultRDFSClass::listInstanceLabels() parent method not documented

Parameters

  • $language:

Info

Inherited Variables

Inherited Class Variable Summary

Inherited From Class DefaultRDFSResource

DefaultRDFSResource::$model - A reference to the RDFSModel this resource belongs to.

Inherited Methods

Inherited Method Summary

Inherited From Class DefaultRDFSClass

DefaultRDFSClass::addInstance() - Create new instance

DefaultRDFSClass::addProperty() - Add this class to the domain of the property.

DefaultRDFSClass::addSubClass() - Add a sub-class of this class. If the subclass is a URI instead of a RDFSClass object - the subclass will first be created.

DefaultRDFSClass::countInstancePropertyValues() -

DefaultRDFSClass::countInstances() - Returns the number of instances of this class.

DefaultRDFSClass::countInstancesOfSubclasses() - Returns the number of instances of this class and its sub-classes.

DefaultRDFSClass::countInstancesRecursive() - Returns the number of instances of this class and all its sub-classes.

DefaultRDFSClass::countSubClasses() - Returns number of all classes that are declared to be sub-classes of this class.

DefaultRDFSClass::countSubClassesRecursive() - Returns number of all classes this class is super-class for.

DefaultRDFSClass::findInstance() - Return one individual in the model that has this class among its types. If an array of PropertyURI=>Value is given, only individuals with the specified property values will be returned.

DefaultRDFSClass::findInstances() - Return an array of individuals in the model that have this class among their types. If an array of PropertyURI=>Value is given, only individuals with the specified property values will be returned.

DefaultRDFSClass::findInstancesRecursive() - Return an array of individuals in the model that have this class or its sub-classes among their types. If an array of PropertyURI=>value pairs is given, only individuals with the specified property values will be returned.

DefaultRDFSClass::getInstance() - Return RDFSInstance object with specified URI.

DefaultRDFSClass::getSuperClass() -

DefaultRDFSClass::getSuperClassPath() -

DefaultRDFSClass::isSubClassOf() - Returns true if this class is a direct subclass of $class.

DefaultRDFSClass::isSuperClassRecursive() -

DefaultRDFSClass::listDirectProperties() - Returns an array of RDFSProperty objects directly attached to this class: i.e. the properties that have this class as domain.

DefaultRDFSClass::listInheritedAnnotationProperties() -

DefaultRDFSClass::listInheritedProperties() - Returns an array of RDFSProperty objects inherited from super-classes to this class: i.e. the properties that have one of its super-classes as domain.

DefaultRDFSClass::listInstanceLabelLanguages() - Returns an array of all distinct label languages for instances of this class.

DefaultRDFSClass::listInstanceLabelLanguagesRecursive() -

DefaultRDFSClass::listInstanceLabels() -

DefaultRDFSClass::listInstancePropertyValues() - Lists all distinct values of $property assigned to instances of this class.

DefaultRDFSClass::listInstances() - Return an array of individuals in the model that have this class among their types.

DefaultRDFSClass::listInstancesRecursive() - Return an array of individuals in the model that have this class or one of its sub-classes among their types.

DefaultRDFSClass::listProperties() - Returns an array of RDFSProperty objects inherited from super-classes or directly attached to this class: i.e. the properties that have this class, or optionally one of its super-classes, as domain.

DefaultRDFSClass::listPropertiesPlain() - Returns an array of local names of the RDFSProperty objects inherited from super-classes or directly attached to this class: i.e. the properties that have this class, or optionally one of its super-classes, as domain.

DefaultRDFSClass::listPropertiesUsed() - Returns an array of property resource URIs which are set by instances of this class.

DefaultRDFSClass::listPropertiesUsedRecursive() -

DefaultRDFSClass::listSubClasses() - Returns all classes that are declared to be sub-classes of this class.

DefaultRDFSClass::listSubClassesRecursive() - Returns all classes this class is super-class for.

DefaultRDFSClass::listSuperClasses() - Returns an array of all classes that are declared to be super-classes of this class. Each element of the array will be an RDFSClass.

DefaultRDFSClass::listSuperClassesRecursive() - Returns an array of RDFSCLass objects which are a superclass of this class or one of its superclasses.

DefaultRDFSClass::removeInstance() - Removes a instance.

DefaultRDFSClass::removeInstances() - Deletes all instances of this class.

DefaultRDFSClass::removeProperty() - Remove the property from this class.

DefaultRDFSClass::setProperties() - Add this class to the domain of the properties and remove it from all others.

DefaultRDFSClass::setSubClasses() - Sets the direct subclasses of this class.

DefaultRDFSClass::setSuperClasses() - Sets the super classes of this class.


Inherited From Class DefaultRDFSResource

DefaultRDFSResource::DefaultRDFSResource() - Constructor

DefaultRDFSResource::addLabel() - Adds a label to this resource

DefaultRDFSResource::definingModels() -

DefaultRDFSResource::equals() - Checks if the resource equals another resource.

DefaultRDFSResource::getClass() - Returns an RDFSClass this instance is an instance of.

DefaultRDFSResource::getComment() -

DefaultRDFSResource::getDBId() -

DefaultRDFSResource::getDefiningModel() -

DefaultRDFSResource::getLabel() -

DefaultRDFSResource::getLabelForLanguage() - Returns the label for a language. If no label is available for the language in this resource return NULL.

DefaultRDFSResource::getLiteralPropertyValue() -

DefaultRDFSResource::getLocalName() -

DefaultRDFSResource::getLocalNameFast() -

DefaultRDFSResource::getModel() - Get the model which the resource belongs to.

DefaultRDFSResource::getPropertyValue() -

DefaultRDFSResource::getType() -

DefaultRDFSResource::hasPropertyValue() -

DefaultRDFSResource::hasPropertyValueTransitive() -

DefaultRDFSResource::isBlankNode() -

DefaultRDFSResource::isImported() -

DefaultRDFSResource::isOfType() - Checks if this resource is of a specific type.

DefaultRDFSResource::listClasses() - Returns an array of all classes for the given instance.

DefaultRDFSResource::listComments() - Returns an array of comments of this resource indexed by their language

DefaultRDFSResource::listDifferentFrom() - Returns an array of RDFSResources declared to be "owl:differentFrom" this resource.

DefaultRDFSResource::listLabels() - Returns the labels of this resource

DefaultRDFSResource::listLabelsPlain() - TODO: Beschreibung

DefaultRDFSResource::listLists() - Returns a list of nodes representing lists the resource is part of

DefaultRDFSResource::listLiteralPropertyValues() - Returns literal property values of this resource and property $property which macht the given language and datatype (NULL matches arbitrary ones).

DefaultRDFSResource::listLiteralPropertyValuesPlain() -

DefaultRDFSResource::listPropertyValues() - Returns an array of nodes (resources or literals) which are values of the property $property for this resource.

DefaultRDFSResource::listPropertyValuesObject() -

DefaultRDFSResource::listPropertyValuesSymmetric() -

DefaultRDFSResource::listPropertyValuesTransitive() -

DefaultRDFSResource::listSameAs() - Returns an array of RDFSResources declared to be "owl:sameAs" this resource.

DefaultRDFSResource::remove() - Removes this resource from the ontology by deleting any statements that refer to it. If this resource is a property, this method will not remove instances of the property from the model.

DefaultRDFSResource::removePropertyValues() -

DefaultRDFSResource::removeType() - Removes the type of this resource.

DefaultRDFSResource::rename() - Renames this resource.

DefaultRDFSResource::setClass() - Sets this instance to be an instance of $class.

DefaultRDFSResource::setComment() - Sets the comment for this resource

DefaultRDFSResource::setDifferentFrom() - Declares the RDFSResources in $values to be "owl:differentFrom" as this resource.

DefaultRDFSResource::setLabel() - Sets the label of this resource in specified language

DefaultRDFSResource::setPropertyValue() - Removes all property values of $property which do not have the value $value. If a property value with value $value does not already exist it will be added.

DefaultRDFSResource::setPropertyValues() - Removes all property values of $property which do not have a value included in $values. If a value included in $values does not already exist (as property value) it will be added.

DefaultRDFSResource::setPropertyValuesObject() -

DefaultRDFSResource::setPropertyValuesSymmetric() -

DefaultRDFSResource::setSameAs() - Declares the RDFSResources in $values to be "owl:sameAs" as this resource.

DefaultRDFSResource::setType() - Sets the type of this resource.

DefaultRDFSResource::type() - Sets or unsets the type of this resource. If only one parameter is given the present type of this resource will be returned.



Documentation generated on Tue, 07 Nov 2006 13:06:53 +0100 by phpDocumentor 1.3.0