diff options
Diffstat (limited to 'src/main/scala/uk/ac/ox/cs/rsacomb/converter')
-rw-r--r-- | src/main/scala/uk/ac/ox/cs/rsacomb/converter/Normalizer.scala | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/main/scala/uk/ac/ox/cs/rsacomb/converter/Normalizer.scala b/src/main/scala/uk/ac/ox/cs/rsacomb/converter/Normalizer.scala index 205c369..5329f26 100644 --- a/src/main/scala/uk/ac/ox/cs/rsacomb/converter/Normalizer.scala +++ b/src/main/scala/uk/ac/ox/cs/rsacomb/converter/Normalizer.scala | |||
@@ -401,6 +401,10 @@ class Normalizer() { | |||
401 | factory.getOWLNothing | 401 | factory.getOWLNothing |
402 | ) | 402 | ) |
403 | ) | 403 | ) |
404 | /** Self-restriction over an object property */ | ||
405 | case (sub: OWLObjectHasSelf, _) => notInHornALCHOIQ(a) | ||
406 | case (_, sup: OWLObjectHasSelf) => notInHornALCHOIQ(a) | ||
407 | |||
404 | /** Axiom is already normalized */ | 408 | /** Axiom is already normalized */ |
405 | case _ => Seq(a) | 409 | case _ => Seq(a) |
406 | } | 410 | } |
@@ -507,7 +511,7 @@ class Normalizer() { | |||
507 | 511 | ||
508 | /** Unsupported */ | 512 | /** Unsupported */ |
509 | 513 | ||
510 | case a: OWLAsymmetricObjectPropertyAxiom => notSupported(a) | 514 | case a: OWLAsymmetricObjectPropertyAxiom => notInHornALCHOIQ(a) |
511 | 515 | ||
512 | case a: OWLDatatypeDefinitionAxiom => notSupported(a) | 516 | case a: OWLDatatypeDefinitionAxiom => notSupported(a) |
513 | 517 | ||
@@ -577,7 +581,10 @@ class Normalizer() { | |||
577 | ): Seq[OWLLogicalAxiom] = { | 581 | ): Seq[OWLLogicalAxiom] = { |
578 | /* Update statistics */ | 582 | /* Update statistics */ |
579 | discarded += 1 | 583 | discarded += 1 |
580 | Logger print s"'$axiom' has been ignored because it is not in Horn-ALCHOIQ" | 584 | Logger.print( |
585 | s"'$axiom' has been ignored because it is not in Horn-ALCHOIQ", | ||
586 | Logger.VERBOSE | ||
587 | ) | ||
581 | Seq() | 588 | Seq() |
582 | } | 589 | } |
583 | 590 | ||