From 17285895dec47f4ca05590c861a7e8ef6f595c0c Mon Sep 17 00:00:00 2001 From: Federico Igne Date: Tue, 8 Dec 2020 13:09:09 +0000 Subject: Remove (forced) materialization This is a useless call since RDFox automatically materialize it's datasets when committing a transactions. Since loading rules/facts uses an internal transaction internally, these materialization calls do nothing. It will be still usefull when operating inside transactions. --- src/main/scala/uk/ac/ox/cs/rsacomb/RSAOntology.scala | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') diff --git a/src/main/scala/uk/ac/ox/cs/rsacomb/RSAOntology.scala b/src/main/scala/uk/ac/ox/cs/rsacomb/RSAOntology.scala index 6a34555..79f2ef3 100644 --- a/src/main/scala/uk/ac/ox/cs/rsacomb/RSAOntology.scala +++ b/src/main/scala/uk/ac/ox/cs/rsacomb/RSAOntology.scala @@ -351,7 +351,6 @@ class RSAOntology(val ontology: OWLOntology) { Logger print s"Canonical model: ${canon.facts.length} facts" RDFoxUtil.addFacts(data, this.canonicalModel.facts) - RDFoxUtil materialize data RDFoxUtil printStatisticsFor data Logger print s"Filtering program: ${filter.rules.length} rules" @@ -360,7 +359,6 @@ class RSAOntology(val ontology: OWLOntology) { Logger print s"Filtering program: ${filter.facts.length} facts" RDFoxUtil.addFacts(data, filter.facts) - RDFoxUtil materialize data RDFoxUtil printStatisticsFor data val answers = { -- cgit v1.2.3