nl.tudelft.tbm.eeni.owlstructure.processor
Class PropertyRangeSimplifier
java.lang.Object
nl.tudelft.tbm.eeni.owlstructure.processor.PropertyRangeSimplifier
- All Implemented Interfaces:
- IOntologyProcessor
public class PropertyRangeSimplifier
- extends Object
- implements IOntologyProcessor
Simplify complex intersectionOf / unionOf property ranges (as created by a.o. Protege)
to a simple flat list of named classes, and deletes the anonymous classes from the ontology.
This is needed because Owl2Java chokes on complex property ranges;
therefore maybe this should be integrated in Owl2Java?
|
Method Summary |
com.hp.hpl.jena.ontology.OntModel |
process(com.hp.hpl.jena.ontology.OntModel ontModel)
Run the propery range inferer on all classes in the given ontology |
PropertyRangeSimplifier
public PropertyRangeSimplifier()
- Creates a new property range simplifier
- See Also:
PropertyRangeSimplifier
process
public com.hp.hpl.jena.ontology.OntModel process(com.hp.hpl.jena.ontology.OntModel ontModel)
- Run the propery range inferer on all classes in the given ontology
- Specified by:
process in interface IOntologyProcessor
- Parameters:
ontModel - The ontology model to work on
Copyright © 2011. All Rights Reserved.