Edward Kawas > SADI-1.10 > SADI::Data::Def::DatatypeProperty

Download:
SADI-1.10.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 1.08   Source  

NAME ^

SADI::Data::Def::DatatypeProperty - definition of an owl datatype property

SYNOPSIS ^

 use SADI::Data::Def::DatatypeProperty;

 # create a new data type
 my $datatype = new SADI::Data::Def::DatatypeProperty
    ( name        => 'MySequenceProperty',
      domain      => 'http://some.domain.com/MySequenceDomain',
      uri         => 'http://some.domain.com/MySequenceProperty',
      range       => 'http://some.domain.com/MySequence',
      parent      => 'http://some.domain.com/MySequencePropertyParent',
    );

 # get the name of this datatype property
 print $datatype->name;

DESCRIPTION ^

A container representing an OWL datatype property definition

AUTHORS ^

 Edward Kawas (edward.kawas [at] gmail [dot] com)

ACCESSIBLE ATTRIBUTES ^

Details are in SADI::Base. Here just a list of them:

name

A name of this datatype property

parent

A parent for this datatype property ... defaults to SADI::Data::OWL::DatatypeProperty

domain

The domain of this datatype property

range

The range of this datatype property

uri

The uri of this datatype property

SUBROUTINES ^

syntax highlighting: