File size: 2,126 Bytes
afb70b9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1a740ba
afb70b9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1a740ba
 
afb70b9
1a740ba
afb70b9
 
 
 
 
 
 
 
 
1a740ba
afb70b9
 
 
 
 
 
 
1a740ba
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
AGROVOC Multilingual Thesaurus (AGROVOC)
========================================================================================================================

Overview
--------
AGROVOC is a relevant Linked Open Data set about agriculture available for public use and facilitates
access and visibility of data across domains and languages. It offers a structured collection of agricultural concepts,
terms, definitions and relationships which are used to unambiguously identify resources, allowing standardized
indexing processes and making searches more efficient.

:Domain: Agricultural
:Category: Agricultural Knowledge
:Current Version: 2024-04
:Last Updated: August 12, 2024
:Creator: Food and Agriculture Organization of the United Nations
:License: Creative Commons 4.0
:Format: RDF
:Download: `AGROVOC Multilingual Thesaurus (AGROVOC) Homepage <https://agroportal.lirmm.fr/ontologies/AGROVOC>`_

Graph Metrics
-------------
    - **Total Nodes**: 2279766
    - **Total Edges**: 10140352
    - **Root Nodes**: 59
    - **Leaf Nodes**: 981249

Knowledge coverage
------------------
    - Classes: 35
    - Individuals: 1234769
    - Properties: 209

Hierarchical metrics
--------------------
    - **Maximum Depth**: 11
    - **Minimum Depth**: 0
    - **Average Depth**: 5.24
    - **Depth Variance**: 2.31

Breadth metrics
------------------
    - **Maximum Breadth**: 617543
    - **Minimum Breadth**: 9
    - **Average Breadth**: 189858.08
    - **Breadth Variance**: 44142143480.08

Dataset Statistics
------------------
Generated Benchmarks:
    - **Term Types**: 12
    - **Taxonomic Relations**: 11
    - **Non-taxonomic Relations**: 7
    - **Average Terms per Type**: 3.00

Usage Example
-------------
.. code-block:: python

    from ontolearner.ontology import AGROVOC

    # Initialize and load ontology
    ontology = AGROVOC()
    ontology.load("path/to/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