GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
RDF::Core::Schema(3) User Contributed Perl Documentation RDF::Core::Schema(3)

RDF::Core::Schema - The RDF Schema access

require RDF::Core::Schema;

my $schema = new RDF::Core::Schema(); $schema->getClasses;

This module provides the basic interface (OO) for RDF Schema manipulation.

Interface

  • 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.

  • getClasses

    Return all classes defined in the model.

  • 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.

  • 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.

  • isSubClassOf($what, $whos)

    Tells, whether $what is a subless of $whom. Both of parameters may be either of RDF::Core::Resource or URI string.

  • 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.

  • 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.

  • isSubClassOf($waht, $whos)

    Tells, whether $what is a subless of $whom. Both of parameters may be either of RDF::Core::Resource or URI string.

  • 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.

Hey! The above document had some coding errors, which are explained below:
Around line 351:
Expected '=item *'
2002-06-12 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.