Package org.semanticweb.owlapi.change
Class CoerceConstantsIntoDataPropertyRange
java.lang.Object
org.semanticweb.owlapi.change.AbstractCompositeOntologyChange
org.semanticweb.owlapi.change.CoerceConstantsIntoDataPropertyRange
- All Implemented Interfaces:
Serializable
,OWLCompositeOntologyChange
Coerces constants to have the same type as the range of a property in axioms where the two are
used. For example, given, p value "xyz", the "xyz" constant would be typed with the range of p.
- Since:
- 2.1.1
- Author:
- Matthew Horridge, The University Of Manchester, Bio-Health Informatics Group
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCoerceConstantsIntoDataPropertyRange
(OWLOntologyManager m, Collection<OWLOntology> ontologies) Instantiates a new coerce constants into data property range. -
Method Summary
Methods inherited from class org.semanticweb.owlapi.change.AbstractCompositeOntologyChange
getChanges
-
Constructor Details
-
CoerceConstantsIntoDataPropertyRange
public CoerceConstantsIntoDataPropertyRange(OWLOntologyManager m, Collection<OWLOntology> ontologies) Instantiates a new coerce constants into data property range.- Parameters:
m
- The manager providing data factory and config to be used for the duplication.ontologies
- the ontologies to use
-
-
Method Details
-
datatypes
- Parameters:
ontologies
- ontologies to inspect- Returns:
- datatypes declared in the ontologies (not including OWL 2 standard datatypes)
-