OWL::Data::Def::ObjectProperty - definition of an owl object property
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;
A container representing an OWL object property definition
Edward Kawas (edward.kawas [at] gmail [dot] com)
Details are in OWL::Base. Here just a list of them:
A name of this object property
A parent for this object property ... defaults to OWL::Data::OWL::ObjectProperty
The domain of this object property
The range of this object property
The uri of this object property
To install OWL2Perl, copy and paste the appropriate command in to your terminal.
cpanm
cpanm OWL2Perl
CPAN shell
perl -MCPAN -e shell install OWL2Perl
For more information on module installation, please visit the detailed CPAN module installation guide.