Skip to content
This repository was archived by the owner on Oct 8, 2020. It is now read-only.

Commit fbd71e7

Browse files
return all axioms also for the RDFS reasoner
1 parent 0e44c41 commit fbd71e7

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

sansa-inference-spark/src/main/scala/net/sansa_stack/inference/spark/forwardchaining/axioms/ForwardRuleReasonerRDFS.scala

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -289,12 +289,13 @@ class ForwardRuleReasonerRDFS(sc: SparkContext, parallelism: Int = 2) extends Lo
289289
.distinct(parallelism)
290290
.setName("typeAxioms + sameAsAxioms + SPOAxioms")
291291

292-
val infered = allAxioms.subtract(axioms)
293-
val inferedCount = infered.count()
292+
val inferred = allAxioms.subtract(axioms)
293+
val inferredCount = inferred.count()
294294

295-
println("Finished with " + inferedCount + " inferred axioms")
296-
infered
295+
log.info(s"Finished with $inferredCount inferred axioms")
297296

297+
// inferred
298+
allAxioms
298299
}
299300

300301
def extractAxiom(axiom: RDD[OWLAxiom], T: AxiomType[_]): RDD[OWLAxiom] = {

0 commit comments

Comments
 (0)