DefaultRDFSClass has no properties.
PHP | _listInheritedProperties(unknown $propertyURIs) |
---|
RDFSClass::_listInheritedProperties()
Arguments
PHP | addInstance(string $instance) |
---|
Create new instance
Arguments
Local name of instance to create.
PHP | boolean addProperty(rdfsproperty $property) |
---|
Add this class to the domain of the property.
Arguments
Return
Returns false if property does not exist.
PHP | rdfsclass addSubClass(rdfsclass $subclass) |
---|
Add a sub-class of this class. If the subclass is a URI instead of a RDFSClass object - the subclass will first be created.
Arguments
A class that is a sub-class of this class.
Return
The class created.
PHP | countInstancePropertyValues(unknown $property, boolean $resourcesOnly, integer $minDistinctValues) |
---|
Arguments
PHP | integer countInstances() |
---|
Returns the number of instances of this class.
Return
Number of instances for this class.
PHP | integer countInstancesOfSubclasses() |
---|
Returns the number of instances of this class and its sub-classes.
Return
Number of instances for this class and its sub-classes.
PHP | integer countInstancesRecursive() |
---|
Returns the number of instances of this class and all its sub-classes.
Return
Number of instances of this class and all its sub-classes.
PHP | integer countSubClasses() |
---|
Returns number of all classes that are declared to be sub-classes of this class.
Return
Number of all declared sub-classes of this class.
PHP | integer countSubClassesRecursive() |
---|
Returns number of all classes this class is super-class for.
Return
Number of all sub-classes of this class.
PHP | rdfsinstance findInstance(array $properties, string $compare) |
---|
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.
Arguments
Array of PropertyURI=>Value pairs.
Comparision method to be used - default is exact match.
Return
object.
PHP | array findInstances(array $properties, string $compare, integer $start, integer $count, integer $erg) |
---|
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.
Arguments
Array of PropertyURI=>Value pairs.
Comparision method to be used - default is exact match.
Return results starting with this row number.
Maximum number of records to return.
Variable passed by reference which will be set to the overall number of records.
Return
of RDFSInstance objects.
PHP | array findInstancesRecursive(array $properties, string $compare, integer $start, integer $count, integer $erg) |
---|
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.
Arguments
Array of PropertyURI=>Value pairs.
Comparision method to be used - default is exact match.
Return
Array of RDFSInstance objects.
PHP | rdfsinstance getInstance(string $uri) |
---|
Return RDFSInstance object with specified URI. If no RDFSInstance is found, return false.
Arguments
Return
or false.
PHP | boolean isSubClassOf(rdfsclass $class) |
---|
Returns true if this class is a direct subclass of $class.
Arguments
The class which this class should be sub-class of.
PHP | array listDirectProperties() |
---|
Returns an array of RDFSProperty objects directly attached to this class: i.e. the properties that have this class as domain.
Return
Array of RDFSProperty objects.
PHP | array listInheritedProperties(boolean $includeAnnotationProperties) |
---|
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.
Arguments
Return
Array of RDFSProperty objects.
PHP | array listInstanceLabelLanguages() |
---|
Returns an array of all distinct label languages for instances of this class.
Return
All distinct label languages for instances of this class.
PHP | listInstancePropertyValues(unknown $property, boolean $resourcesOnly) |
---|
Lists all distinct values of $property assigned to instances of this class.
Arguments
PHP | array listInstances(integer $start, integer $count, integer $erg) |
---|
Return an array of individuals in the model that have this class among their types.
Arguments
Return results starting with this row number.
Maximum number of records to return.
Variable passed by reference which will be set to the overall number of records.
Return
of RDFSInstance objects.
PHP | array listInstancesRecursive(integer $start, integer $count, integer $erg) |
---|
Return an array of individuals in the model that have this class or one of its sub-classes among their types.
Arguments
Return results starting with this row number.
Maximum number of records to return.
Variable passed by reference which will be set to the overall number of records.
Return
of RDFSInstance objects.
PHP | array 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.
Return
of RDFSProperty objects.
PHP | array 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.
Return
of local names of RDFSProperty objects.
PHP | array listPropertiesUsed() |
---|
Returns an array of property resource URIs which are set by instances of this class.
Return
Array of property resource URIs
PHP | array listSubClasses() |
---|
Returns all classes that are declared to be sub-classes of this class.
Return
All declared sub-classes of this class.
PHP | array listSubClassesRecursive() |
---|
Returns all classes this class is super-class for.
Return
Array of all super-classes.
PHP | array 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.
Return
Array of all declared super-classes of this class.
PHP | array listSuperClassesRecursive() |
---|
Returns an array of RDFSCLass objects which are a superclass of this class or one of its superclasses.
Return
Array of RDFSClasses.
PHP | removeInstance(string $instance) |
---|
Removes a instance. TODO: redundant?/broken?
Arguments
Local name of instance to create.
PHP | boolean removeProperty(rdfsproperty $property) |
---|
Remove the property from this class.
Arguments
Return
Returns false if property does not exist.
PHP | setProperties(array $properties) |
---|
Add this class to the domain of the properties and remove it from all others. FIXME - seems to be broken
Arguments
Array of RDFSProperties.