|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectowltools.mooncat.PropertyViewOntologyBuilder
public class PropertyViewOntologyBuilder
Constructor Summary | |
---|---|
PropertyViewOntologyBuilder(org.semanticweb.owlapi.model.OWLDataFactory owlDataFactory,
org.semanticweb.owlapi.model.OWLOntologyManager owlOntologyManager,
org.semanticweb.owlapi.model.OWLOntology sourceOntology,
org.semanticweb.owlapi.model.OWLOntology unitsOntology,
org.semanticweb.owlapi.model.OWLObjectProperty viewProperty)
|
|
PropertyViewOntologyBuilder(org.semanticweb.owlapi.model.OWLOntology sourceOntology,
org.semanticweb.owlapi.model.OWLOntology unitsOntology,
org.semanticweb.owlapi.model.OWLObjectProperty viewProperty)
|
Method Summary | |
---|---|
void |
addViewEntities(Set<org.semanticweb.owlapi.model.OWLEntity> newEntities)
|
void |
buildInferredViewOntology(org.semanticweb.owlapi.reasoner.OWLReasoner reasoner)
Once the PVO has been constructed, this uses a reasoner to classify it. |
void |
buildViewOntology()
|
void |
buildViewOntology(org.semanticweb.owlapi.model.IRI avoIRI,
org.semanticweb.owlapi.model.IRI ivoIRI)
Constructs view ontology (PVO) from source ontology (SO), such that every class C in SO has a corresponding view class C', such that C' == P some C The PVO imports both the SO, and the elements ontology Also prepares the inferred view ontology (IPVO) You must call buildInferredViewOntology yourself (because you need to set up the reasoner object yourself) |
org.semanticweb.owlapi.model.OWLOntology |
getAssertedViewOntology()
Automatically generated Property View Ontology, containing axioms C' == P some C, for each C in source ontology |
org.semanticweb.owlapi.model.OWLOntology |
getInferredViewOntology()
Generated after running buildInferredViewOntology . |
Set<org.semanticweb.owlapi.model.OWLEntity> |
getViewEntities()
The set of all entities in the view ontology |
String |
getViewLabelPrefix()
|
String |
getViewLabelSuffix()
|
org.semanticweb.owlapi.model.OWLClass |
getViewRootClass()
typically [P some owl:Thing] |
void |
setAssertedViewOntology(org.semanticweb.owlapi.model.OWLOntology assertedViewOntology)
|
void |
setInferredViewOntology(org.semanticweb.owlapi.model.OWLOntology inferredViewOntology)
|
void |
setViewEntities(Set<org.semanticweb.owlapi.model.OWLEntity> viewEntities)
|
void |
setViewLabelPrefix(String viewLabelPrefix)
|
void |
setViewLabelPrefixAndSuffix(String viewLabelPrefix,
String viewLabelSuffix)
|
void |
setViewLabelSuffix(String viewLabelSuffix)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertyViewOntologyBuilder(org.semanticweb.owlapi.model.OWLOntology sourceOntology, org.semanticweb.owlapi.model.OWLOntology unitsOntology, org.semanticweb.owlapi.model.OWLObjectProperty viewProperty)
sourceOntology
- unitsOntology
- viewProperty
- public PropertyViewOntologyBuilder(org.semanticweb.owlapi.model.OWLDataFactory owlDataFactory, org.semanticweb.owlapi.model.OWLOntologyManager owlOntologyManager, org.semanticweb.owlapi.model.OWLOntology sourceOntology, org.semanticweb.owlapi.model.OWLOntology unitsOntology, org.semanticweb.owlapi.model.OWLObjectProperty viewProperty)
owlDataFactory
- owlOntologyManager
- sourceOntology
- unitsOntology
- viewProperty
- Method Detail |
---|
public org.semanticweb.owlapi.model.OWLOntology getAssertedViewOntology()
public void setAssertedViewOntology(org.semanticweb.owlapi.model.OWLOntology assertedViewOntology)
public org.semanticweb.owlapi.model.OWLOntology getInferredViewOntology()
buildInferredViewOntology
.
Can be the same as assertedViewOntology - in which case both the assertions
and the inferences go in the same ontology
public void setInferredViewOntology(org.semanticweb.owlapi.model.OWLOntology inferredViewOntology)
public Set<org.semanticweb.owlapi.model.OWLEntity> getViewEntities()
public void setViewEntities(Set<org.semanticweb.owlapi.model.OWLEntity> viewEntities)
public void addViewEntities(Set<org.semanticweb.owlapi.model.OWLEntity> newEntities)
public org.semanticweb.owlapi.model.OWLClass getViewRootClass()
public String getViewLabelPrefix()
public void setViewLabelPrefix(String viewLabelPrefix)
public String getViewLabelSuffix()
public void setViewLabelSuffix(String viewLabelSuffix)
public void setViewLabelPrefixAndSuffix(String viewLabelPrefix, String viewLabelSuffix)
public void buildViewOntology() throws org.semanticweb.owlapi.model.OWLOntologyCreationException
org.semanticweb.owlapi.model.OWLOntologyCreationException
public void buildViewOntology(org.semanticweb.owlapi.model.IRI avoIRI, org.semanticweb.owlapi.model.IRI ivoIRI) throws org.semanticweb.owlapi.model.OWLOntologyCreationException
avoIRI
- ivoIRI
-
org.semanticweb.owlapi.model.OWLOntologyCreationException
public void buildInferredViewOntology(org.semanticweb.owlapi.reasoner.OWLReasoner reasoner)
reasoner
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |