Lines Matching refs:ontModel

189     protected OntModel ontModel;

204 ontModel = ModelFactory.createOntologyModel( spec, model );
208 return ontModel;
212 return ontModel;
216 ontModel.prepare();
221 ((PelletInfGraph)ontModel.getGraph()).classify();
227 return ((PelletInfGraph)ontModel.getGraph()).isClassified();
235 return ((PelletInfGraph)ontModel.getGraph()).isConsistent();
240 // ValidityReport validation = ontModel.validate();
265 List subGraphs = ontModel.getSubGraphs();
266 Model baseModel = ontModel.getBaseModel();
268 ontModel = ModelFactory.createOntologyModel( spec, baseModel );
272 ontModel.addSubModel( wrap, false );
275 ontModel.rebind();
349 return ontModel.getResource(uri.toString());
353 return ontModel.containsResource(r);
357 return ontModel.getProperty(uri.toString());
411 Resource res = ontModel.getIndividual(uri.toString());
417 return getAllIndividuals( ontModel.listSubjects(), null );
433 if(ontModel.contains(prop, RDF.type, OWL.ObjectProperty)) {
444 if(ontModel.contains(prop, RDF.type, OWL.DatatypeProperty)) {
452 return ontModel.contains(
460 ontModel.listSubjectsWithProperty(
467 return ontModel.contains(
475 ontModel.listSubjectsWithProperty(
485 return ontModel.contains(
495 return ontModel.contains(
509 return ontModel.contains(
544 ontModel.listSubjectsWithProperty(
553 ontModel.listSubjectsWithProperty(
560 ontModel.listSubjectsWithProperty(
570 ontModel.listSubjectsWithProperty(
577 ontModel.listSubjectsWithProperty(
587 ontModel.listObjectsOfProperty(
594 ontModel.listObjectsOfProperty(
611 ontModel.listObjectsOfProperty(
619 ontModel.listSubjectsWithProperty(
627 ontModel.listSubjectsWithProperty(
638 ontModel.listObjectsOfProperty(
649 ontModel.listObjectsOfProperty(
660 ontModel.listObjectsOfProperty(
677 Iterator i = ontModel.listStatements(
742 OntResource ontRes = ontModel.getOntResource((Resource) claz.getImplementation());
779 ontModel.listObjectsOfProperty(
805 ontModel.listObjectsOfProperty(
824 ontModel.listObjectsOfProperty(
837 ontModel.listSubjectsWithProperty(
845 ontModel.listSubjectsWithProperty(
853 ontModel.listStatements(
865 ontModel.listSubjectsWithProperty(
875 ontModel.listSubjectsWithProperty(
884 return ontModel.contains(
891 return ontModel.contains(
902 res = (Resource) res.inModel(ontModel);
910 return ontModel.contains(
917 return ontModel.contains(
925 ontModel.getProperty(
1153 initialBinding.add( o.getName(), ontModel.asRDFNode( makeNode( arg1.getConstant() ) ) );
1157 initialBinding.add( s.getName(), ontModel.asRDFNode( arg2.getConstant().asNode() ) );
1176 initialBinding.add( arg1.getVarName(), ontModel.asRDFNode( makeNode( result.getConstant() ) ) );
1181 initialBinding.add( arg2.getVarName(), ontModel.asRDFNode( result.getConstant().asNode() ) );
1186 initialBinding.add( arg3.getVarName(), ontModel.asRDFNode( result.getConstant().asNode() ) );
1195 initialBinding.add( arg1.getVarName(), ontModel.asRDFNode( makeNode( result.getConstant() ) ) );
1200 initialBinding.add( arg2.getVarName(), ontModel.asRDFNode( result.getConstant().asNode() ) );
1205 initialBinding.add( arg3.getVarName(), ontModel.asRDFNode( result.getConstant().asNode() ) );
1251 return QueryExecutionFactory.create( sparql, ontModel, initialBinding );
1272 // QueryExecution qe = QueryExecutionFactory.create( sparql, ontModel );
1274 QueryExecution qe = makeJenaQuery( atoms, ontModel );
1308 // qe.setDataSet( new DataSource1( ontModel ) );
1624 ontModel.enterCriticalSection(Lock.READ);
1628 ontModel.enterCriticalSection(Lock.WRITE);
1632 ontModel.leaveCriticalSection();