Whisky, Whisky, so good they named it twice
After lunch here at vocamp, Tom is putting up his initial thoughts about a Whisky ontology. His intention is to be able to describe aspects of Whisky such that you could run a shop from the data.
This is interesting as the things you want to know about a Whisky are pretty specific, it's not a question of price.
Tom, like me, thinks about modelling in a nouns-first way. Chris Wallace is asking if this is the right way to model, as RDFS emphasises properties over classes. This is a very interesting insight and one I hadn't considered. I had assumed that attaching classes to properties, through domains and ranges, was a different syntactic approach to attaching properties to classes. I hadn't considered it as a different philosophical approach.
It is, though. In OO modelling, where we attach properties to classes the property is scoped by the class. That means that you have to have complex hierarchies if you want to the properties on one class to be semantically the same properties as on another class. In RDFS the property is the same by virtue of it being defined independent of classes it is used on.
Putting the philosophical debate aside, and getting back to the Whisky...
The classes Tom defined are:
This class is used for the wide variety of Whiskys available. There is a possibility of splitting this into subclasses, or adding additional classes to denote single malts, pure pot stills or blended whiskys.
There was also an assortment of properties proposed, most with specific domains and ranges, but I'll not bother to note those here:
- region, owner, produces, motto, headDistiller, waterSource, age, finish, brand, label, abv, colourDesc, strengthLevel, year, grain
We then concluded that trying to define this as a group was hard, so tasked Ian and Tom to create an initial version based on the brainstorm and some genuine instance data and bring that back to the group.
Ian and Tom focussing on co-evolving the vocab alongside instance data was very interesting to watch. The resulting Whisky Ontology is up on vocab.org