RDF::Core::Schema(3pm) User Contributed Perl Documentation RDF::Core::Schema(3pm)
NAME
RDF::Core::Schema - The RDF Schema access
SYNOPSIS
require RDF::Core::Schema;
my $schema = new RDF::Core::Schema(); $schema->getClasses;
DESCRIPTION
This module provides the basic interface (OO) for RDF Schema manipulation.
Interface
o new(Storage=>$storage, Factory => $factory)
Construct the object. $storage is the RDF::Core::Storage object that contains schema
data. $factory may specify the RDF::Core::Factory to be used.
o getClasses
Return all classes defined in the model.
o getSubClasses($class, $deep)
Get all subclasses of given $class. $class may be either URI string or
RDF::Core::Resource. If $deep is true, inheritance takes a deal.
o getAncestors($class, $deep)
Get all ancestors of a given $class. $class may be either URI string or
RDF::Core::Resource. If $deep is true, inheritance takes a deal.
o isSubClassOf($what, $whos)
Tells, whether $what is a subless of $whom. Both of parameters may be either of
RDF::Core::Resource or URI string.
o getSubProperties($property, $deep)
Get all subproperties of given $property. $property may be either URI string or
RDF::Core::Resource. If $deep is true, inheritance takes a deal.
o getAncestorProperties($property, $deep)
Get all ancestor properties of given $property. $property may be either URI string or
RDF::Core::Resource. If $deep is true, inheritance takes a deal.
o isSubClassOf($waht, $whos)
Tells, whether $what is a subless of $whom. Both of parameters may be either of
RDF::Core::Resource or URI string.
o getPropertiesOf($class, $deep)
Get all properties of given $class. No inheritance rules are applied, since they are
not defined in RDF Schema. $class may be either URI string or RDF::Core::Resource. If
$deep is true, inheritance takes a deal.
POD ERRORS
Hey! The above document had some coding errors, which are explained below:
Around line 351:
Expected '=item *'
perl v5.10.0 2002-06-12 RDF::Core::Schema(3pm)
Generated by $Id: phpMan.php,v 4.49 2006/02/26 13:18:18 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2012-05-25 01:44 @38.107.179.236 Crawled by CCBot/1.0 (+http://www.commoncrawl.org/bot.html)