diff --git a/bricksrc/equipment.py b/bricksrc/equipment.py index 544098e5..d8302b21 100644 --- a/bricksrc/equipment.py +++ b/bricksrc/equipment.py @@ -8,7 +8,7 @@ equipment_subclasses = { "ICT_Equipment": { "tags": [TAG.ICT, TAG.Equipment], - BRICK.hostsPoint: [BRICK.Point], + BRICK.hosts: [BRICK.Point], "subclasses": { "ICT_Hardware": { "tags": [TAG.Equipment, TAG.ICT, TAG.Hardware], diff --git a/bricksrc/relationships.py b/bricksrc/relationships.py index 075a8b42..8c7b6a35 100644 --- a/bricksrc/relationships.py +++ b/bricksrc/relationships.py @@ -177,7 +177,7 @@ "domain": BRICK.Equipment, RDFS.label: Literal("Is controlled by", lang="en"), }, - "hostsPoint": { + "hosts": { A: [OWL.ObjectProperty, OWL.AsymmetricProperty, OWL.IrreflexiveProperty], OWL.inverseOf: BRICK["isHostedBy"], "range": BRICK.Point, @@ -186,7 +186,7 @@ }, "isHostedBy": { A: [OWL.ObjectProperty, OWL.AsymmetricProperty, OWL.IrreflexiveProperty], - OWL.inverseOf: BRICK["hostsPoint"], + OWL.inverseOf: BRICK["hosts"], "range": BRICK.ICT_Equipment, "domain": BRICK.Point, RDFS.label: Literal("Is hosted by", lang="en"), diff --git a/examples/controller/controller.ttl b/examples/controller/controller.ttl index 14cf9c9b..3426c746 100644 --- a/examples/controller/controller.ttl +++ b/examples/controller/controller.ttl @@ -14,7 +14,7 @@ bldg:Controller_1 a brick:Controller ; rdfs:label "Main Building Controller" ; - brick:hostsPoint bldg:VAV1_Temperature_Sensor, bldg:VAV1_Occupancy_Sensor ; + brick:hosts bldg:VAV1_Temperature_Sensor, bldg:VAV1_Occupancy_Sensor ; brick:controls bldg:VAV1 ; .