Skip to content

Commit

Permalink
Fix namespace in example1 graph (#208)
Browse files Browse the repository at this point in the history
  • Loading branch information
gtfierro authored Jan 13, 2021
1 parent 6f88d43 commit 3645bca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions examples/example1/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
Namespaces are URLs; they do not have to actually point to a real web resource,
but it is of course helpful if they point to some documentation (try going to
https://brickschema.org/schema/1.1.0/Brick#Air_Handler_Unit as an example).
https://brickschema.org/schema/1.1/Brick#Air_Handler_Unit as an example).
We will choose an arbitrary URL for our namespace and refer to it by the
nickname "bldg" for convenience. "bldg" is also called a "prefix".
Expand All @@ -56,7 +56,7 @@
Brick schema.
"""
BRICK = Namespace("https://brickschema.org/schema/1.1.0/Brick#")
BRICK = Namespace("https://brickschema.org/schema/1.1/Brick#")
g.bind("brick", BRICK)


Expand Down
2 changes: 1 addition & 1 deletion examples/example1/sample_graph.ttl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@prefix bldg: <http://example.com/mybuilding#> .
@prefix brick: <https://brickschema.org/schema/1.1.0/Brick#> .
@prefix brick: <https://brickschema.org/schema/1.1/Brick#> .

bldg:AHU1A a brick:Air_Handler_Unit ;
brick:feeds bldg:VAV2-4,
Expand Down

0 comments on commit 3645bca

Please sign in to comment.