/** * @param subject that will receive the class * @param clazz that will be add * @since 2.5.1 */ default public void addClass(final OWLNamedIndividual subject, final OWLClassExpression clazz) { addAxiom(getFactory().getOWLClassAssertionAxiom(clazz, subject)); }
/** * @param subject that will receive the class * @param clazz that will be add * @since 2.5.1 */ default public void addClass(final OWLNamedIndividual subject, final OWLClassExpression clazz) { addAxiom(getFactory().getOWLClassAssertionAxiom(clazz, subject)); }
/** * add axiom into the ontology. * * @param property that carry the data * @param subject is the root of the property * @param value is the target of the property * @since 2.5.1 */ default public void addObjectPropertyAxiom(final OWLObjectPropertyExpression property, final OWLIndividual subject, final OWLIndividual value) { addAxiom(getFactory().getOWLObjectPropertyAssertionAxiom(property, subject, value)); }
/** * add axiom into the ontology. * * @param property that carry the data * @param subject is the root of the property * @param literal is the target of the property * @since 2.5.1 */ default public void addDataPropertyAxiom(final OWLDataProperty property, final OWLIndividual subject, final OWLLiteral literal) { addAxiom(getFactory().getOWLDataPropertyAssertionAxiom(property, subject, literal)); }
/** * @param subject that will receive the class * @param clazz that will be add * @since 2.5.1 */ default public void addClass(final OWLNamedIndividual subject, final OWLClassExpression clazz) { addAxiom(getFactory().getOWLClassAssertionAxiom(clazz, subject)); }
/** * add axiom into the ontology. * * @param clazz that will have the individual * @param subject is the individual that will receive the assertion. * @since 2.5.1 */ default public void addClassPropertyAxiom(final OWLClassExpression clazz, final OWLIndividual subject) { addAxiom(getFactory().getOWLClassAssertionAxiom(clazz, subject)); }
/** * add axiom into the ontology. * * @param clazz that will have the individual * @param subject is the individual that will receive the assertion. * @since 2.5.1 */ default public void addClassPropertyAxiom(final OWLClassExpression clazz, final OWLIndividual subject) { addAxiom(getFactory().getOWLClassAssertionAxiom(clazz, subject)); }
/** * add axiom into the ontology. * * @param property that carry the data * @param subject is the root of the property * @param value is the target of the property * @since 2.5.1 */ default public void addObjectPropertyAxiom(final OWLObjectPropertyExpression property, final OWLIndividual subject, final OWLIndividual value) { addAxiom(getFactory().getOWLObjectPropertyAssertionAxiom(property, subject, value)); }
/** * @param iri the desired property * @return the owl property * @since 2.5.1 */ default public OWLObjectProperty declareObjectProperty(final IRI iri) { final OWLObjectProperty baby = toObjectProperty(iri); addAxiom(getFactory().getOWLDeclarationAxiom(baby)); return baby; }
/** * @param clazz is the iri of the desired classes * @return the owl class * @since 2.5.1 */ default public OWLClass declareClass(final IRI clazz) { final OWLClass owlClazz = toClass(clazz); addAxiom(getFactory().getOWLDeclarationAxiom(owlClazz)); return owlClazz; }
/** * @param iri to declare * @return the iri as an individual after inserting it as a declaration in the ontology. * @since 2.5.1 */ default public OWLNamedIndividual declareIndividual(final IRI iri) { final OWLNamedIndividual baby = toIndividual(iri); addAxiom(getFactory().getOWLDeclarationAxiom(baby)); return baby; }
/** * @param iri the desired property * @return the owl property * @since 2.5.1 */ default public OWLObjectProperty declareObjectProperty(final IRI iri) { final OWLObjectProperty baby = toObjectProperty(iri); addAxiom(getFactory().getOWLDeclarationAxiom(baby)); return baby; }
/** * @param iri the desired property * @return the owl property * @since 2.5.1 */ default public OWLObjectProperty declareObjectProperty(final IRI iri) { final OWLObjectProperty baby = toObjectProperty(iri); addAxiom(getFactory().getOWLDeclarationAxiom(baby)); return baby; }
/** * @param clazz is the iri of the desired classes * @return the owl class * @since 2.5.1 */ default public OWLClass declareClass(final IRI clazz) { final OWLClass owlClazz = toClass(clazz); addAxiom(getFactory().getOWLDeclarationAxiom(owlClazz)); return owlClazz; }
/** * @param iri the desired property * @return the owl property * @since 2.5.1 */ default public OWLDataProperty declareDataProperty(final IRI iri) { final OWLDataProperty baby = toDataProperty(iri); addAxiom(getFactory().getOWLDeclarationAxiom(baby)); return baby; }
/** * @param iri to declare * @return the iri as an individual after inserting it as a declaration in the ontology. * @since 2.5.1 */ default public OWLNamedIndividual declareIndividual(final IRI iri) { final OWLNamedIndividual baby = toIndividual(iri); addAxiom(getFactory().getOWLDeclarationAxiom(baby)); return baby; }
/** * Declare the individual and add it a given class * * @param owlClazz already declare in this ontology. * @param individual to declare in this ontology. * @return the owl individual * @since 2.6.0 */ default public OWLNamedIndividual declareIndividual(final OWLClass owlClazz, final OWLNamedIndividual individual) { addAxiom(getFactory().getOWLDeclarationAxiom(individual)); addClass(individual, owlClazz); return individual; }
/** * @param iri the desired property * @return the owl property * @since 2.5.1 */ default public OWLDataProperty declareDataProperty(final IRI iri) { final OWLDataProperty baby = toDataProperty(iri); addAxiom(getFactory().getOWLDeclarationAxiom(baby)); return baby; }
/** * @param iri to declare * @return the iri as an individual after inserting it as a declaration in the ontology. * @since 2.5.1 */ default public OWLNamedIndividual declareIndividual(final IRI iri) { final OWLNamedIndividual baby = toIndividual(iri); addAxiom(getFactory().getOWLDeclarationAxiom(baby)); return baby; }
/** * @param clazz is the iri of the desired classes * @return the owl class * @since 2.5.1 */ default public OWLClass declareClass(final IRI clazz) { final OWLClass owlClazz = toClass(clazz); addAxiom(getFactory().getOWLDeclarationAxiom(owlClazz)); return owlClazz; }