|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnl.tudelft.tbm.eeni.owlstructure.processor.PropertyDomainInferer
public class PropertyDomainInferer
Set or extend property domains by looking at instances in a given ontology
| Constructor Summary | |
|---|---|
PropertyDomainInferer()
Creates a new property domain inferer, that infers property domains by looking at instances in the ontology. |
|
PropertyDomainInferer(boolean keepExistingDomains)
Creates a new property domain inferer, that infers property domains by looking at instances in the ontology. |
|
PropertyDomainInferer(boolean keepExistingDomains,
boolean enableGeneralization)
Creates a new property domain inferer, that infers property domains by looking at instances in the ontology. |
|
PropertyDomainInferer(boolean keepExistingDomains,
boolean enableGeneralization,
boolean allowThingDomain)
Creates a new property domain inferer, that infers property domains by looking at instances in the ontology. |
|
| Method Summary | |
|---|---|
com.hp.hpl.jena.ontology.OntModel |
process(com.hp.hpl.jena.ontology.OntModel ontModel)
Run the property domain inferer on all properties in the given ontology. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertyDomainInferer(boolean keepExistingDomains,
boolean enableGeneralization,
boolean allowThingDomain)
keepExistingDomains - Whether to keep domains already defined in the ontology. An
existing domain may still be removed when the generalizer
decides to add a superclass of the existing domain class to
the domain. An existing owl:Thing domain will be removed when
allowThingDomain is set to false. Defaults to true.enableGeneralization - Whether to use the generalization engine is used to find
abstract superclasses of domain classes. Defaults to true.allowThingDomain - Whether the domain may contain owl:Thing. Defaults to false.
public PropertyDomainInferer(boolean keepExistingDomains,
boolean enableGeneralization)
keepExistingDomains - Whether to keep domains already defined in the ontology. An
existing domain may still be removed when the generalizer
decides to add a superclass of the existing domain class to
the domain. An existing owl:Thing domain will be removed when
allowThingDomain is set to false. Defaults to true.enableGeneralization - Whether to use the generalization engine is used to find
abstract superclasses of domain classes. Defaults to true.public PropertyDomainInferer(boolean keepExistingDomains)
keepExistingDomains - Whether to keep domains already defined in the ontology. An
existing domain may still be removed when the generalizer
decides to add a superclass of the existing domain class to
the domain. An existing owl:Thing domain will be removed when
allowThingDomain is set to false. Defaults to true.public PropertyDomainInferer()
| Method Detail |
|---|
public com.hp.hpl.jena.ontology.OntModel process(com.hp.hpl.jena.ontology.OntModel ontModel)
process in interface IOntologyProcessorontModel - The ontModel instance to work on.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||