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

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::ObjectProperty - definition of an owl object property

SYNOPSIS ^

 use SADI::Data::Def::ObjectProperty;

 # create a new data type
 my $datatype = new SADI::Data::Def::ObjectProperty
    ( 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 object property
 print $datatype->name;

DESCRIPTION ^

A container representing an OWL object 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 object property

parent

A parent for this object property ... defaults to SADI::Data::OWL::ObjectProperty

domain

The domain of this object property

range

The range of this object property

uri

The uri of this object property

SUBROUTINES ^

syntax highlighting: