Two classes were created based on information obtained from the conceptualization stage. Most terms have definitions, which have been described in notes. Figure 1 presents examples of the created classes.
Figure 1: Two classes were created.
Figure 1 shows the proposed ontology to annotate the information of Twitter users through two classes:
- UserAccount: represents a Twitter user account with all properties and characteristics related to him.
- Tweet: depicts a post published by one user, containing the information as for instance: text, url and hashtags.
Object properties are used to relate an individual of a class with the individual of another class [W3C]. In this case, 13 object properties were created from Protegé tool to help in semantic annotation of information about this context.
Figure 2: The object properties.
The property hasLiked, for example, associates the individual of the UserAccount (domain) class with the individual of the Tweet (range) class. Thus, the action of liking a tweet is represented by the interaction liked as shown in Figure 2.
Datatype properties are used to link an individual to a primitive value (string, int and others) [W3C]. We created 13 datatype properties in Protégé tool. For instance: Date(createdAt), String (email, name) and others as shown in Figure 3.
Figure 3: The data type properties.