Open Semantic Framework PHP API  3.0
 All Data Structures Namespaces Files Functions Variables Pages
GetSubPropertiesFunction Class Reference

Get all the sub-properties that have been defined in an ontology. More...

Inheritance diagram for GetSubPropertiesFunction:

Public Member Functions

 __construct ()
 
 uri ($uri)
 URI of the property for which the requester want its sub-properties. More...
 
 getDatatypeProperties ()
 Get all the Datatype sub-properties of the ontology. More...
 
 getObjectProperties ()
 Get all the Object sub-properties of the ontology. More...
 
 getPropertiesUris ()
 Get a list of URIs that refers to the properties described in this ontology. More...
 
 getPropertiesDescriptions ()
 Get the list of properties description for the classes described in this ontology. More...
 
 directSubProperties ()
 Only get the direct sub-properties of the target property. More...
 
 allSubProperties ()
 Get all the sub-properties by inference (so, the sub-properties of the sub-properties recursively). More...
 

Detailed Description

Get all the sub-properties that have been defined in an ontology.

The requester can get a list of URIs or the full description of the sub-properties.

See also
http://wiki.opensemanticframework.org/index.php/Ontology_Read#getSubProperties
Author
Frederick Giasson, Structured Dynamics LLC.

Definition at line 20 of file GetSubPropertiesFunction.php.

Constructor & Destructor Documentation

__construct ( )

Definition at line 22 of file GetSubPropertiesFunction.php.

Member Function Documentation

allSubProperties ( )

Get all the sub-properties by inference (so, the sub-properties of the sub-properties recursively).

See also
http://wiki.opensemanticframework.org/index.php/Ontology_Read#getSubProperties
Author
Frederick Giasson, Structured Dynamics LLC.

Definition at line 127 of file GetSubPropertiesFunction.php.

directSubProperties ( )

Only get the direct sub-properties of the target property.

See also
http://wiki.opensemanticframework.org/index.php/Ontology_Read#getSubProperties
Author
Frederick Giasson, Structured Dynamics LLC.

Definition at line 112 of file GetSubPropertiesFunction.php.

getDatatypeProperties ( )

Get all the Datatype sub-properties of the ontology.

See also
http://wiki.opensemanticframework.org/index.php/Ontology_Read#getSubProperties
Author
Frederick Giasson, Structured Dynamics LLC.

Definition at line 56 of file GetSubPropertiesFunction.php.

getObjectProperties ( )

Get all the Object sub-properties of the ontology.

See also
http://wiki.opensemanticframework.org/index.php/Ontology_Read#getSubProperties
Author
Frederick Giasson, Structured Dynamics LLC.

Definition at line 70 of file GetSubPropertiesFunction.php.

getPropertiesDescriptions ( )

Get the list of properties description for the classes described in this ontology.

See also
http://wiki.opensemanticframework.org/index.php/Ontology_Read#getSubProperties
Author
Frederick Giasson, Structured Dynamics LLC.

Definition at line 98 of file GetSubPropertiesFunction.php.

getPropertiesUris ( )

Get a list of URIs that refers to the properties described in this ontology.

See also
http://wiki.opensemanticframework.org/index.php/Ontology_Read#v
Author
Frederick Giasson, Structured Dynamics LLC.

Definition at line 84 of file GetSubPropertiesFunction.php.

uri (   $uri)

URI of the property for which the requester want its sub-properties.

Required: This function must be called before sending the query

Parameters
mixed$uriURI of the property for which the requester want its sub-properties.
See also
http://wiki.opensemanticframework.org/index.php/Ontology_Read#getSubProperties
Author
Frederick Giasson, Structured Dynamics LLC.

Definition at line 41 of file GetSubPropertiesFunction.php.