Wine Ontology (Wine)¶
The Wine Ontology is an RDF-based vocabulary for describing wines and related wine domain concepts in a structured and machine-readable way [1]. It provides a classification framework for different types of wines, grape varieties, wine regions, wineries, and wine characteristics, supporting semantic representation of wine products and their attributes [1]. As a well-known example ontology in the Semantic Web community, it has been used to illustrate ontology modeling patterns and reasoning over class-based descriptions . The ontology can support applications such as semantic data integration, structured search, recommendation, and knowledge representation in domains involving wine, food, and related commercial or cultural information [1].
Example Usage: Describe a specific wine by linking it to its grape variety, wine region, producer, vintage year, and taste-related characteristics through ontology properties, enabling structured search, comparison, and semantic integration of wine-related information [1].
Metrics & Statistics¶
Total Nodes |
729 |
Total Edges |
1816 |
Root Nodes |
84 |
Leaf Nodes |
22 |
Classes |
101 |
Individuals |
161 |
Properties |
13 |
Maximum Depth |
41 |
Minimum Depth |
0 |
Average Depth |
3.51 |
Depth Variance |
29.20 |
Maximum Breadth |
164 |
Minimum Breadth |
1 |
Average Breadth |
17.19 |
Breadth Variance |
1612.73 |
Term Types |
161 |
Taxonomic Relations |
47 |
Non-taxonomic Relations |
1 |
Average Terms per Type |
4.13 |
Usage Example¶
Use the following code to import this ontology programmatically:
from ontolearner.ontology import Wine
ontology = Wine()
ontology.load("path/to/Wine-ontology.rdf")
# Extract datasets
data = ontology.extract()
# Access specific relations
term_types = data.term_typings
taxonomic_relations = data.type_taxonomies
non_taxonomic_relations = data.type_non_taxonomic_relations