Class DefaultRDFSProperty

(line 11)

Description

Resource
   |
   --DefaultRDFSResource
      |
      --RDFSResource
         |
         --DefaultRDFSProperty

Located in File: /rdfsapi/property.php

RDFSProperty


Classes extended from DefaultRDFSProperty:
RDFSProperty

Class Variables

Summary:

Class Constants

Summary:

Method Detail

Summary:
void addDomain ( $classes, mixed $class)
void addRange (mixed $ranges)
void countDistinctPropertyValues ([ $class = NULL], [ $resourcesOnly = true], [ $minDistinctValues = 0])
void getDomain ()
void getRange ()
void guessDomain ()
void guessFunctional ()
void guessRange ()
void guessType ()
void listDistinctPropertyValues ([ $class = NULL], [ $resourcesOnly = true], [ $start = 0], [ $count = 0], [ $erg = 0])
array listDomain ()
RDFSResource/Literal listRange ()
void removeDomain ([mixed $class = ''])
void removeRange ([ $range = ''], mixed $ranges)
void setDomain ( $classes, mixed $class)
void setRange (mixed $ranges)
void setSubProperties ( $values)
void setSuperProperties ( $values)

Method addDomain (line 32)

void addDomain( $classes, mixed $class)

Adds classes to the domain of the property.

Parameters

  • mixed $class: Class or array of classes to add.
  • $classes:

Info

Method addRange (line 86)

void addRange( mixed $ranges)

Adds the property to the specified ranges.

Parameters

  • mixed $ranges: Ranges for the property

Info

Method addSubProperty (line 144)

RDFSProperty addSubProperty( RDFSProperty $property)

Add a sub-property of this property. If the sub-property is a URI instead of a RDFSProperty object - the sub-property will first be created.

Parameters

  • RDFSProperty $property: A property that is a sub-property of this property.

Info

  • return - The property created.

Method countDistinctPropertyValues (line 150)

void countDistinctPropertyValues( [ $class = NULL], [ $resourcesOnly = true], [ $minDistinctValues = 0])

Parameters

  • $class:
  • $resourcesOnly:
  • $minDistinctValues:

Info

Method getDomain (line 23)

void getDomain( )

Info

Method getRange (line 77)

void getRange( )

Info

Method guessDomain (line 172)

void guessDomain( )

Info

Method guessFunctional (line 213)

void guessFunctional( )

Info

Method guessMaxCardinality (line 205)

void guessMaxCardinality( )

Info

Method guessMinCardinality (line 197)

void guessMinCardinality( )

Info

Method guessRange (line 179)

void guessRange( )

Info

Method guessType (line 216)

void guessType( )

Info

Method listDistinctPropertyValues (line 160)

void listDistinctPropertyValues( [ $class = NULL], [ $resourcesOnly = true], [ $start = 0], [ $count = 0], [ $erg = 0])

Parameters

  • $class:
  • $resourcesOnly:
  • $start:
  • $count:
  • $erg:

Info

Method listDomain (line 17)

array listDomain( )

Gets the domain for the property

Info

Method listRange (line 68)

RDFSResource/Literal listRange( )

Gets the range of the property

Info

Method listSubProperties (line 120)

array listSubProperties( )

Gets all sub-properties of the property

Info

  • return - Array of RDFSProperty properties

Method listSuperProperties (line 131)

array listSuperProperties( )

Gets all super-properties of the property

Info

  • return - Array of RDFSProperty properties

Method removeDomain (line 58)

void removeDomain( [mixed $class = ''])

Removes classes from the domain of the property.

Parameters

  • mixed $class: Class or array of classes to add.

Info

Method removeRange (line 108)

void removeRange( [ $range = ''], mixed $ranges)

Remove the property from the specified ranges.

Parameters

  • mixed $ranges: Ranges for the property
  • $range:

Info

Method setDomain (line 49)

void setDomain( $classes, mixed $class)

Removes classes from the domain of the property and adds classes to the domain of the property.

Parameters

  • mixed $class: Class or array of classes to add.
  • $classes:

Info

Method setRange (line 99)

void setRange( mixed $ranges)

Removes the property from its old ranges and adds the property to the new specified ranges.

Parameters

  • mixed $ranges: Ranges for the property

Info

Method setSubProperties (line 123)

void setSubProperties( $values)

Parameters

  • $values:

Info

Method setSuperProperties (line 134)

void setSuperProperties( $values)

Parameters

  • $values:

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 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:07:09 +0100 by phpDocumentor 1.3.0