Edward Kawas > OWL2Perl-1.00 > OWL::Data::Def::DatatypeProperty

Download:
OWL2Perl-1.00.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 1.08   Source  

NAME ^

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

SYNOPSIS ^

 use OWL::Data::Def::DatatypeProperty;

 # create a new data type
 my $datatype = new OWL::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 OWL::Base. Here just a list of them:

name

A name of this datatype property

parent

A parent for this datatype property ... defaults to OWL::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: