star star

Beer Advisor

< Back to course page

Beer Advisor





Concept Map Ontology File

Conceptual Model

Below are the conceptual models that describe the ontology. In order to help with readability, the models have been split into four sections: a broad overview, the characterstic class, and the user class.


(Figure 1 - Full Image) Concept Map Model The first diagram captures a broad overview of our ontology and focuses upon the beer classes. In our ontology, a beer is defined by having a set of characteristics and being produced by a brewery. This can be seen in the above diagram. Underneath the main beer class is a variety of different beer styles. Each style is a subclass of beer and its ancestors above them. Each beer has its own set of characteristics that differentiate itself from other styles. In the upper right is the brewery class, which is a subclass of the functional business entity class found in the fibo ontology. Next to it is the bar class and the brewpub class, which is a subclass of both. The beer class connects to the characteristics through a property, “has characteristic”, and to the user through preferences.

Beer Characteristics

(Figure 2 - Full Image) Qualitative Characteristic Model Diagram Above is a diagram that looks at the main portion of our characteristics class, the measurements. The four measurements we are currently using are alcohol content, original gravity, the sweetness of a beer, color, and bitterness units. Each of these units is a subclass of the quantity value, which allows us to give it a numerical value. However, we also need to differ between the units of each class. This is where the measurement unit class comes into play. The four classes that inherit from this class are custom measurement units. Alcohol by volume is for alcohol content, degree plato for original gravity, standard reference method for color, and international bitterness unit for bitterness. This allows us to provide a different instance for each range of a specific style, which helps us to properly differentiate styles.

(Figure 3 - Full Image) Ingredient Characteristic Model Diagram In addition to the measurements, the following characteristics are attached. These include the style, ingredient, brand, season, and alcohol. Alcohol relates to whether or not a beer is alcoholic, which we can tell through it’s abv. Each beer also has a given style based upon its characteristics. There is then a brand for the name and a season. The main class that is expanded upon here is the ingredients. A beer can be made of a variety of different kinds of grains, hops, and yeasts. This is another way in which beers with similar measurements can be differentiated, as they may not share ingredients. Underneath the 3 main ingredients, the ontology gets a bit more specific. Finally we move on to the 3rd main class, the user class.


(Figure 4 - Full Image) User Model Diagram Our third major class is our user class, which connects to the beer class through the preferences class. In order to differentiate our ontology with other existing ontologies, we decided that we would log the search results and preferences of users in our ontology. The user is a subclass of the party in role class, allowing us to give it the identity of a person. Each user then has a user profile, which is a subclass of the record class. Each profile consists of a search history, which is a subclass of the dated structured collection class and contains a series of beers that a user has searched for, and the date they searched for said beer. In addition to this, each user has a preference, which is also a subclass of the record class. Preferences are made of different beers and characteristics. This will allow us to compare other users not only based up on their search history, but also based upon preferences we have stored.




View the ontology documentation at:

Previous Versions of Ontologies