public OWLSIndividual(String baseURL, String name, OWLSModel owlsModel) { setURI(baseURL, name); model = owlsModel; model.createOntology(fullURL); model.addImportsToOntology(); setProperties(); }
public String toString() { StringWriter wtr = new StringWriter(); model.getOntology().write(wtr, model.getOntology().getURI()); String rdfString = wtr.toString(); return rdfString; }