diff --git a/examples/air_quality_sensors/air_quality_sensor_example.ttl b/examples/air_quality_sensors/air_quality_sensor_example.ttl index 008e445b..f5d9ea7d 100644 --- a/examples/air_quality_sensors/air_quality_sensor_example.ttl +++ b/examples/air_quality_sensors/air_quality_sensor_example.ttl @@ -35,11 +35,11 @@ bldg:building_1 a brick:Building ; brick:hasPart bldg:floor_1 . bldg:floor_1 a brick:Floor ; - brick:area [ brick:area 1000 ; - brick:hasUnit unit:M3 ] ; + brick:area [ brick:hasUnit unit:M3 ; + brick:value 1000 ] ; brick:hasPart bldg:room_1 . bldg:room_1 a brick:Office_Kitchen, brick:Room ; - brick:area [ brick:area 40 ; - brick:hasUnit unit:M3 ] . + brick:area [ brick:hasUnit unit:M3 ; + brick:value 40 ] . diff --git a/examples/air_quality_sensors/generate.py b/examples/air_quality_sensors/generate.py index 94049233..5497a6f2 100644 --- a/examples/air_quality_sensors/generate.py +++ b/examples/air_quality_sensors/generate.py @@ -51,13 +51,13 @@ # can add information about the sq area of the room and the floor # this nifty syntax requires brickschema>=0.3.2a1 room_area = [ - (BRICK.area, Literal(40)), + (BRICK.value, Literal(40)), (BRICK.hasUnit, UNIT["M3"]), ] g.add((BLDG["room_1"], BRICK.area, room_area)) floor_area = [ - (BRICK.area, Literal(1000)), + (BRICK.value, Literal(1000)), (BRICK.hasUnit, UNIT["M3"]), ] g.add((BLDG["floor_1"], BRICK.area, floor_area))