Package org.semanticweb.owlapi.model

Examples of org.semanticweb.owlapi.model.OWLObject


        OWLObjectPropertyAssertionAxiom expected = df
                .getOWLObjectPropertyAssertionAxiom(op, i, i, annotations);
        BuilderObjectPropertyAssertion builder = new BuilderObjectPropertyAssertion(
                expected, df);
        // when
        OWLObject built = builder.buildObject();
        // then
        assertEquals(expected, built);
    }
View Full Code Here


        OWLObjectPropertyDomainAxiom expected = df
                .getOWLObjectPropertyDomainAxiom(op, ce, annotations);
        BuilderObjectPropertyDomain builder = new BuilderObjectPropertyDomain(
                expected, df);
        // when
        OWLObject built = builder.buildObject();
        // then
        assertEquals(expected, built);
    }
View Full Code Here

        OWLObjectPropertyRangeAxiom expected = df
                .getOWLObjectPropertyRangeAxiom(op, ce, annotations);
        BuilderObjectPropertyRange builder = new BuilderObjectPropertyRange(
                expected, df);
        // when
        OWLObject built = builder.buildObject();
        // then
        assertEquals(expected, built);
    }
View Full Code Here

        OWLObjectSomeValuesFrom expected = df
                .getOWLObjectSomeValuesFrom(op, ce);
        BuilderObjectSomeValuesFrom builder = new BuilderObjectSomeValuesFrom(
                expected, df);
        // when
        OWLObject built = builder.buildObject();
        // then
        assertEquals(expected, built);
    }
View Full Code Here

    public void shouldBuildOneOf() {
        // given
        OWLObjectOneOf expected = df.getOWLObjectOneOf(i);
        BuilderOneOf builder = new BuilderOneOf(expected, df);
        // when
        OWLObject built = builder.buildObject();
        // then
        assertEquals(expected, built);
    }
View Full Code Here

        List<OWLObjectProperty> chain = new ArrayList<>(ops);
        OWLSubPropertyChainOfAxiom expected = df.getOWLSubPropertyChainOfAxiom(
                chain, op, annotations);
        BuilderPropertyChain builder = new BuilderPropertyChain(expected, df);
        // when
        OWLObject built = builder.buildObject();
        // then
        assertEquals(expected, built);
    }
View Full Code Here

        OWLReflexiveObjectPropertyAxiom expected = df
                .getOWLReflexiveObjectPropertyAxiom(op, annotations);
        BuilderReflexiveObjectProperty builder = new BuilderReflexiveObjectProperty(
                expected, df);
        // when
        OWLObject built = builder.buildObject();
        // then
        assertEquals(expected, built);
    }
View Full Code Here

        // given
        OWLSameIndividualAxiom expected = df.getOWLSameIndividualAxiom(inds,
                annotations);
        BuilderSameIndividual builder = new BuilderSameIndividual(expected, df);
        // when
        OWLObject built = builder.buildObject();
        // then
        assertEquals(expected, built);
    }
View Full Code Here

                .getOWLSubAnnotationPropertyOfAxiom(ap, df.getRDFSLabel(),
                        annotations);
        BuilderSubAnnotationPropertyOf builder = new BuilderSubAnnotationPropertyOf(
                expected, df);
        // when
        OWLObject built = builder.buildObject();
        // then
        assertEquals(expected, built);
    }
View Full Code Here

        // given
        OWLSubClassOfAxiom expected = df.getOWLSubClassOfAxiom(ce,
                df.getOWLThing(), annotations);
        BuilderSubClass builder = new BuilderSubClass(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.