Constructor and Description |
---|
OWLUtils() |
Modifier and Type | Method and Description |
---|---|
static Set<org.semanticweb.owlapi.model.OWLAxiom> |
convertIndividualsToAssertionalAxioms(Set<org.semanticweb.owlapi.model.OWLIndividual> individuals,
org.semanticweb.owlapi.model.OWLClassExpression ce) |
static org.semanticweb.owlapi.model.OWLEquivalentClassesAxiom |
convertSubClassOfIntoEquivalentClassesAxiom(org.semanticweb.owlapi.model.OWLSubClassOfAxiom axiom) |
static org.semanticweb.owlapi.model.OWLClass |
createDummyClass(org.semanticweb.owlapi.model.IRI dummyClassIRI) |
static org.semanticweb.owlapi.model.OWLOntology |
mergeOntologies(Set<KnowledgeSource> sources)
This method merges all the input knowledge sources and returns the
filename of the new ontology.
|
static void |
saveAxioms(Set<org.semanticweb.owlapi.model.OWLAxiom> axioms,
String outputFile,
String outFormat) |
static void |
saveOntology(org.semanticweb.owlapi.model.OWLOntology resultOntology,
String outputFile,
String outFormat) |
public OWLUtils()
public static org.semanticweb.owlapi.model.OWLOntology mergeOntologies(Set<KnowledgeSource> sources) throws ComponentInitException
sources
- set of knowledge basessources
ComponentInitException
public static org.semanticweb.owlapi.model.OWLClass createDummyClass(org.semanticweb.owlapi.model.IRI dummyClassIRI)
public static void saveOntology(org.semanticweb.owlapi.model.OWLOntology resultOntology, String outputFile, String outFormat) throws org.semanticweb.owlapi.model.OWLOntologyStorageException
org.semanticweb.owlapi.model.OWLOntologyStorageException
public static void saveAxioms(Set<org.semanticweb.owlapi.model.OWLAxiom> axioms, String outputFile, String outFormat) throws org.semanticweb.owlapi.model.OWLOntologyStorageException, org.semanticweb.owlapi.model.OWLOntologyCreationException
org.semanticweb.owlapi.model.OWLOntologyStorageException
org.semanticweb.owlapi.model.OWLOntologyCreationException
public static Set<org.semanticweb.owlapi.model.OWLAxiom> convertIndividualsToAssertionalAxioms(Set<org.semanticweb.owlapi.model.OWLIndividual> individuals, org.semanticweb.owlapi.model.OWLClassExpression ce)
public static org.semanticweb.owlapi.model.OWLEquivalentClassesAxiom convertSubClassOfIntoEquivalentClassesAxiom(org.semanticweb.owlapi.model.OWLSubClassOfAxiom axiom)
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann