Skip to content

Commit

Permalink
changed iteration to previous version
Browse files Browse the repository at this point in the history
  • Loading branch information
bernd-mueller committed Sep 27, 2024
1 parent abee657 commit 9015da0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/profile_generation_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -589,14 +589,14 @@ def generate_types_cardianlity(g, prop):

external_properties = []
data_length = len(data)
for g in range(data_length):
#for g in data["@graph"]:
# for g in range(data_length):
for g in data["@graph"]:
if int(g) != g:
if g["@type"] == "rdf:Property":
external_properties.append(g["@id"])

for g in range(data_length):
# for g in data["@graph"]:
# for g in range(data_length):
for g in data["@graph"]:
if int(g) != g:
if g["@type"] == "rdfs:Class":
print(
Expand Down

0 comments on commit 9015da0

Please sign in to comment.