Andrei Aioanei
commited on
Commit
·
1a740ba
1
Parent(s):
f0a0907
Update agricultural domain with 3 ontologies
Browse files- .gitattributes +1 -0
- agrovoc/agrovoc.rst +6 -6
- agrovoc/term_typings.json +86 -0
- agrovoc/type_non_taxonomic_relations.json +58 -0
- agrovoc/type_taxonomies.json +77 -0
- foodon/foodon.rst +3 -3
- foodon/term_typings.json +114 -0
- foodon/type_non_taxonomic_relations.json +0 -0
- foodon/type_taxonomies.json +3 -0
- po/po.rst +4 -4
- po/term_typings.json +1 -0
- po/type_non_taxonomic_relations.json +260 -0
- po/type_taxonomies.json +0 -0
.gitattributes
CHANGED
@@ -59,3 +59,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
59 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
60 |
agrovoc/agrovoc.rdf filter=lfs diff=lfs merge=lfs -text
|
61 |
foodon/foodon.owl filter=lfs diff=lfs merge=lfs -text
|
|
|
|
59 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
60 |
agrovoc/agrovoc.rdf filter=lfs diff=lfs merge=lfs -text
|
61 |
foodon/foodon.owl filter=lfs diff=lfs merge=lfs -text
|
62 |
+
foodon/type_taxonomies.json filter=lfs diff=lfs merge=lfs -text
|
agrovoc/agrovoc.rst
CHANGED
@@ -14,7 +14,7 @@ indexing processes and making searches more efficient.
|
|
14 |
:Last Updated: August 12, 2024
|
15 |
:Creator: Food and Agriculture Organization of the United Nations
|
16 |
:License: Creative Commons 4.0
|
17 |
-
:Format: RDF
|
18 |
:Download: `AGROVOC Multilingual Thesaurus (AGROVOC) Homepage <https://agroportal.lirmm.fr/ontologies/AGROVOC>`_
|
19 |
|
20 |
Graph Metrics
|
@@ -47,10 +47,10 @@ Breadth metrics
|
|
47 |
Dataset Statistics
|
48 |
------------------
|
49 |
Generated Benchmarks:
|
50 |
-
- **Term Types**:
|
51 |
-
- **Taxonomic Relations**:
|
52 |
- **Non-taxonomic Relations**: 7
|
53 |
-
- **Average Terms per Type**:
|
54 |
|
55 |
Usage Example
|
56 |
-------------
|
@@ -60,7 +60,7 @@ Usage Example
|
|
60 |
|
61 |
# Initialize and load ontology
|
62 |
ontology = AGROVOC()
|
63 |
-
ontology.load("path/to/ontology.
|
64 |
|
65 |
# Extract datasets
|
66 |
data = ontology.extract()
|
@@ -68,4 +68,4 @@ Usage Example
|
|
68 |
# Access specific relations
|
69 |
term_types = data.term_typings
|
70 |
taxonomic_relations = data.type_taxonomies
|
71 |
-
non_taxonomic_relations = data.type_non_taxonomic_relations
|
|
|
14 |
:Last Updated: August 12, 2024
|
15 |
:Creator: Food and Agriculture Organization of the United Nations
|
16 |
:License: Creative Commons 4.0
|
17 |
+
:Format: RDF
|
18 |
:Download: `AGROVOC Multilingual Thesaurus (AGROVOC) Homepage <https://agroportal.lirmm.fr/ontologies/AGROVOC>`_
|
19 |
|
20 |
Graph Metrics
|
|
|
47 |
Dataset Statistics
|
48 |
------------------
|
49 |
Generated Benchmarks:
|
50 |
+
- **Term Types**: 12
|
51 |
+
- **Taxonomic Relations**: 11
|
52 |
- **Non-taxonomic Relations**: 7
|
53 |
+
- **Average Terms per Type**: 3.00
|
54 |
|
55 |
Usage Example
|
56 |
-------------
|
|
|
60 |
|
61 |
# Initialize and load ontology
|
62 |
ontology = AGROVOC()
|
63 |
+
ontology.load("path/to/ontology.RDF")
|
64 |
|
65 |
# Extract datasets
|
66 |
data = ontology.extract()
|
|
|
68 |
# Access specific relations
|
69 |
term_types = data.term_typings
|
70 |
taxonomic_relations = data.type_taxonomies
|
71 |
+
non_taxonomic_relations = data.type_non_taxonomic_relations
|
agrovoc/term_typings.json
ADDED
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"ID": "TT_68bce476",
|
4 |
+
"term": "LCSH",
|
5 |
+
"types": [
|
6 |
+
"VocabularyEncodingScheme"
|
7 |
+
]
|
8 |
+
},
|
9 |
+
{
|
10 |
+
"ID": "TT_59e9ed4c",
|
11 |
+
"term": "DDC",
|
12 |
+
"types": [
|
13 |
+
"VocabularyEncodingScheme"
|
14 |
+
]
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"ID": "TT_5ab9855c",
|
18 |
+
"term": "IMT",
|
19 |
+
"types": [
|
20 |
+
"VocabularyEncodingScheme"
|
21 |
+
]
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"ID": "TT_5706ff33",
|
25 |
+
"term": "LCC",
|
26 |
+
"types": [
|
27 |
+
"VocabularyEncodingScheme"
|
28 |
+
]
|
29 |
+
},
|
30 |
+
{
|
31 |
+
"ID": "TT_5181f950",
|
32 |
+
"term": "MeSH",
|
33 |
+
"types": [
|
34 |
+
"VocabularyEncodingScheme"
|
35 |
+
]
|
36 |
+
},
|
37 |
+
{
|
38 |
+
"ID": "TT_0fe6cb03",
|
39 |
+
"term": "NLM",
|
40 |
+
"types": [
|
41 |
+
"VocabularyEncodingScheme"
|
42 |
+
]
|
43 |
+
},
|
44 |
+
{
|
45 |
+
"ID": "TT_1f588b35",
|
46 |
+
"term": "DCMI Type Vocabulary",
|
47 |
+
"types": [
|
48 |
+
"VocabularyEncodingScheme"
|
49 |
+
]
|
50 |
+
},
|
51 |
+
{
|
52 |
+
"ID": "TT_8742af7d",
|
53 |
+
"term": "TGN",
|
54 |
+
"types": [
|
55 |
+
"VocabularyEncodingScheme"
|
56 |
+
]
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"ID": "TT_78af92a9",
|
60 |
+
"term": "UDC",
|
61 |
+
"types": [
|
62 |
+
"VocabularyEncodingScheme"
|
63 |
+
]
|
64 |
+
},
|
65 |
+
{
|
66 |
+
"ID": "TT_07ae217e",
|
67 |
+
"term": "Agent",
|
68 |
+
"types": [
|
69 |
+
"Agent Class"
|
70 |
+
]
|
71 |
+
},
|
72 |
+
{
|
73 |
+
"ID": "TT_608bd9a8",
|
74 |
+
"term": "agrontology",
|
75 |
+
"types": [
|
76 |
+
"Vocabulary"
|
77 |
+
]
|
78 |
+
},
|
79 |
+
{
|
80 |
+
"ID": "TT_d0f36656",
|
81 |
+
"term": "agrovoc",
|
82 |
+
"types": [
|
83 |
+
"Concept Scheme"
|
84 |
+
]
|
85 |
+
}
|
86 |
+
]
|
agrovoc/type_non_taxonomic_relations.json
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"types": [
|
3 |
+
"Agent",
|
4 |
+
"Agent Class",
|
5 |
+
"Collection",
|
6 |
+
"Concept",
|
7 |
+
"Concept Scheme",
|
8 |
+
"Label"
|
9 |
+
],
|
10 |
+
"relations": [
|
11 |
+
"disjointWith",
|
12 |
+
"type"
|
13 |
+
],
|
14 |
+
"non_taxonomies": [
|
15 |
+
{
|
16 |
+
"ID": "NR_02f44148",
|
17 |
+
"head": "Agent",
|
18 |
+
"tail": "Agent Class",
|
19 |
+
"relation": "type"
|
20 |
+
},
|
21 |
+
{
|
22 |
+
"ID": "NR_7f1e10e8",
|
23 |
+
"head": "Collection",
|
24 |
+
"tail": "Concept Scheme",
|
25 |
+
"relation": "disjointWith"
|
26 |
+
},
|
27 |
+
{
|
28 |
+
"ID": "NR_45a0d9a4",
|
29 |
+
"head": "Collection",
|
30 |
+
"tail": "Label",
|
31 |
+
"relation": "disjointWith"
|
32 |
+
},
|
33 |
+
{
|
34 |
+
"ID": "NR_ab1093a6",
|
35 |
+
"head": "Collection",
|
36 |
+
"tail": "Concept",
|
37 |
+
"relation": "disjointWith"
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"ID": "NR_4f2114fe",
|
41 |
+
"head": "Concept Scheme",
|
42 |
+
"tail": "Label",
|
43 |
+
"relation": "disjointWith"
|
44 |
+
},
|
45 |
+
{
|
46 |
+
"ID": "NR_473625f4",
|
47 |
+
"head": "Concept",
|
48 |
+
"tail": "Concept Scheme",
|
49 |
+
"relation": "disjointWith"
|
50 |
+
},
|
51 |
+
{
|
52 |
+
"ID": "NR_d49edadd",
|
53 |
+
"head": "Concept",
|
54 |
+
"tail": "Label",
|
55 |
+
"relation": "disjointWith"
|
56 |
+
}
|
57 |
+
]
|
58 |
+
}
|
agrovoc/type_taxonomies.json
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"types": [
|
3 |
+
"Agent Class",
|
4 |
+
"Class",
|
5 |
+
"Size or Duration",
|
6 |
+
"Nothing",
|
7 |
+
"Location",
|
8 |
+
"Rights Statement",
|
9 |
+
"File Format",
|
10 |
+
"Location, Period, or Jurisdiction",
|
11 |
+
"License Document",
|
12 |
+
"Ordered Collection",
|
13 |
+
"Period of Time",
|
14 |
+
"Media Type or Extent",
|
15 |
+
"Media Type",
|
16 |
+
"Collection",
|
17 |
+
"Jurisdiction",
|
18 |
+
"Physical Medium"
|
19 |
+
],
|
20 |
+
"taxonomies": [
|
21 |
+
{
|
22 |
+
"ID": "TR_7ee717cd",
|
23 |
+
"parent": "Class",
|
24 |
+
"child": "Agent Class"
|
25 |
+
},
|
26 |
+
{
|
27 |
+
"ID": "TR_8629b49e",
|
28 |
+
"parent": "Media Type",
|
29 |
+
"child": "File Format"
|
30 |
+
},
|
31 |
+
{
|
32 |
+
"ID": "TR_21c931d5",
|
33 |
+
"parent": "Media Type",
|
34 |
+
"child": "Physical Medium"
|
35 |
+
},
|
36 |
+
{
|
37 |
+
"ID": "TR_8d29e751",
|
38 |
+
"parent": "Location, Period, or Jurisdiction",
|
39 |
+
"child": "Jurisdiction"
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"ID": "TR_0a804f20",
|
43 |
+
"parent": "Location, Period, or Jurisdiction",
|
44 |
+
"child": "Location"
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"ID": "TR_ba78a5eb",
|
48 |
+
"parent": "Location, Period, or Jurisdiction",
|
49 |
+
"child": "Period of Time"
|
50 |
+
},
|
51 |
+
{
|
52 |
+
"ID": "TR_10be7809",
|
53 |
+
"parent": "Rights Statement",
|
54 |
+
"child": "License Document"
|
55 |
+
},
|
56 |
+
{
|
57 |
+
"ID": "TR_9dbae154",
|
58 |
+
"parent": "Media Type or Extent",
|
59 |
+
"child": "Media Type"
|
60 |
+
},
|
61 |
+
{
|
62 |
+
"ID": "TR_8ebe6099",
|
63 |
+
"parent": "Media Type or Extent",
|
64 |
+
"child": "Size or Duration"
|
65 |
+
},
|
66 |
+
{
|
67 |
+
"ID": "TR_77dcb5ec",
|
68 |
+
"parent": "Nothing",
|
69 |
+
"child": "Nothing"
|
70 |
+
},
|
71 |
+
{
|
72 |
+
"ID": "TR_8f893064",
|
73 |
+
"parent": "Collection",
|
74 |
+
"child": "Ordered Collection"
|
75 |
+
}
|
76 |
+
]
|
77 |
+
}
|
foodon/foodon.rst
CHANGED
@@ -49,7 +49,7 @@ Dataset Statistics
|
|
49 |
------------------
|
50 |
Generated Benchmarks:
|
51 |
- **Term Types**: 16
|
52 |
-
- **Taxonomic Relations**:
|
53 |
- **Non-taxonomic Relations**: 2072
|
54 |
- **Average Terms per Type**: 8.00
|
55 |
|
@@ -61,7 +61,7 @@ Usage Example
|
|
61 |
|
62 |
# Initialize and load ontology
|
63 |
ontology = FoodOn()
|
64 |
-
ontology.load("path/to/ontology.
|
65 |
|
66 |
# Extract datasets
|
67 |
data = ontology.extract()
|
@@ -69,4 +69,4 @@ Usage Example
|
|
69 |
# Access specific relations
|
70 |
term_types = data.term_typings
|
71 |
taxonomic_relations = data.type_taxonomies
|
72 |
-
non_taxonomic_relations = data.type_non_taxonomic_relations
|
|
|
49 |
------------------
|
50 |
Generated Benchmarks:
|
51 |
- **Term Types**: 16
|
52 |
+
- **Taxonomic Relations**: 76235
|
53 |
- **Non-taxonomic Relations**: 2072
|
54 |
- **Average Terms per Type**: 8.00
|
55 |
|
|
|
61 |
|
62 |
# Initialize and load ontology
|
63 |
ontology = FoodOn()
|
64 |
+
ontology.load("path/to/ontology.OWL")
|
65 |
|
66 |
# Extract datasets
|
67 |
data = ontology.extract()
|
|
|
69 |
# Access specific relations
|
70 |
term_types = data.term_typings
|
71 |
taxonomic_relations = data.type_taxonomies
|
72 |
+
non_taxonomic_relations = data.type_non_taxonomic_relations
|
foodon/term_typings.json
ADDED
@@ -0,0 +1,114 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"ID": "TT_541ebb4e",
|
4 |
+
"term": "time:unitHour",
|
5 |
+
"types": [
|
6 |
+
"Temporal Unit"
|
7 |
+
]
|
8 |
+
},
|
9 |
+
{
|
10 |
+
"ID": "TT_b28b3070",
|
11 |
+
"term": "time:unitMonth",
|
12 |
+
"types": [
|
13 |
+
"Temporal Unit"
|
14 |
+
]
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"ID": "TT_2e5a9086",
|
18 |
+
"term": "time:unitDay",
|
19 |
+
"types": [
|
20 |
+
"Temporal Unit"
|
21 |
+
]
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"ID": "TT_2675190c",
|
25 |
+
"term": "time:unitWeek",
|
26 |
+
"types": [
|
27 |
+
"Temporal Unit"
|
28 |
+
]
|
29 |
+
},
|
30 |
+
{
|
31 |
+
"ID": "TT_70fa983d",
|
32 |
+
"term": "time:unitYear",
|
33 |
+
"types": [
|
34 |
+
"Temporal Unit"
|
35 |
+
]
|
36 |
+
},
|
37 |
+
{
|
38 |
+
"ID": "TT_e8256b04",
|
39 |
+
"term": "time:unitSecond",
|
40 |
+
"types": [
|
41 |
+
"Temporal Unit"
|
42 |
+
]
|
43 |
+
},
|
44 |
+
{
|
45 |
+
"ID": "TT_d8f9c586",
|
46 |
+
"term": "time:unitMinute",
|
47 |
+
"types": [
|
48 |
+
"Temporal Unit"
|
49 |
+
]
|
50 |
+
},
|
51 |
+
{
|
52 |
+
"ID": "TT_98357a96",
|
53 |
+
"term": "uncurated",
|
54 |
+
"types": [
|
55 |
+
"curation status specification"
|
56 |
+
]
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"ID": "TT_9fd1ff62",
|
60 |
+
"term": "requires discussion",
|
61 |
+
"types": [
|
62 |
+
"curation status specification"
|
63 |
+
]
|
64 |
+
},
|
65 |
+
{
|
66 |
+
"ID": "TT_81f000a3",
|
67 |
+
"term": "organizational term",
|
68 |
+
"types": [
|
69 |
+
"curation status specification"
|
70 |
+
]
|
71 |
+
},
|
72 |
+
{
|
73 |
+
"ID": "TT_5c32afe5",
|
74 |
+
"term": "ready for release",
|
75 |
+
"types": [
|
76 |
+
"curation status specification"
|
77 |
+
]
|
78 |
+
},
|
79 |
+
{
|
80 |
+
"ID": "TT_3aa00569",
|
81 |
+
"term": "example to be eventually removed",
|
82 |
+
"types": [
|
83 |
+
"curation status specification"
|
84 |
+
]
|
85 |
+
},
|
86 |
+
{
|
87 |
+
"ID": "TT_29ff5d86",
|
88 |
+
"term": "metadata complete",
|
89 |
+
"types": [
|
90 |
+
"curation status specification"
|
91 |
+
]
|
92 |
+
},
|
93 |
+
{
|
94 |
+
"ID": "TT_d4a73a40",
|
95 |
+
"term": "pending final vetting",
|
96 |
+
"types": [
|
97 |
+
"curation status specification"
|
98 |
+
]
|
99 |
+
},
|
100 |
+
{
|
101 |
+
"ID": "TT_bc28ce69",
|
102 |
+
"term": "metadata incomplete",
|
103 |
+
"types": [
|
104 |
+
"curation status specification"
|
105 |
+
]
|
106 |
+
},
|
107 |
+
{
|
108 |
+
"ID": "TT_ba3d9c62",
|
109 |
+
"term": "to be replaced with external ontology term",
|
110 |
+
"types": [
|
111 |
+
"curation status specification"
|
112 |
+
]
|
113 |
+
}
|
114 |
+
]
|
foodon/type_non_taxonomic_relations.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
foodon/type_taxonomies.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1cff380f3fb4cc501fa5cd06deba2e399005c2f52d550c9e38d9bb5ac5606959
|
3 |
+
size 10561464
|
po/po.rst
CHANGED
@@ -12,7 +12,7 @@ morphology and growth and development to plant genomics data.
|
|
12 |
:Last Updated: None
|
13 |
:Creator: None
|
14 |
:License: Creative Commons 4.0
|
15 |
-
:Format: OWL
|
16 |
:Download: `Plant Ontology (PO) Homepage <https://github.com/Planteome/plant-ontology>`_
|
17 |
|
18 |
Graph Metrics
|
@@ -46,7 +46,7 @@ Dataset Statistics
|
|
46 |
------------------
|
47 |
Generated Benchmarks:
|
48 |
- **Term Types**: 0
|
49 |
-
- **Taxonomic Relations**:
|
50 |
- **Non-taxonomic Relations**: 36
|
51 |
- **Average Terms per Type**: 0.00
|
52 |
|
@@ -58,7 +58,7 @@ Usage Example
|
|
58 |
|
59 |
# Initialize and load ontology
|
60 |
ontology = PO()
|
61 |
-
ontology.load("path/to/ontology.
|
62 |
|
63 |
# Extract datasets
|
64 |
data = ontology.extract()
|
@@ -66,4 +66,4 @@ Usage Example
|
|
66 |
# Access specific relations
|
67 |
term_types = data.term_typings
|
68 |
taxonomic_relations = data.type_taxonomies
|
69 |
-
non_taxonomic_relations = data.type_non_taxonomic_relations
|
|
|
12 |
:Last Updated: None
|
13 |
:Creator: None
|
14 |
:License: Creative Commons 4.0
|
15 |
+
:Format: OWL
|
16 |
:Download: `Plant Ontology (PO) Homepage <https://github.com/Planteome/plant-ontology>`_
|
17 |
|
18 |
Graph Metrics
|
|
|
46 |
------------------
|
47 |
Generated Benchmarks:
|
48 |
- **Term Types**: 0
|
49 |
+
- **Taxonomic Relations**: 2866
|
50 |
- **Non-taxonomic Relations**: 36
|
51 |
- **Average Terms per Type**: 0.00
|
52 |
|
|
|
58 |
|
59 |
# Initialize and load ontology
|
60 |
ontology = PO()
|
61 |
+
ontology.load("path/to/ontology.OWL")
|
62 |
|
63 |
# Extract datasets
|
64 |
data = ontology.extract()
|
|
|
66 |
# Access specific relations
|
67 |
term_types = data.term_typings
|
68 |
taxonomic_relations = data.type_taxonomies
|
69 |
+
non_taxonomic_relations = data.type_non_taxonomic_relations
|
po/term_typings.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
[]
|
po/type_non_taxonomic_relations.json
ADDED
@@ -0,0 +1,260 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"types": [
|
3 |
+
"cambial initial cell",
|
4 |
+
"cardinal organ part",
|
5 |
+
"collective organ part structure",
|
6 |
+
"collective plant organ structure",
|
7 |
+
"free tepal",
|
8 |
+
"fruit operculum",
|
9 |
+
"fused tepal",
|
10 |
+
"gametophyte perianth",
|
11 |
+
"guard cell",
|
12 |
+
"hydroid",
|
13 |
+
"hydrome",
|
14 |
+
"leptoid",
|
15 |
+
"leptome",
|
16 |
+
"perianth",
|
17 |
+
"phloem",
|
18 |
+
"plant cell",
|
19 |
+
"plant epidermal initial cell",
|
20 |
+
"plant organ",
|
21 |
+
"portion of plant tissue",
|
22 |
+
"protonema side branch initial cell",
|
23 |
+
"protonema sub-apical initial cell",
|
24 |
+
"protosporangium endothecium",
|
25 |
+
"root initial cell",
|
26 |
+
"root system",
|
27 |
+
"shoot epidermal pavement cell",
|
28 |
+
"shoot system",
|
29 |
+
"sieve element",
|
30 |
+
"socket cell",
|
31 |
+
"sporangium wall endothecium",
|
32 |
+
"spore capsule operculum",
|
33 |
+
"subsidiary cell",
|
34 |
+
"tracheary element",
|
35 |
+
"trichome cell",
|
36 |
+
"vascular system",
|
37 |
+
"xylem"
|
38 |
+
],
|
39 |
+
"relations": [
|
40 |
+
"disjointWith"
|
41 |
+
],
|
42 |
+
"non_taxonomies": [
|
43 |
+
{
|
44 |
+
"ID": "NR_fc1c1f6e",
|
45 |
+
"head": "portion of plant tissue",
|
46 |
+
"tail": "cardinal organ part",
|
47 |
+
"relation": "disjointWith"
|
48 |
+
},
|
49 |
+
{
|
50 |
+
"ID": "NR_b8401239",
|
51 |
+
"head": "cambial initial cell",
|
52 |
+
"tail": "protonema side branch initial cell",
|
53 |
+
"relation": "disjointWith"
|
54 |
+
},
|
55 |
+
{
|
56 |
+
"ID": "NR_3ecc9a05",
|
57 |
+
"head": "sporangium wall endothecium",
|
58 |
+
"tail": "protosporangium endothecium",
|
59 |
+
"relation": "disjointWith"
|
60 |
+
},
|
61 |
+
{
|
62 |
+
"ID": "NR_217f2139",
|
63 |
+
"head": "root initial cell",
|
64 |
+
"tail": "protonema side branch initial cell",
|
65 |
+
"relation": "disjointWith"
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"ID": "NR_b07d960e",
|
69 |
+
"head": "plant cell",
|
70 |
+
"tail": "cardinal organ part",
|
71 |
+
"relation": "disjointWith"
|
72 |
+
},
|
73 |
+
{
|
74 |
+
"ID": "NR_980203d6",
|
75 |
+
"head": "portion of plant tissue",
|
76 |
+
"tail": "plant organ",
|
77 |
+
"relation": "disjointWith"
|
78 |
+
},
|
79 |
+
{
|
80 |
+
"ID": "NR_a4ed6df0",
|
81 |
+
"head": "cambial initial cell",
|
82 |
+
"tail": "protonema sub-apical initial cell",
|
83 |
+
"relation": "disjointWith"
|
84 |
+
},
|
85 |
+
{
|
86 |
+
"ID": "NR_b7286c34",
|
87 |
+
"head": "guard cell",
|
88 |
+
"tail": "shoot epidermal pavement cell",
|
89 |
+
"relation": "disjointWith"
|
90 |
+
},
|
91 |
+
{
|
92 |
+
"ID": "NR_938760aa",
|
93 |
+
"head": "free tepal",
|
94 |
+
"tail": "fused tepal",
|
95 |
+
"relation": "disjointWith"
|
96 |
+
},
|
97 |
+
{
|
98 |
+
"ID": "NR_009bfaf1",
|
99 |
+
"head": "root initial cell",
|
100 |
+
"tail": "protonema sub-apical initial cell",
|
101 |
+
"relation": "disjointWith"
|
102 |
+
},
|
103 |
+
{
|
104 |
+
"ID": "NR_6dac801c",
|
105 |
+
"head": "plant cell",
|
106 |
+
"tail": "plant organ",
|
107 |
+
"relation": "disjointWith"
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"ID": "NR_e62ba919",
|
111 |
+
"head": "xylem",
|
112 |
+
"tail": "hydrome",
|
113 |
+
"relation": "disjointWith"
|
114 |
+
},
|
115 |
+
{
|
116 |
+
"ID": "NR_20f4e164",
|
117 |
+
"head": "root initial cell",
|
118 |
+
"tail": "cambial initial cell",
|
119 |
+
"relation": "disjointWith"
|
120 |
+
},
|
121 |
+
{
|
122 |
+
"ID": "NR_e1ed5709",
|
123 |
+
"head": "portion of plant tissue",
|
124 |
+
"tail": "collective plant organ structure",
|
125 |
+
"relation": "disjointWith"
|
126 |
+
},
|
127 |
+
{
|
128 |
+
"ID": "NR_4e25c715",
|
129 |
+
"head": "portion of plant tissue",
|
130 |
+
"tail": "collective organ part structure",
|
131 |
+
"relation": "disjointWith"
|
132 |
+
},
|
133 |
+
{
|
134 |
+
"ID": "NR_1784788a",
|
135 |
+
"head": "subsidiary cell",
|
136 |
+
"tail": "shoot epidermal pavement cell",
|
137 |
+
"relation": "disjointWith"
|
138 |
+
},
|
139 |
+
{
|
140 |
+
"ID": "NR_68f5f320",
|
141 |
+
"head": "shoot epidermal pavement cell",
|
142 |
+
"tail": "trichome cell",
|
143 |
+
"relation": "disjointWith"
|
144 |
+
},
|
145 |
+
{
|
146 |
+
"ID": "NR_559fe1ca",
|
147 |
+
"head": "vascular system",
|
148 |
+
"tail": "plant cell",
|
149 |
+
"relation": "disjointWith"
|
150 |
+
},
|
151 |
+
{
|
152 |
+
"ID": "NR_7ed4aab0",
|
153 |
+
"head": "plant cell",
|
154 |
+
"tail": "collective organ part structure",
|
155 |
+
"relation": "disjointWith"
|
156 |
+
},
|
157 |
+
{
|
158 |
+
"ID": "NR_cece7ddd",
|
159 |
+
"head": "leptoid",
|
160 |
+
"tail": "sieve element",
|
161 |
+
"relation": "disjointWith"
|
162 |
+
},
|
163 |
+
{
|
164 |
+
"ID": "NR_619baffb",
|
165 |
+
"head": "socket cell",
|
166 |
+
"tail": "shoot epidermal pavement cell",
|
167 |
+
"relation": "disjointWith"
|
168 |
+
},
|
169 |
+
{
|
170 |
+
"ID": "NR_0d41dd6f",
|
171 |
+
"head": "plant cell",
|
172 |
+
"tail": "collective plant organ structure",
|
173 |
+
"relation": "disjointWith"
|
174 |
+
},
|
175 |
+
{
|
176 |
+
"ID": "NR_52417536",
|
177 |
+
"head": "perianth",
|
178 |
+
"tail": "gametophyte perianth",
|
179 |
+
"relation": "disjointWith"
|
180 |
+
},
|
181 |
+
{
|
182 |
+
"ID": "NR_e51a9670",
|
183 |
+
"head": "vascular system",
|
184 |
+
"tail": "cardinal organ part",
|
185 |
+
"relation": "disjointWith"
|
186 |
+
},
|
187 |
+
{
|
188 |
+
"ID": "NR_22a39a29",
|
189 |
+
"head": "cambial initial cell",
|
190 |
+
"tail": "plant epidermal initial cell",
|
191 |
+
"relation": "disjointWith"
|
192 |
+
},
|
193 |
+
{
|
194 |
+
"ID": "NR_384de60b",
|
195 |
+
"head": "phloem",
|
196 |
+
"tail": "leptome",
|
197 |
+
"relation": "disjointWith"
|
198 |
+
},
|
199 |
+
{
|
200 |
+
"ID": "NR_bde5ba2d",
|
201 |
+
"head": "tracheary element",
|
202 |
+
"tail": "hydroid",
|
203 |
+
"relation": "disjointWith"
|
204 |
+
},
|
205 |
+
{
|
206 |
+
"ID": "NR_ed6fce6c",
|
207 |
+
"head": "root initial cell",
|
208 |
+
"tail": "plant epidermal initial cell",
|
209 |
+
"relation": "disjointWith"
|
210 |
+
},
|
211 |
+
{
|
212 |
+
"ID": "NR_5661a1dd",
|
213 |
+
"head": "vascular system",
|
214 |
+
"tail": "plant organ",
|
215 |
+
"relation": "disjointWith"
|
216 |
+
},
|
217 |
+
{
|
218 |
+
"ID": "NR_bf5638fe",
|
219 |
+
"head": "plant epidermal initial cell",
|
220 |
+
"tail": "protonema side branch initial cell",
|
221 |
+
"relation": "disjointWith"
|
222 |
+
},
|
223 |
+
{
|
224 |
+
"ID": "NR_b7625d54",
|
225 |
+
"head": "vascular system",
|
226 |
+
"tail": "collective organ part structure",
|
227 |
+
"relation": "disjointWith"
|
228 |
+
},
|
229 |
+
{
|
230 |
+
"ID": "NR_628857d9",
|
231 |
+
"head": "plant cell",
|
232 |
+
"tail": "portion of plant tissue",
|
233 |
+
"relation": "disjointWith"
|
234 |
+
},
|
235 |
+
{
|
236 |
+
"ID": "NR_a4e425e0",
|
237 |
+
"head": "plant epidermal initial cell",
|
238 |
+
"tail": "protonema sub-apical initial cell",
|
239 |
+
"relation": "disjointWith"
|
240 |
+
},
|
241 |
+
{
|
242 |
+
"ID": "NR_341c5b3c",
|
243 |
+
"head": "vascular system",
|
244 |
+
"tail": "collective plant organ structure",
|
245 |
+
"relation": "disjointWith"
|
246 |
+
},
|
247 |
+
{
|
248 |
+
"ID": "NR_7c29bb1a",
|
249 |
+
"head": "shoot system",
|
250 |
+
"tail": "root system",
|
251 |
+
"relation": "disjointWith"
|
252 |
+
},
|
253 |
+
{
|
254 |
+
"ID": "NR_7cfd5334",
|
255 |
+
"head": "fruit operculum",
|
256 |
+
"tail": "spore capsule operculum",
|
257 |
+
"relation": "disjointWith"
|
258 |
+
}
|
259 |
+
]
|
260 |
+
}
|
po/type_taxonomies.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|