Class CreateValuePartition

java.lang.Object
org.semanticweb.owlapi.change.AbstractCompositeOntologyChange
org.semanticweb.owlapi.change.CreateValuePartition
All Implemented Interfaces:
Serializable, OWLCompositeOntologyChange

public class CreateValuePartition extends AbstractCompositeOntologyChange
This composite change will create a value partitiion - see "pattern 2" in "Representing Specified Values in OWL: "value partitions" and "value sets"" (http://www.w3.org/TR/swbp-specified-values.)
A value partition is an ontology design pattern which is used to represent a set of closed values for a particular property. For example the property hasSize might only take values from SmallSize, MediumSize and LargeSize. In this case, the value partition is Size, and has the values SmallSize, MediumSize and LargeSize. This composite change will set hasSize to be functional and its range as Size. Size will be covered by SmallSize, MediumSize and LargeSize and these classes which represent the values will be made disjoint with each other.
Since:
2.1.0
Author:
Matthew Horridge, The University Of Manchester, Bio-Health Informatics Group
See Also:
  • Constructor Details

    • CreateValuePartition

      public CreateValuePartition(OWLDataFactory dataFactory, OWLClass valuePartitionClass, Collection<OWLClass> valuePartionClasses, OWLObjectProperty valuePartitionProperty, OWLOntology targetOntology)
      Creates a composite change that will create a value partition.
      Parameters:
      dataFactory - A data factory which can be used to create the necessary axioms
      valuePartitionClass - The class which represents the value partition.
      valuePartionClasses - The classes that represent the various values of the value partition.
      valuePartitionProperty - the property which should be used in conjunction with the value partition.
      targetOntology - The target ontology which the axioms that are necessary to create the value partition will be added to.