Package org.semanticweb.owlapi.profiles

Examples of org.semanticweb.owlapi.profiles.OWL2DLProfile$OWL2DLProfileObjectVisitor


     
      OWLAxiom axiom = OWL.factory.getOWLSubDataPropertyOfAxiom(topProperty, property);
     
      OWL.manager.addAxiom(ontology, axiom);
     
      OWL2DLProfile owl2Profile = new OWL2DLProfile();
      assertFalse( owl2Profile.checkOntology( ontology ).isInProfile() );
    }
    finally {
      OWL.manager.removeOntology(ontology);
    }     
  }
View Full Code Here


  @Test
  public void testInvalidTransitivity() throws OWLOntologyCreationException {
    OWLOntology ontology = OWL.manager.loadOntologyFromOntologyDocument(new File("test/data/misc/invalidTransitivity.owl"));
   
    try {
      OWL2DLProfile owl2Profile = new OWL2DLProfile();
      assertFalse( owl2Profile.checkOntology( ontology ).isInProfile() );     
    }
    finally {
      OWL.manager.removeOntology(ontology);
    }
  }
View Full Code Here

TOP

Related Classes of org.semanticweb.owlapi.profiles.OWL2DLProfile$OWL2DLProfileObjectVisitor

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.