Skip to content

Commit

Permalink
removed namespace_manager
Browse files Browse the repository at this point in the history
  • Loading branch information
bernd-mueller committed Nov 6, 2024
1 parent 9d973b3 commit 7389a2a
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/process_profile_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,23 +66,6 @@ def generate_rdf_for_profile(self, profile_name, label, comment, publisher, is_p
# Loading JSON-LD from repository as graph using rdflib
g = Graph()

# namespace_manager = NamespaceManager(Graph(), bind_namespaces="none")
# namespace_manager.reset()
# namespace_manager.bind("bioschemas", bioschemas)
# namespace_manager.bind("prof", prof)
# namespace_manager.bind("role", role)
# namespace_manager.bind("schema", schema)

# namespace_manager.bind("rdf", rdf)
# namespace_manager.bind("rdfs", rdfs)
# namespace_manager.bind("owl", owl)
# namespace_manager.bind("dcterms", dcterms)

# for n in namespace_manager.namespaces():
# print(n)

# g.namespace_manager = namespace_manager

g.parse(source=f, format="application/ld+json")


Expand Down

0 comments on commit 7389a2a

Please sign in to comment.