Examples of OWLInverseFunctionalObjectPropertyAxiom


Examples of org.semanticweb.owlapi.model.OWLInverseFunctionalObjectPropertyAxiom

    }

    @Test
    public void shouldBuildInverseFunctionalObjectProperty() {
        // given
        OWLInverseFunctionalObjectPropertyAxiom expected = df
                .getOWLInverseFunctionalObjectPropertyAxiom(op, annotations);
        BuilderInverseFunctionalObjectProperty builder = new BuilderInverseFunctionalObjectProperty(
                expected, df);
        // when
        OWLObject built = builder.buildObject();
View Full Code Here

Examples of org.semanticweb.owlapi.model.OWLInverseFunctionalObjectPropertyAxiom

    @Test
    public void testInverseFunctionalObjectPropertyAxiomAccessors() {
        OWLOntology ont = getOWLOntology("ont");
        OWLObjectProperty propP = ObjectProperty(iri("p"));
        OWLOntologyManager man = ont.getOWLOntologyManager();
        OWLInverseFunctionalObjectPropertyAxiom ax = InverseFunctionalObjectProperty(propP);
        man.addAxiom(ont, ax);
        performAxiomTests(ont, ax);
        assertTrue(ont.getInverseFunctionalObjectPropertyAxioms(propP)
                .contains(ax));
        assertTrue(ont.getAxioms(propP, EXCLUDED).contains(ax));
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.