Examples of toStringId()


Examples of org.semanticweb.owlapi.model.OWLDataProperty.toStringID()

                        push(new Datatype(f, Operator.EQUALS, lit));
                    } else {
                        problems.add("Axiom " + e + " will be ignored because of the unsupported literal.");
                    }
                } else if(range instanceof OWLDatatypeRestriction) {
                    NamedFeature f = new NamedFeature(dp.toStringID());
                   
                    OWLDatatypeRestriction dtr = (OWLDatatypeRestriction)range;
                    Set<OWLFacetRestriction> frs = dtr.getFacetRestrictions();
                   
                    List<Datatype> conjuncts = new ArrayList<Datatype>();
View Full Code Here

Examples of org.semanticweb.owlapi.model.OWLIndividual.toStringID()

        Vector<IRI> recipe = new Vector();
        OWLClass recipeclas = factory.getOWLClass(IRI.create(owlIDrmi + "Recipe"));
        Iterator<OWLIndividual> indaxiom = recipeclas.getIndividuals(owlmodel).iterator();
        while(indaxiom.hasNext()){
            OWLIndividual axind = indaxiom.next();
                recipe.add(IRI.create(axind.toStringID()));
        }

        return(recipe);
    }
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.