Fork me on GitHub

owlapi-simplex-utils

This module provides several utilities for working with OWL ontologies. This module can be used independently from the other module of owlapi-simplex.

Currently owlapi-simplex-utils provides three utility classes

Instances
Provides methods for retrieving individuals from the ontology
ObjectProperties
Methods for retrieving the values of object properties
DataProperties
Methods for retrieving the values of data properties

In addition there are two helper classes which can be used to load an ontology from OWL files in the class path or from the file system:

OwlApiSimplexUtilsFromPathsBuilder
Loads an ontology from OWL files in the file system
OwlApiSimplexUtilsFromResourcesBuilder
Loads an ontology from OWL files in the class path (resources).

Both classes will return an instance of the OwlApiSimplexUtils class. This class provides some utility methods for generating new instances of the Instances, ObjectProperties, and DataProperties classes.

More details can be found in the JavaDoc of the classes.