The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 0.97

  • THIS RELEASE requires that you re-generate all of your OWL2Perl modules!
  • fix: when bnodes with properties were added to a class, they had extra stuff being added as well.
  • fix: some ontologies caused owl2perl to serialize very slowly; modified owl-class.tt to speed up _get_statements.
  • added a method called clear_statements that removes the statements generated when you use OWL::Utils::serialize or _get_statements.
  • fix: when parsing ontologies, we ignore restrictions that dont act on specific (declared) properties.
  • fix: when some classes were generated, they had the same property added greater than once. Duplicates should be filtered out now.
  • added a 'strict' paramter to OWL::Data::OWL::Class that enables/disables constraint checking (defaults to false)
  • added a 'model' parameter to generated classes that is of type RDF::Core::Model. This model is populated in calls to get_statements.
  • removed 'statements' parameter from generated classes.
  • internal subroutine '_get_statements' now returns an RDF::Core::Enumerator object
  • better handle of OWL classes that are equivalent to anonymous classes with someValueFrom restrictions.
  • Utils->serialize() updated to use our RDF::Core::Enumerator rather than an arrayref of statements
  • Updated the perldoc for generated classes
  • added a __properties method that keeps track of the object and datatype properties that a particular class has. This information is kept in a hash with keys: datatypes and objects;
  • TODO - cardinality constraints are now broken for classes that declare the same property > once.

Modules

Hash-based abstract super-class for all owl 2 perl objects
A primitive data type for booleans
A primitive data type for dates/times
definition of an owl datatype property
definition of an owl class
definition of an owl object property
A primitive data type for float numbers
A primitive data type for integers
A primitive data type for strings
generator of OWL modules
what does not fit elsewhere
Perl extension for the automatic generation of perl modules from OWL classes

Provides

in lib/OWL/Config.pm
in lib/OWL/RDF/Predicates/DC_PROTEGE.pm
in lib/OWL/RDF/Predicates/OMG_LSID.pm
in lib/OWL/RDF/Predicates/OWL.pm
in lib/OWL/RDF/Predicates/RDF.pm
in lib/OWL/RDF/Predicates/RDFS.pm