File size: 1,725 Bytes
cdbdd16
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
Relation Ontology (RO)
========================================================================================================================

Overview
--------
The Relations Ontology (RO) is a collection of OWL relations (ObjectProperties) intended for use
across a wide variety of biological ontologies.

:Domain: General Knowledge
:Category: Relations
:Current Version: 2024-04-24
:Last Updated: 2024-04-24
:Creator: None
:License: CC0
:Format: OWL
:Download: `Relation Ontology (RO) Homepage <http://purl.obolibrary.org/obo/ro.owl>`_

Graph Metrics
-------------
    - **Total Nodes**: 4635
    - **Total Edges**: 10477
    - **Root Nodes**: 381
    - **Leaf Nodes**: 2650

Knowledge coverage
------------------
    - Classes: 88
    - Individuals: 2
    - Properties: 673

Hierarchical metrics
--------------------
    - **Maximum Depth**: 13
    - **Minimum Depth**: 0
    - **Average Depth**: 1.90
    - **Depth Variance**: 2.53

Breadth metrics
------------------
    - **Maximum Breadth**: 870
    - **Minimum Breadth**: 1
    - **Average Breadth**: 181.93
    - **Breadth Variance**: 70257.92

Dataset Statistics
------------------
Generated Benchmarks:
    - **Term Types**: 2
    - **Taxonomic Relations**: 65
    - **Non-taxonomic Relations**: 10
    - **Average Terms per Type**: 2.00

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

    from ontolearner.ontology import RO

    # Initialize and load ontology
    ontology = RO()
    ontology.load("path/to/ontology.OWL")

    # 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