Skip to content

Commit

Permalink
Code formating
Browse files Browse the repository at this point in the history
  • Loading branch information
white-gecko committed Jun 9, 2022
1 parent 34d9280 commit 821e12d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion shaclgen/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ def __init__(self, graph: Graph, prefixes=None):
for prefix, namespace in json.load(fin).items():
self.namespaces.bind(prefix, namespace)


def extract_props(self):
properties = []
self.PROPS = {}
Expand Down
1 change: 0 additions & 1 deletion shaclgen/shaclgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ def __init__(self, graph: Graph, prefixes=None):
for prefix, namespace in json.load(fin).items():
self.namespaces.bind(prefix, namespace)


def extract_classes(self):
types_query = "select distinct ?class_ { ?s rdf:type ?class_ }"
for row in self.G.query(types_query, initNs={"rdf": RDF}):
Expand Down

0 comments on commit 821e12d

Please sign in to comment.