@@ -0,0 +1,1556 @@
+package de.linkvt.bachelor.features.classes;%0A%0Aimport de.linkvt.bachelor.features.Feature;%0A%0Aimport org.semanticweb.owlapi.apibinding.OWLManager;%0Aimport org.semanticweb.owlapi.model.IRI;%0Aimport org.semanticweb.owlapi.model.OWLAnonymousIndividual;%0Aimport org.semanticweb.owlapi.model.OWLAxiom;%0Aimport org.semanticweb.owlapi.model.OWLClass;%0Aimport org.semanticweb.owlapi.model.OWLClassAssertionAxiom;%0Aimport org.semanticweb.owlapi.model.OWLDeclarationAxiom;%0Aimport org.semanticweb.owlapi.model.OWLEntity;%0Aimport org.semanticweb.owlapi.model.OWLNamedIndividual;%0Aimport org.semanticweb.owlapi.model.OWLObjectOneOf;%0Aimport org.semanticweb.owlapi.model.OWLOntologyManager;%0Aimport org.semanticweb.owlapi.model.OWLSubClassOfAxiom;%0Aimport org.springframework.stereotype.Component;%0A%0A/**%0A * An owl oneOf feature.%0A */%0A@Component%0Apublic class OwlOneOfFeature extends Feature %7B%0A  @Override%0A  public void addToOntology() %7B%0A    OWLNamedIndividual fork = factory.getOWLNamedIndividual(IRI.create(%22Fork%22));%0A    OWLNamedIndividual knife = factory.getOWLNamedIndividual(IRI.create(%22Knife%22));%0A    OWLNamedIndividual spoon = factory.getOWLNamedIndividual(IRI.create(%22Spoon%22));%0A    OWLObjectOneOf cutlery = factory.getOWLObjectOneOf(fork, knife, spoon);%0A%0A    OWLClass oneOfClass = factory.getOWLClass(IRI.create(%22Cutlery%22));%0A%0A    OWLAxiom axiom = factory.getOWLEquivalentClassesAxiom(oneOfClass, cutlery);%0A    addAxiomToOntology(axiom);%0A  %7D%0A%0A  @Override%0A  public String getName() %7B%0A    return %22owl:oneOf%22;%0A  %7D%0A%0A  @Override%0A  public String getToken() %7B%0A    return %22owloneof%22;%0A  %7D%0A%7D%0A

Add owl:oneOf feature