NAME

OWL::Data::Def::ObjectProperty - definition of an owl object property

SYNOPSIS

use OWL::Data::Def::ObjectProperty;

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

name

A name of this object property

parent

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