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

Commit

Permalink
return all axioms also for the RDFS reasoner
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenzBuehmann committed Jun 28, 2019
1 parent 0e44c41 commit fbd71e7
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -289,12 +289,13 @@ class ForwardRuleReasonerRDFS(sc: SparkContext, parallelism: Int = 2) extends Lo
.distinct(parallelism)
.setName("typeAxioms + sameAsAxioms + SPOAxioms")

val infered = allAxioms.subtract(axioms)
val inferedCount = infered.count()
val inferred = allAxioms.subtract(axioms)
val inferredCount = inferred.count()

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

// inferred
allAxioms
}

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

0 comments on commit fbd71e7

Please sign in to comment.