diff options
author | Federico Igne <federico.igne@cs.ox.ac.uk> | 2020-12-08 13:09:09 +0000 |
---|---|---|
committer | Federico Igne <federico.igne@cs.ox.ac.uk> | 2020-12-08 13:09:09 +0000 |
commit | 17285895dec47f4ca05590c861a7e8ef6f595c0c (patch) | |
tree | 82b94731996f0ae6f1eb2c978d90aecc57dc700c /src/main/scala/uk/ac/ox/cs/rsacomb/RSAOntology.scala | |
parent | b241f9b23b225dec5ffc3f8ddd6c81771091f599 (diff) | |
download | RSAComb-17285895dec47f4ca05590c861a7e8ef6f595c0c.tar.gz RSAComb-17285895dec47f4ca05590c861a7e8ef6f595c0c.zip |
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.
Diffstat (limited to 'src/main/scala/uk/ac/ox/cs/rsacomb/RSAOntology.scala')
-rw-r--r-- | src/main/scala/uk/ac/ox/cs/rsacomb/RSAOntology.scala | 2 |
1 files changed, 0 insertions, 2 deletions
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) { | |||
351 | Logger print s"Canonical model: ${canon.facts.length} facts" | 351 | Logger print s"Canonical model: ${canon.facts.length} facts" |
352 | RDFoxUtil.addFacts(data, this.canonicalModel.facts) | 352 | RDFoxUtil.addFacts(data, this.canonicalModel.facts) |
353 | 353 | ||
354 | RDFoxUtil materialize data | ||
355 | RDFoxUtil printStatisticsFor data | 354 | RDFoxUtil printStatisticsFor data |
356 | 355 | ||
357 | Logger print s"Filtering program: ${filter.rules.length} rules" | 356 | Logger print s"Filtering program: ${filter.rules.length} rules" |
@@ -360,7 +359,6 @@ class RSAOntology(val ontology: OWLOntology) { | |||
360 | Logger print s"Filtering program: ${filter.facts.length} facts" | 359 | Logger print s"Filtering program: ${filter.facts.length} facts" |
361 | RDFoxUtil.addFacts(data, filter.facts) | 360 | RDFoxUtil.addFacts(data, filter.facts) |
362 | 361 | ||
363 | RDFoxUtil materialize data | ||
364 | RDFoxUtil printStatisticsFor data | 362 | RDFoxUtil printStatisticsFor data |
365 | 363 | ||
366 | val answers = { | 364 | val answers = { |