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}):