Examples of UseOfReservedVocabularyForOntologyIRI


Examples of org.semanticweb.owlapi.profiles.violations.UseOfReservedVocabularyForOntologyIRI

        public void visit(OWLOntology ontology) {
            OWLOntologyID ontologyID = ontology.getOntologyID();
            if (!ontologyID.isAnonymous()) {
                if (ontologyID.getOntologyIRI().get().isReservedVocabulary()) {
                    profileViolations
                            .add(new UseOfReservedVocabularyForOntologyIRI(
                                    getCurrentOntology()));
                }
                Optional<IRI> versionIRI = ontologyID.getVersionIRI();
                if (versionIRI.isPresent()) {
                    if (versionIRI.get().isReservedVocabulary()) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.