Replace the other instance where the reinferencer was going through a serialisation that could easily be a direct write into a model.
This commit is contained in:
parent
1832bba831
commit
25874449dd
1 changed files with 4 additions and 4 deletions
|
@ -274,10 +274,10 @@ public class ABoxRecomputer {
|
||||||
" } \n" +
|
" } \n" +
|
||||||
" FILTER (?g != <" + ModelNames.ABOX_INFERENCES + ">)\n" +
|
" FILTER (?g != <" + ModelNames.ABOX_INFERENCES + ">)\n" +
|
||||||
"} \n";
|
"} \n";
|
||||||
return RDFServiceUtils.parseModel(
|
|
||||||
rdfService.sparqlConstructQuery(
|
Model model = ModelFactory.createDefaultModel();
|
||||||
queryStr, RDFService.ModelSerializationFormat.N3)
|
rdfService.sparqlConstructQuery(queryStr, model);
|
||||||
, RDFService.ModelSerializationFormat.N3);
|
return model;
|
||||||
}
|
}
|
||||||
|
|
||||||
private Model getInferredTypes(Resource individual, Model assertedTypes, TypeCaches caches) {
|
private Model getInferredTypes(Resource individual, Model assertedTypes, TypeCaches caches) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue