tekrajchhetri commited on
Commit
f4491e7
·
verified ·
1 Parent(s): 26a8e29

description updated

Browse files
Files changed (1) hide show
  1. README.md +42 -1
README.md CHANGED
@@ -6,4 +6,45 @@ tags:
6
  - ontology
7
  - knowledge-graphs
8
  - embeddings
9
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  - ontology
7
  - knowledge-graphs
8
  - embeddings
9
+ ---
10
+
11
+ # Ontology & Embedding Database
12
+
13
+ This repository provides the **local ontology database** to be used by StructSense (in general can be used for any other purpose), including both structured ontological data and precomputed vector embeddings for efficient semantic search.
14
+
15
+ ## Overview
16
+
17
+ - **3,925,124 classes**
18
+ - **2,683,756 synonyms**
19
+ - Data storage:
20
+ - **SQLite** → structured ontology data
21
+ - **ChromaDB** → vector embeddings for semantic retrieval
22
+
23
+
24
+ Vector embeddings (includes label + synonyms + alternative labels + definition) are generated using the `BAAI/bge-large-en-v1.5` model to enable high-quality semantic similarity search.
25
+
26
+
27
+ ## Database Schema (Main Tables)
28
+
29
+ If you plan to extend or enrich the database, the primary tables include:
30
+
31
+ - `ontologies`
32
+ - `classes`
33
+ - `synonyms`
34
+ - `labels`
35
+ - `parents`
36
+
37
+
38
+ ## 🔎 Search & Query
39
+
40
+ You can explore the ontology, perform semantic search, and run database queries via the Hugging Face Space:
41
+
42
+ 👉 https://huggingface.co/spaces/sensein/demo-ontology-search
43
+
44
+
45
+ ## Data Source
46
+
47
+ The original ontology data is sourced from **BioPortal**, which aggregates biomedical ontologies from multiple authoritative providers.
48
+
49
+
50
+