Examples of OWLPropertyAxiom


Examples of org.semanticweb.owlapi.model.OWLPropertyAxiom

        assertEquals(axA, axB);
    }

    @Test
    public void testEqualsNegativeObjectSymmetric() {
        OWLPropertyAxiom axA = testSubject
                .getOWLSymmetricObjectPropertyAxiom(OP(IRI()));
        OWLPropertyAxiom axB = testSubject
                .getOWLSymmetricObjectPropertyAxiom(OP(IRI()));
        assertFalse(axA.equals(axB));
    }
View Full Code Here

Examples of org.semanticweb.owlapi.model.OWLPropertyAxiom

    }

    @Test
    public void testHashCodeObjectSymmetric() {
        OWLObjectProperty prop = OP(IRI());
        OWLPropertyAxiom axA = testSubject
                .getOWLSymmetricObjectPropertyAxiom(prop);
        OWLPropertyAxiom axB = testSubject
                .getOWLSymmetricObjectPropertyAxiom(prop);
        assertEquals(axA.hashCode(), axB.hashCode());
    }
View Full Code Here

Examples of org.semanticweb.owlapi.model.OWLPropertyAxiom

        assertEquals(axA.hashCode(), axB.hashCode());
    }

    @Test
    public void testCreationObjectTransitive() {
        OWLPropertyAxiom axiom = testSubject
                .getOWLTransitiveObjectPropertyAxiom(OP(IRI()));
        assertNotNull(axiom);
    }
View Full Code Here

Examples of org.semanticweb.owlapi.model.OWLPropertyAxiom

    }

    @Test
    public void testEqualsPositiveObjectTransitive() {
        OWLObjectProperty prop = OP(IRI());
        OWLPropertyAxiom axA = testSubject
                .getOWLTransitiveObjectPropertyAxiom(prop);
        OWLPropertyAxiom axB = testSubject
                .getOWLTransitiveObjectPropertyAxiom(prop);
        assertEquals(axA, axB);
    }
View Full Code Here

Examples of org.semanticweb.owlapi.model.OWLPropertyAxiom

        assertEquals(axA, axB);
    }

    @Test
    public void testEqualsNegativeObjectTransitive() {
        OWLPropertyAxiom axA = testSubject
                .getOWLTransitiveObjectPropertyAxiom(OP(IRI()));
        OWLPropertyAxiom axB = testSubject
                .getOWLTransitiveObjectPropertyAxiom(OP(IRI()));
        assertFalse(axA.equals(axB));
    }
View Full Code Here

Examples of org.semanticweb.owlapi.model.OWLPropertyAxiom

    }

    @Test
    public void testHashCodeObjectTransitive() {
        OWLObjectProperty prop = OP(IRI());
        OWLPropertyAxiom axA = testSubject
                .getOWLTransitiveObjectPropertyAxiom(prop);
        OWLPropertyAxiom axB = testSubject
                .getOWLTransitiveObjectPropertyAxiom(prop);
        assertEquals(axA.hashCode(), axB.hashCode());
    }
View Full Code Here

Examples of org.semanticweb.owlapi.model.OWLPropertyAxiom

        assertEquals(axA.hashCode(), axB.hashCode());
    }

    @Test
    public void testCreationObjectFunctional() {
        OWLPropertyAxiom axiom = testSubject
                .getOWLFunctionalObjectPropertyAxiom(OP(IRI()));
        assertNotNull(axiom);
    }
View Full Code Here

Examples of org.semanticweb.owlapi.model.OWLPropertyAxiom

    }

    @Test
    public void testEqualsPositiveObjectFunctional() {
        OWLObjectProperty prop = OP(IRI());
        OWLPropertyAxiom axA = testSubject
                .getOWLFunctionalObjectPropertyAxiom(prop);
        OWLPropertyAxiom axB = testSubject
                .getOWLFunctionalObjectPropertyAxiom(prop);
        assertEquals(axA, axB);
    }
View Full Code Here

Examples of org.semanticweb.owlapi.model.OWLPropertyAxiom

        assertEquals(axA, axB);
    }

    @Test
    public void testEqualsNegativeObjectFunctional() {
        OWLPropertyAxiom axA = testSubject
                .getOWLFunctionalObjectPropertyAxiom(OP(IRI()));
        OWLPropertyAxiom axB = testSubject
                .getOWLFunctionalObjectPropertyAxiom(OP(IRI()));
        assertFalse(axA.equals(axB));
    }
View Full Code Here

Examples of org.semanticweb.owlapi.model.OWLPropertyAxiom

    }

    @Test
    public void testHashCodeObjectFunctional() {
        OWLObjectProperty prop = OP(IRI());
        OWLPropertyAxiom axA = testSubject
                .getOWLFunctionalObjectPropertyAxiom(prop);
        OWLPropertyAxiom axB = testSubject
                .getOWLFunctionalObjectPropertyAxiom(prop);
        assertEquals(axA.hashCode(), axB.hashCode());
    }
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.