You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ontology alignment involves finding correspondences between entities in different ontologies. OntoAligner addresses this challenge by leveraging **Knowledge Graph Embedding (KGE)** models. The core idea of KGE is to represent entities (like classes, properties, individuals) and relations within an ontology as **low-dimensional vectors** in a continuous vector space. These numerical representations (embeddings) are learned to preserve semantic relationships from the original ontology geometrically in the embedding space.
8
13
9
14
.. hint::
@@ -285,21 +290,6 @@ Here is the example on how to use KGE Aligner as a retriever model:
@@ -309,26 +299,31 @@ Here is the example on how to use KGE Aligner as a retriever model:
309
299
310
300
* - **KGE Default mode**
311
301
- In KGE aligners, the default mode is ``retriever=False``, where it produces **one-to-one** alignments, where each source entity is matched to the single most similar target entity.
312
-
313
-
314
302
* - **KGE Retriever mode**
315
-
- In KGE aligners, the default mode is ``retriever=True``, where it produces **one-to-many** alignments, where each source entity is matched to the single most similar target entity. Example output:
303
+
- In KGE aligners, the default mode is ``retriever=True``, where it produces **one-to-many** alignments, where each source entity is matched to multiple target entities. Example output:
316
304
317
305
318
306
319
-
.. tab:: ➡️ KGE Default Mode Example output
307
+
.. tab:: ➡️ KGE Retriever Mode Example output
320
308
321
-
::
309
+
::
322
310
323
-
{
324
-
'source': 'http://mouse.owl#MA_0000143',
325
-
'target-cands': [...],
326
-
'score-cands': [...]
327
-
}
311
+
[
312
+
{
313
+
"source": "http://mouse.owl#MA_0000143",
314
+
"target-cands": [
315
+
"http://human.owl#HBA_0000214",
316
+
"http://human.owl#HBA_0000762",
317
+
"http://human.owl#HBA_0000891"
318
+
],
319
+
"score-cands": [0.87, 0.82, 0.77]
320
+
},
321
+
...
322
+
]
328
323
329
324
330
325
331
-
.. tab:: ➡️ KGE Retriever Mode Example output
326
+
.. tab:: ➡️ KGE Default Mode Example output
332
327
333
328
::
334
329
@@ -337,3 +332,10 @@ Here is the example on how to use KGE Aligner as a retriever model:
0 commit comments