nl.tudelft.tbm.eeni.owlstructure.processor
Class PropertyRangeSimplifier

java.lang.Object
  extended by 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?


Constructor Summary
PropertyRangeSimplifier()
          Creates a new property range simplifier
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyRangeSimplifier

public PropertyRangeSimplifier()
Creates a new property range simplifier

See Also:
PropertyRangeSimplifier
Method Detail

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.