Package org.semanticweb.owlapi.model

Examples of org.semanticweb.owlapi.model.OWLObject


        // given
        OWLDeclarationAxiom expected = df.getOWLDeclarationAxiom(ce,
                annotations);
        BuilderDeclaration builder = new BuilderDeclaration(expected, df);
        // when
        OWLObject built = builder.buildObject();
        // then
        assertEquals(expected, built);
    }
View Full Code Here


                .getOWLDifferentIndividualsAxiom(i,
                        df.getOWLNamedIndividual(iri));
        BuilderDifferentIndividuals builder = new BuilderDifferentIndividuals(
                expected, df);
        // when
        OWLObject built = builder.buildObject();
        // then
        assertEquals(expected, built);
    }
View Full Code Here

        OWLDisjointClassesAxiom expected = df.getOWLDisjointClassesAxiom(ce,
                df.getOWLClass(iri));
        BuilderDisjointClasses builder = new BuilderDisjointClasses(expected,
                df);
        // when
        OWLObject built = builder.buildObject();
        // then
        assertEquals(expected, built);
    }
View Full Code Here

        OWLDisjointDataPropertiesAxiom expected = df
                .getOWLDisjointDataPropertiesAxiom(dps, annotations);
        BuilderDisjointDataProperties builder = new BuilderDisjointDataProperties(
                expected, df);
        // when
        OWLObject built = builder.buildObject();
        // then
        assertEquals(expected, built);
    }
View Full Code Here

        OWLDisjointObjectPropertiesAxiom expected = df
                .getOWLDisjointObjectPropertiesAxiom(ops, annotations);
        BuilderDisjointObjectProperties builder = new BuilderDisjointObjectProperties(
                expected, df);
        // when
        OWLObject built = builder.buildObject();
        // then
        assertEquals(expected, built);
    }
View Full Code Here

        // given
        OWLDisjointUnionAxiom expected = df.getOWLDisjointUnionAxiom(ce,
                classes, annotations);
        BuilderDisjointUnion builder = new BuilderDisjointUnion(expected, df);
        // when
        OWLObject built = builder.buildObject();
        // then
        assertEquals(expected, built);
    }
View Full Code Here

    public void shouldBuildEntity() {
        // given
        OWLClass expected = df.getOWLClass(iri);
        BuilderEntity builder = new BuilderEntity(expected, df);
        // when
        OWLObject built = builder.buildObject();
        // then
        assertEquals(expected, built);
    }
View Full Code Here

        OWLEquivalentClassesAxiom expected = df.getOWLEquivalentClassesAxiom(
                classes, annotations);
        BuilderEquivalentClasses builder = new BuilderEquivalentClasses(
                expected, df);
        // when
        OWLObject built = builder.buildObject();
        // then
        assertEquals(expected, built);
    }
View Full Code Here

        OWLEquivalentDataPropertiesAxiom expected = df
                .getOWLEquivalentDataPropertiesAxiom(dps, annotations);
        BuilderEquivalentDataProperties builder = new BuilderEquivalentDataProperties(
                expected, df);
        // when
        OWLObject built = builder.buildObject();
        // then
        assertEquals(expected, built);
    }
View Full Code Here

        OWLEquivalentObjectPropertiesAxiom expected = df
                .getOWLEquivalentObjectPropertiesAxiom(ops, annotations);
        BuilderEquivalentObjectProperties builder = new BuilderEquivalentObjectProperties(
                expected, df);
        // when
        OWLObject built = builder.buildObject();
        // then
        assertEquals(expected, built);
    }
View Full Code Here

TOP

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

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.