diff options
Diffstat (limited to 'src/main/scala/rsacomb/RSAOntology.scala')
-rw-r--r-- | src/main/scala/rsacomb/RSAOntology.scala | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/scala/rsacomb/RSAOntology.scala b/src/main/scala/rsacomb/RSAOntology.scala index 9e45c28..b410bf0 100644 --- a/src/main/scala/rsacomb/RSAOntology.scala +++ b/src/main/scala/rsacomb/RSAOntology.scala | |||
@@ -301,8 +301,12 @@ trait RSAOntology { | |||
301 | .asScala | 301 | .asScala |
302 | for { | 302 | for { |
303 | axiom1 <- tbox | 303 | axiom1 <- tbox |
304 | // TODO: is this an optimization or an error? | ||
304 | if axiom1.isT5 | 305 | if axiom1.isT5 |
305 | roleS <- axiom1.objectPropertyExpressionsInSignature // Just 1 | 306 | // We expect only one role coming out of a T5 axiom |
307 | roleS <- axiom1.objectPropertyExpressionsInSignature | ||
308 | // Triples ordering is among triples involving safe roles. | ||
309 | if !unsafeRoles.contains(roleS) | ||
306 | if conflR.contains(roleS) | 310 | if conflR.contains(roleS) |
307 | individual = | 311 | individual = |
308 | if (axiom.hashCode < axiom1.hashCode) { | 312 | if (axiom.hashCode < axiom1.hashCode) { |