Ejemplo n.º 1
0
  public OWLSIndividual(String baseURL, String name, OWLSModel owlsModel) {
    setURI(baseURL, name);

    model = owlsModel;
    model.createOntology(fullURL);
    model.addImportsToOntology();

    setProperties();
  }
Ejemplo n.º 2
0
 public String toString() {
   StringWriter wtr = new StringWriter();
   model.getOntology().write(wtr, model.getOntology().getURI());
   String rdfString = wtr.toString();
   return rdfString;
 }