Package org.semanticweb.owlapi.profiles.violations

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

Related Classes of org.semanticweb.owlapi.profiles.violations.UseOfReservedVocabularyForOntologyIRI

Copyright © 2018 www.massapicom. 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.