public class PropertyExtractor extends Object
Modifier and Type | Field and Description |
---|---|
boolean |
isCreateShorthand |
boolean |
isUseSubProperties |
Constructor and Description |
---|
PropertyExtractor(org.semanticweb.owlapi.model.OWLOntology propertyOntology)
Creates a new PE object
|
PropertyExtractor(org.semanticweb.owlapi.model.OWLOntology propertyOntology,
org.semanticweb.owlapi.model.OWLOntology mainOntology) |
Modifier and Type | Method and Description |
---|---|
org.semanticweb.owlapi.model.OWLOntology |
extractPropertyOntology() |
org.semanticweb.owlapi.model.OWLOntology |
extractPropertyOntology(org.semanticweb.owlapi.model.IRI newIRI) |
org.semanticweb.owlapi.model.OWLOntology |
extractPropertyOntology(org.semanticweb.owlapi.model.IRI newIRI,
org.semanticweb.owlapi.model.OWLOntology ont) |
org.semanticweb.owlapi.model.OWLOntology |
extractPropertyOntology(org.semanticweb.owlapi.model.IRI newIRI,
Set<org.semanticweb.owlapi.model.OWLProperty> props)
Returns a new ontology containing declarations for each prop in props,
its closure,
together with associated axioms
|
public boolean isCreateShorthand
public boolean isUseSubProperties
public PropertyExtractor(org.semanticweb.owlapi.model.OWLOntology propertyOntology)
propertyOntology
- - the ontology in which source properties are declared, annotated and axiomatizedpublic PropertyExtractor(org.semanticweb.owlapi.model.OWLOntology propertyOntology, org.semanticweb.owlapi.model.OWLOntology mainOntology)
propertyOntology
- - the ontology in which source properties are declared, annotated and axiomatizedmainOntology
- - the ontology is which the properties are used (for example, in ObjectSomeValuesFrom axioms)public org.semanticweb.owlapi.model.OWLOntology extractPropertyOntology() throws org.semanticweb.owlapi.model.OWLOntologyCreationException
org.semanticweb.owlapi.model.OWLOntologyCreationException
public org.semanticweb.owlapi.model.OWLOntology extractPropertyOntology(org.semanticweb.owlapi.model.IRI newIRI) throws org.semanticweb.owlapi.model.OWLOntologyCreationException
newIRI
- org.semanticweb.owlapi.model.OWLOntologyCreationException
public org.semanticweb.owlapi.model.OWLOntology extractPropertyOntology(org.semanticweb.owlapi.model.IRI newIRI, org.semanticweb.owlapi.model.OWLOntology ont) throws org.semanticweb.owlapi.model.OWLOntologyCreationException
org.semanticweb.owlapi.model.OWLOntologyCreationException
public org.semanticweb.owlapi.model.OWLOntology extractPropertyOntology(org.semanticweb.owlapi.model.IRI newIRI, Set<org.semanticweb.owlapi.model.OWLProperty> props) throws org.semanticweb.owlapi.model.OWLOntologyCreationException
newIRI
- props
- org.semanticweb.owlapi.model.OWLOntologyCreationException
Copyright © 2010–2016. All rights reserved.