diff --git a/.github/workflows/profile_generation_script.py b/.github/workflows/profile_generation_script.py index a264bf3..828335d 100644 --- a/.github/workflows/profile_generation_script.py +++ b/.github/workflows/profile_generation_script.py @@ -597,13 +597,14 @@ def generate_types_cardianlity(g, prop): for g in range(data_length): # for g in data["@graph"]: - if g["@type"] == "rdfs:Class": - print( - Fore.BLUE - + Style.BRIGHT - + f'Profile : {g["@id"]}' - + Style.RESET_ALL - ) + if int(g) != g: + if g["@type"] == "rdfs:Class": + print( + Fore.BLUE + + Style.BRIGHT + + f'Profile : {g["@id"]}' + + Style.RESET_ALL + ) # Dictionary of all external definitions dict_definitions = dict() diff --git a/MolecularEntity/jsonld/MolecularEntity_v0.5-RELEASE.json b/MolecularEntity/jsonld/MolecularEntity_v0.5-RELEASE.json index f29987e..61cf8da 100644 --- a/MolecularEntity/jsonld/MolecularEntity_v0.5-RELEASE.json +++ b/MolecularEntity/jsonld/MolecularEntity_v0.5-RELEASE.json @@ -1,4 +1,4 @@ -{ +{ "@context": { "schema": "http://schema.org/", "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",