Examples of OntologySpaceFactoryImpl


Examples of org.apache.stanbol.ontologymanager.ontonet.impl.clerezza.OntologySpaceFactoryImpl

        OWLDataFactory df = OWLManager.getOWLDataFactory();
        OWLClass cHuman = df.getOWLClass(IRI.create(baseIri + "/" + Constants.humanBeing));
        OWLIndividual iLinus = df.getOWLNamedIndividual(IRI.create(baseIri + "/" + Constants.linus));
        linusIsHuman = df.getOWLClassAssertionAxiom(cHuman, iLinus);

        factory = new OntologySpaceFactoryImpl(reg, new ClerezzaOntologyProvider(tcManager, offline, parser),
                offline, IRI.create("http://stanbol.apache.org/ontology/"));
    }
View Full Code Here

Examples of org.apache.stanbol.ontologymanager.ontonet.impl.clerezza.OntologySpaceFactoryImpl

    }

    protected void bindResources() {
        IRI ns = IRI.create(getOntologyNetworkNamespace());
        if (ontologyProvider.getStore() instanceof TcProvider) ontologySpaceFactory = new OntologySpaceFactoryImpl(
                scopeRegistry, (OntologyProvider<TcProvider>) ontologyProvider, offline,
                IRI.create(ns + scopeRegistryId + "/"));
        else ontologySpaceFactory = new org.apache.stanbol.ontologymanager.ontonet.impl.owlapi.OntologySpaceFactoryImpl(
                scopeRegistry, offline, ns);
        IRI iri = IRI.create(ns + scopeRegistryId + "/");
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.