diff --git a/docs/scripts/ttl_to_context.py b/docs/scripts/ttl_to_context.py index 9b6929b..f0e8b19 100644 --- a/docs/scripts/ttl_to_context.py +++ b/docs/scripts/ttl_to_context.py @@ -84,7 +84,7 @@ def generate_jsonld_context(ttl_file, predicate_uri, label_uri='http://www.w3.or # Example usage filename = 'battery-inferred.ttl' -parent_dir = os.path.dirname(os.path.abspath(__file__)) +parent_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) file_path = os.path.join(parent_dir, '..', filename) # Convert the file path to a file URI