Examples of OWLPropertyAxiom


Examples of org.semanticweb.owlapi.model.OWLPropertyAxiom

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

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

Examples of org.semanticweb.owlapi.model.OWLPropertyAxiom

    }

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

Examples of org.semanticweb.owlapi.model.OWLPropertyAxiom

        assertEquals(axA, axB);
    }

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

Examples of org.semanticweb.owlapi.model.OWLPropertyAxiom

    }

    @Test
    public void testHashCodeObjectIrreflexive() {
        OWLObjectProperty prop = OP(IRI());
        OWLPropertyAxiom axA = testSubject
                .getOWLIrreflexiveObjectPropertyAxiom(prop);
        OWLPropertyAxiom axB = testSubject
                .getOWLIrreflexiveObjectPropertyAxiom(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 testCreationObjectReflexive() {
        OWLPropertyAxiom axiom = testSubject
                .getOWLReflexiveObjectPropertyAxiom(OP(IRI()));
        assertNotNull(axiom);
    }
View Full Code Here

Examples of org.semanticweb.owlapi.model.OWLPropertyAxiom

    }

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

Examples of org.semanticweb.owlapi.model.OWLPropertyAxiom

        assertEquals(axA, axB);
    }

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

Examples of org.semanticweb.owlapi.model.OWLPropertyAxiom

    }

    @Test
    public void testHashCodeObjectReflexive() {
        OWLObjectProperty prop = OP(IRI());
        OWLPropertyAxiom axA = testSubject
                .getOWLReflexiveObjectPropertyAxiom(prop);
        OWLPropertyAxiom axB = testSubject
                .getOWLReflexiveObjectPropertyAxiom(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 testCreationObjectSymmetric() {
        OWLPropertyAxiom axiom = testSubject
                .getOWLSymmetricObjectPropertyAxiom(OP(IRI()));
        assertNotNull(axiom);
    }
View Full Code Here

Examples of org.semanticweb.owlapi.model.OWLPropertyAxiom

    }

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