diff options
Diffstat (limited to 'src/main/scala/rsacomb')
| -rw-r--r-- | src/main/scala/rsacomb/RSAOntology.scala | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/main/scala/rsacomb/RSAOntology.scala b/src/main/scala/rsacomb/RSAOntology.scala index 23c9e06..30ebd3a 100644 --- a/src/main/scala/rsacomb/RSAOntology.scala +++ b/src/main/scala/rsacomb/RSAOntology.scala | |||
| @@ -30,6 +30,13 @@ trait RSAOntology { | |||
| 30 | */ | 30 | */ |
| 31 | implicit class RSAOntology(ontology: OWLOntology) extends RSAAxiom { | 31 | implicit class RSAOntology(ontology: OWLOntology) extends RSAAxiom { |
| 32 | 32 | ||
| 33 | /* TDOO: implement method to retrieve all ontology named individuals | ||
| 34 | */ | ||
| 35 | lazy val individuals: List[IRI] = { | ||
| 36 | //ontology.getIndividualsInSignature().asScala.map(_.getIRI).toList | ||
| 37 | List() | ||
| 38 | } | ||
| 39 | |||
| 33 | /* Steps for RSA check | 40 | /* Steps for RSA check |
| 34 | * 1) convert ontology axioms into LP rules | 41 | * 1) convert ontology axioms into LP rules |
| 35 | * 2) call RDFox on the onto and compute materialization | 42 | * 2) call RDFox on the onto and compute materialization |
| @@ -39,7 +46,7 @@ trait RSAOntology { | |||
| 39 | * why the ontology might not be RSA. This could help a second | 46 | * why the ontology might not be RSA. This could help a second |
| 40 | * step of approximation of an Horn-ALCHOIQ to RSA | 47 | * step of approximation of an Horn-ALCHOIQ to RSA |
| 41 | */ | 48 | */ |
| 42 | def isRSA: Boolean = { | 49 | lazy val isRSA: Boolean = { |
| 43 | 50 | ||
| 44 | val tbox = ontology.tboxAxioms(Imports.INCLUDED) | 51 | val tbox = ontology.tboxAxioms(Imports.INCLUDED) |
| 45 | val rbox = ontology.rboxAxioms(Imports.INCLUDED) | 52 | val rbox = ontology.rboxAxioms(Imports.INCLUDED) |
