Package org.semanticweb.owlapi.model

Examples of org.semanticweb.owlapi.model.OWLAsymmetricObjectPropertyAxiom


    }

    @Test
    public void shouldBuildAsymmetricObjectProperty() {
        // given
        OWLAsymmetricObjectPropertyAxiom expected = df
                .getOWLAsymmetricObjectPropertyAxiom(op, annotations);
        BuilderAsymmetricObjectProperty builder = new BuilderAsymmetricObjectProperty(
                expected, df);
        // when
        OWLObject built = builder.buildObject();
View Full Code Here


    @Test
    public void testAsymmetricObjectPropertyAxiomAccessors() {
        OWLOntology ont = getOWLOntology("ont");
        OWLObjectProperty propP = ObjectProperty(iri("p"));
        OWLOntologyManager man = ont.getOWLOntologyManager();
        OWLAsymmetricObjectPropertyAxiom ax = AsymmetricObjectProperty(propP);
        man.addAxiom(ont, ax);
        performAxiomTests(ont, ax);
        assertTrue(ont.getAsymmetricObjectPropertyAxioms(propP).contains(ax));
        assertTrue(ont.getAxioms(propP, EXCLUDED).contains(ax));
        assertTrue(isAsymmetric(propP, ont));
View Full Code Here

TOP

Related Classes of org.semanticweb.owlapi.model.OWLAsymmetricObjectPropertyAxiom

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.