Skip to content

Commit

Permalink
revert more
Browse files Browse the repository at this point in the history
  • Loading branch information
BalduinLandolt committed Dec 22, 2024
1 parent 271bad2 commit 88ca9f5
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1977,11 +1977,10 @@ final case class OntologyResponderV2(
// Check for rdfs:subPropertyOf cycles.

allKnoraSuperPropertyIrisWithoutSelf: Set[SmartIri] = knoraSuperProperties.flatMap { superPropertyIri =>
cacheData
.getSuperPropertiesOf(superPropertyIri)
.getOrElse(
Set.empty[SmartIri],
)
cacheData.subPropertyOfRelations.getOrElse(
superPropertyIri,
Set.empty[SmartIri],
)
}

_ <- ZIO.when(allKnoraSuperPropertyIrisWithoutSelf.contains(internalPropertyIri)) {
Expand Down

0 comments on commit 88ca9f5

Please sign in to comment.