public interface OntologyBuilder
OntologyVocabularyCategory<OClass> classes()
OntologyVocabularyCategory<ObjectPropertyExpression> objectProperties()
OntologyVocabularyCategory<DataPropertyExpression> dataProperties()
OntologyVocabularyCategory<AnnotationProperty> annotationProperties()
OClass declareClass(org.apache.commons.rdf.api.IRI iri)
iri - ObjectPropertyExpression declareObjectProperty(org.apache.commons.rdf.api.IRI iri)
DataPropertyExpression declareDataProperty(org.apache.commons.rdf.api.IRI iri)
AnnotationProperty declareAnnotationProperty(org.apache.commons.rdf.api.IRI iri)
void addSubClassOfAxiom(ClassExpression concept1, ClassExpression concept2) throws InconsistentOntologyException
InconsistentOntologyExceptionvoid addDataPropertyRangeAxiom(DataPropertyRangeExpression range, Datatype datatype) throws InconsistentOntologyException
InconsistentOntologyExceptionvoid addSubPropertyOfAxiom(ObjectPropertyExpression included, ObjectPropertyExpression including) throws InconsistentOntologyException
InconsistentOntologyExceptionvoid addSubPropertyOfAxiom(DataPropertyExpression included, DataPropertyExpression including) throws InconsistentOntologyException
InconsistentOntologyExceptionvoid addDisjointClassesAxiom(ClassExpression... classes) throws InconsistentOntologyException
InconsistentOntologyExceptionvoid addDisjointObjectPropertiesAxiom(ObjectPropertyExpression... properties) throws InconsistentOntologyException
InconsistentOntologyExceptionvoid addDisjointDataPropertiesAxiom(DataPropertyExpression... properties) throws InconsistentOntologyException
InconsistentOntologyExceptionvoid addReflexiveObjectPropertyAxiom(ObjectPropertyExpression ope) throws InconsistentOntologyException
InconsistentOntologyExceptionvoid addIrreflexiveObjectPropertyAxiom(ObjectPropertyExpression ope) throws InconsistentOntologyException
InconsistentOntologyExceptionvoid addFunctionalObjectPropertyAxiom(ObjectPropertyExpression prop)
void addFunctionalDataPropertyAxiom(DataPropertyExpression prop)
ObjectPropertyExpression createAuxiliaryObjectProperty()
void addClassAssertion(OClass ce, ObjectConstant o) throws InconsistentOntologyException
ce - o - InconsistentOntologyException - if ce is the bottom class ([C4])void addObjectPropertyAssertion(ObjectPropertyExpression ope, ObjectConstant o1, ObjectConstant o2) throws InconsistentOntologyException
ope - o1 - o2 - InconsistentOntologyException - if ope is the bottom property ([O4])void addDataPropertyAssertion(DataPropertyExpression dpe, ObjectConstant o, RDFLiteralConstant v) throws InconsistentOntologyException
dpe - o - v - InconsistentOntologyException - if dpe is the bottom property ([D4])void addAnnotationAssertion(AnnotationProperty ap, ObjectConstant o, Constant c)
ap - o - c - Ontology build()
Copyright © 2009–2020 Free University of Bozen-Bolzano. All rights reserved.