aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/scala/rsacomb/RSAOntology.scala11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/main/scala/rsacomb/RSAOntology.scala b/src/main/scala/rsacomb/RSAOntology.scala
index 8d6fe8c..e273dc5 100644
--- a/src/main/scala/rsacomb/RSAOntology.scala
+++ b/src/main/scala/rsacomb/RSAOntology.scala
@@ -47,7 +47,7 @@ trait RSAOntology {
47 */ 47 */
48 implicit class RSAOntology(ontology: OWLOntology) extends RSAAxiom { 48 implicit class RSAOntology(ontology: OWLOntology) extends RSAAxiom {
49 49
50 // Gather TBox+RBox from original ontology 50 // Gather TBox/RBox/ABox from original ontology
51 lazy val tbox: List[OWLAxiom] = 51 lazy val tbox: List[OWLAxiom] =
52 ontology 52 ontology
53 .tboxAxioms(Imports.INCLUDED) 53 .tboxAxioms(Imports.INCLUDED)
@@ -62,7 +62,14 @@ trait RSAOntology {
62 .asScala 62 .asScala
63 .toList 63 .toList
64 64
65 lazy val axioms: List[OWLAxiom] = tbox ++ rbox 65 lazy val abox: List[OWLAxiom] =
66 ontology
67 .aboxAxioms(Imports.INCLUDED)
68 .collect(Collectors.toList())
69 .asScala
70 .toList
71
72 lazy val axioms: List[OWLAxiom] = abox ++ tbox ++ rbox
66 73
67 /* Retrieve individuals in the original ontology 74 /* Retrieve individuals in the original ontology
68 */ 75 */