/** * Adds the. * * @param axioms the axioms */ protected void add(@Nullable Set<OWLAxiom> axioms) { if (axioms == null || axioms.isEmpty()) { LOG.error("no axiom"); return; } getOwlOntology().add(axioms); }
/** * Adds the. * * @param axioms the axioms */ protected void add(@Nullable Set<OWLAxiom> axioms) { if (axioms == null || axioms.isEmpty()) { LOG.error("no axiom"); return; } getOwlOntology().add(axioms); }
/** * Adds the. * * @param axioms the axioms */ protected void add(@Nullable Set<OWLAxiom> axioms) { if (axioms == null || axioms.isEmpty()) { LOG.error("no axiom"); return; } getOwlOntology().add(axioms); }
/** * Adds the. * * @param axioms the axioms */ protected void add(@Nullable Set<OWLAxiom> axioms) { if (axioms == null || axioms.isEmpty()) { LOG.error("no axiom"); return; } getOwlOntology().add(axioms); }
/** * Adds the ontology annotation. * * @param ap the ap * @param v the v * @param annotations the annotations */ protected void addOntologyAnnotation(OWLAnnotationProperty ap, OWLAnnotationValue v, Set<OWLAnnotation> annotations) { OWLAnnotation ontAnn = fac.getOWLAnnotation(ap, v, annotations); AddOntologyAnnotation addAnn = new AddOntologyAnnotation(getOwlOntology(), ontAnn); apply(addAnn); }
/** * Adds the ontology annotation. * * @param ap the ap * @param v the v * @param annotations the annotations */ protected void addOntologyAnnotation(OWLAnnotationProperty ap, OWLAnnotationValue v, Set<OWLAnnotation> annotations) { OWLAnnotation ontAnn = fac.getOWLAnnotation(ap, v, annotations); AddOntologyAnnotation addAnn = new AddOntologyAnnotation(getOwlOntology(), ontAnn); apply(addAnn); }
/** * Adds the ontology annotation. * * @param ap the ap * @param v the v * @param annotations the annotations */ protected void addOntologyAnnotation(OWLAnnotationProperty ap, OWLAnnotationValue v, Set<OWLAnnotation> annotations) { OWLAnnotation ontAnn = fac.getOWLAnnotation(ap, v, annotations); AddOntologyAnnotation addAnn = new AddOntologyAnnotation(getOwlOntology(), ontAnn); apply(addAnn); }
/** * Adds the ontology annotation. * * @param ap the ap * @param v the v * @param annotations the annotations */ protected void addOntologyAnnotation(OWLAnnotationProperty ap, OWLAnnotationValue v, Set<OWLAnnotation> annotations) { OWLAnnotation ontAnn = fac.getOWLAnnotation(ap, v, annotations); AddOntologyAnnotation addAnn = new AddOntologyAnnotation(getOwlOntology(), ontAnn); apply(addAnn); }
OWLAnnotationValue value = trAnnotationProp(v2.toString()).getIRI(); OWLAnnotation ontAnn = fac.getOWLAnnotation(prop, value, annotations); AddOntologyAnnotation addAnn = new AddOntologyAnnotation(getOwlOntology(), ontAnn); apply(addAnn); } else if (values.size() == 3) { OWLAnnotationProperty prop = trAnnotationProp((String) v); OWLAnnotation ontAnn = fac.getOWLAnnotation(prop, value, annotations); AddOntologyAnnotation addAnn = new AddOntologyAnnotation(getOwlOntology(), ontAnn); apply(addAnn); } else {
OWLAnnotationValue value = trAnnotationProp(v2.toString()).getIRI(); OWLAnnotation ontAnn = fac.getOWLAnnotation(prop, value, annotations); AddOntologyAnnotation addAnn = new AddOntologyAnnotation(getOwlOntology(), ontAnn); apply(addAnn); } else if (values.size() == 3) { OWLAnnotationProperty prop = trAnnotationProp((String) v); OWLAnnotation ontAnn = fac.getOWLAnnotation(prop, value, annotations); AddOntologyAnnotation addAnn = new AddOntologyAnnotation(getOwlOntology(), ontAnn); apply(addAnn); } else {
OWLAnnotationValue value = trAnnotationProp(v2.toString()).getIRI(); OWLAnnotation ontAnn = fac.getOWLAnnotation(prop, value, annotations); AddOntologyAnnotation addAnn = new AddOntologyAnnotation(getOwlOntology(), ontAnn); apply(addAnn); } else if (values.size() == 3) { OWLAnnotationProperty prop = trAnnotationProp((String) v); OWLAnnotation ontAnn = fac.getOWLAnnotation(prop, value, annotations); AddOntologyAnnotation addAnn = new AddOntologyAnnotation(getOwlOntology(), ontAnn); apply(addAnn); } else {
OWLAnnotationValue value = trAnnotationProp(v2.toString()).getIRI(); OWLAnnotation ontAnn = fac.getOWLAnnotation(prop, value, annotations); AddOntologyAnnotation addAnn = new AddOntologyAnnotation(getOwlOntology(), ontAnn); apply(addAnn); } else if (values.size() == 3) { OWLAnnotationProperty prop = trAnnotationProp((String) v); OWLAnnotation ontAnn = fac.getOWLAnnotation(prop, value, annotations); AddOntologyAnnotation addAnn = new AddOntologyAnnotation(getOwlOntology(), ontAnn); apply(addAnn); } else {
.forEach(s -> getOwlOntology().add(OwlStringTools.translate( s, manager))); } else {
.forEach(s -> getOwlOntology().add(OwlStringTools.translate( s, manager))); } else {
.forEach(s -> getOwlOntology().add(OwlStringTools.translate( s, manager))); } else {
.forEach(s -> getOwlOntology().add(OwlStringTools.translate( s, manager))); } else {