iot-schema-collab / iotschema

30 stars 12 forks source link

Home as a "subdomain" of Building #59

Open JoelBender opened 5 years ago

JoelBender commented 5 years ago

iot:Home is referenced by the iot:domain property of many classes in capability.json but is undefined, perhaps it should be a subdomain (a.k.a., subclass) of iot:Building in core.jsonld:

    {
      "@id": "iot:Home",
      "@type": "iot:Domain",
      "rdfs:comment": "Home Domain",
      "rdfs:label": "Home",
      "rdfs:subClassOf": {
        "@id": "iot:Building"
      }
    },

Note that iot:AirConditioner is the only class that has a domain iot:Home that does not also have a domain iot:Buildling which may not be intentional.

JoelBender commented 5 years ago

Perhaps this should be renamed from Home to House, according to Merriam-Webster:

The definitions of these two words are similar, as shown below.

  • house: a building in which a person or a family lives
  • home: a house or apartment where a person or a family lives

The main difference between them is that house is concrete. House refers to a building in which someone lives. In contrast, a home can refer either to a building or to any location that a person thinks of as the place where she lives and that belongs to her. A home can be a house or an apartment, but it could also be a tent, a boat, or an underground cave.

I would expect this to be more about the relationships of things to structures not including occupancy status.