Lines Matching refs:ontModel

148             ontModel.add(r, RDF.type, OWL.Class);

162 ontModel.add(r, RDF.type, OWL.ObjectProperty);
176 ontModel.add(r, RDF.type, OWL.DatatypeProperty);
199 Resource r = ontModel.createResource();
200 ontModel.add(r, RDF.type, (Resource) c.getImplementation());
209 ontModel.add(r, RDF.type, (Resource) c.getImplementation());
217 return new OWLDataValueImpl(ontModel.createLiteral(value));
221 return new OWLDataValueImpl(ontModel.createLiteral(value, language));
226 return new OWLDataValueImpl(ontModel.createLiteral(value.toString(), true));
228 return new OWLDataValueImpl(ontModel.createTypedLiteral(value, datatypeURI.toString()));
235 return new OWLDataValueImpl(ontModel.createTypedLiteral(value, XSDDatatype.XSDanyURI));
237 return new OWLDataValueImpl(ontModel.createTypedLiteral(value));
311 ontResource = new OWLIndividualImpl(this, ontModel.getResource(uri.toString()));
327 ontModel.rebind();
344 ontModel.remove(ontModel.listStatements(subject, predicate, (Literal) null));
345 ontModel.add(subject, predicate, object);
359 ontModel.add(
379 ontModel.remove(ontModel.listStatements(subject, predicate, (Resource) null));
389 Statement stmt = ontModel.createStatement(subject,predicate,object);
391 ontModel.remove(stmt);
397 ontModel.add(
409 ontModel.remove(ontModel.listStatements(subject, predicate, (Resource) null));
410 ontModel.add(subject, predicate, object);
416 ontModel.add(
426 ontModel.remove(ontModel.listStatements(subject, RDF.type, (Resource) null));
514 StmtIterator stmtiter = ontModel.listStatements(resource, (Property) null, (RDFNode) null);
515 ontModel.remove(stmtiter);
518 stmtiter = ontModel.listStatements((Resource) null, (Property) null, (RDFNode) resource);
519 ontModel.remove(stmtiter);
610 return getAllClasses(ontModel.listClasses(), this);