diff --git a/bricksrc/quantities.py b/bricksrc/quantities.py index 06f31f9c..6b50c44f 100644 --- a/bricksrc/quantities.py +++ b/bricksrc/quantities.py @@ -1,9 +1,9 @@ from brickschema.graph import Graph from ontoenv import OntoEnv from rdflib import Literal, URIRef -from .namespaces import SKOS, OWL, RDFS, BRICK, QUDTQK, QUDTDV, QUDT, UNIT +from .namespaces import SKOS, RDFS, BRICK, QUDTQK, QUDTDV, QUDT, UNIT -env = OntoEnv(initialize=True) +env = OntoEnv(initialize=True, search_dirs=["support/"]) g = Graph() g.load_file("support/VOCAB_QUDT-QUANTITY-KINDS-ALL-v2.1.ttl") g.load_file("support/VOCAB_QUDT-UNITS-ALL-v2.1.ttl")