From 821e12d7d776aa3c984f27630fad68ae876fea53 Mon Sep 17 00:00:00 2001 From: Natanael Arndt Date: Thu, 9 Jun 2022 20:07:10 +0200 Subject: [PATCH] Code formating --- shaclgen/schema.py | 1 - shaclgen/shaclgen.py | 1 - 2 files changed, 2 deletions(-) diff --git a/shaclgen/schema.py b/shaclgen/schema.py index a65c20d..6025c05 100644 --- a/shaclgen/schema.py +++ b/shaclgen/schema.py @@ -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 = {} diff --git a/shaclgen/shaclgen.py b/shaclgen/shaclgen.py index 211e96b..5b43e70 100644 --- a/shaclgen/shaclgen.py +++ b/shaclgen/shaclgen.py @@ -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}):