Class: TermPairwiseSimilarity
A simple pairwise similarity between two atomic concepts/terms
URI: sim:TermPairwiseSimilarity
Inheritance
-
TermPairwiseSimilarity
Slots
Name |
Cardinality and Range |
Description |
Inheritance |
---|---|---|---|
The first of the two entities being compared |
direct |
||
0..1 |
the label or name for the first entity |
direct |
|
0..1 |
the source for the first entity |
direct |
|
0..1 |
The second of the two entities being compared |
direct |
|
0..1 |
the label or name for the second entity |
direct |
|
0..1 |
the source for the second entity |
direct |
|
0..1 |
the most recent common ancestor of the two compared entities |
direct |
|
0..1 |
the name or label of the ancestor concept |
direct |
|
0..1 |
direct |
||
0..1 |
The IC of the object |
direct |
|
0..1 |
The IC of the subject |
direct |
|
0..1 |
The IC of the object |
direct |
|
0..1 |
The number of concepts in the intersection divided by the number in the union |
direct |
|
0..1 |
the dot product of two node embeddings divided by the product of their length… |
direct |
|
0..1 |
direct |
||
0..1 |
the geometric mean of the jaccard similarity and the information content |
direct |
Usages
used by |
used in |
type |
used |
---|---|---|---|
range |
Identifier and Mapping Information
Schema Source
from schema: https://w3id.org/oak/similarity
Mappings
Mapping Type |
Mapped Value |
---|---|
self |
sim:TermPairwiseSimilarity |
native |
sim:TermPairwiseSimilarity |
LinkML Source
Direct
</details>
### Induced
<details>
```yaml
name: TermPairwiseSimilarity
description: A simple pairwise similarity between two atomic concepts/terms
from_schema: https://w3id.org/oak/similarity
is_a: PairwiseSimilarity
attributes:
subject_id:
name: subject_id
description: The first of the two entities being compared
from_schema: https://w3id.org/oak/similarity
rank: 1000
slot_uri: sssom:subject_id
alias: subject_id
owner: TermPairwiseSimilarity
domain_of:
- TermPairwiseSimilarity
range: uriorcurie
required: true
subject_label:
name: subject_label
description: the label or name for the first entity
from_schema: https://w3id.org/oak/similarity
rank: 1000
slot_uri: sssom:subject_label
alias: subject_label
owner: TermPairwiseSimilarity
domain_of:
- TermPairwiseSimilarity
range: string
subject_source:
name: subject_source
description: the source for the first entity
from_schema: https://w3id.org/oak/similarity
rank: 1000
slot_uri: sssom:subject_source
alias: subject_source
owner: TermPairwiseSimilarity
domain_of:
- TermPairwiseSimilarity
range: string
object_id:
name: object_id
description: The second of the two entities being compared
from_schema: https://w3id.org/oak/similarity
rank: 1000
slot_uri: sssom:object_id
alias: object_id
owner: TermPairwiseSimilarity
domain_of:
- TermPairwiseSimilarity
range: uriorcurie
object_label:
name: object_label
description: the label or name for the second entity
from_schema: https://w3id.org/oak/similarity
rank: 1000
slot_uri: sssom:object_label
alias: object_label
owner: TermPairwiseSimilarity
domain_of:
- TermPairwiseSimilarity
range: string
object_source:
name: object_source
description: the source for the second entity
from_schema: https://w3id.org/oak/similarity
rank: 1000
slot_uri: sssom:object_source
alias: object_source
owner: TermPairwiseSimilarity
domain_of:
- TermPairwiseSimilarity
range: string
ancestor_id:
name: ancestor_id
description: the most recent common ancestor of the two compared entities. If
there are multiple MRCAs then the most informative one is selected
todos:
- decide on what to do when there are multiple possible ancestos
from_schema: https://w3id.org/oak/similarity
rank: 1000
alias: ancestor_id
owner: TermPairwiseSimilarity
domain_of:
- TermPairwiseSimilarity
range: uriorcurie
ancestor_label:
name: ancestor_label
description: the name or label of the ancestor concept
from_schema: https://w3id.org/oak/similarity
rank: 1000
alias: ancestor_label
owner: TermPairwiseSimilarity
domain_of:
- TermPairwiseSimilarity
range: string
ancestor_source:
name: ancestor_source
from_schema: https://w3id.org/oak/similarity
rank: 1000
alias: ancestor_source
owner: TermPairwiseSimilarity
domain_of:
- TermPairwiseSimilarity
range: string
object_information_content:
name: object_information_content
description: The IC of the object
from_schema: https://w3id.org/oak/similarity
rank: 1000
is_a: information_content
alias: object_information_content
owner: TermPairwiseSimilarity
domain_of:
- TermPairwiseSimilarity
range: NegativeLogValue
subject_information_content:
name: subject_information_content
description: The IC of the subject
from_schema: https://w3id.org/oak/similarity
rank: 1000
is_a: information_content
alias: subject_information_content
owner: TermPairwiseSimilarity
domain_of:
- TermPairwiseSimilarity
range: NegativeLogValue
ancestor_information_content:
name: ancestor_information_content
description: The IC of the object
from_schema: https://w3id.org/oak/similarity
rank: 1000
is_a: information_content
alias: ancestor_information_content
owner: TermPairwiseSimilarity
domain_of:
- TermPairwiseSimilarity
range: NegativeLogValue
jaccard_similarity:
name: jaccard_similarity
description: The number of concepts in the intersection divided by the number
in the union
from_schema: https://w3id.org/oak/similarity
rank: 1000
is_a: score
alias: jaccard_similarity
owner: TermPairwiseSimilarity
domain_of:
- TermPairwiseSimilarity
range: ZeroToOne
cosine_similarity:
name: cosine_similarity
description: the dot product of two node embeddings divided by the product of
their lengths
from_schema: https://w3id.org/oak/similarity
rank: 1000
is_a: score
alias: cosine_similarity
owner: TermPairwiseSimilarity
domain_of:
- TermPairwiseSimilarity
range: float
dice_similarity:
name: dice_similarity
from_schema: https://w3id.org/oak/similarity
rank: 1000
is_a: score
alias: dice_similarity
owner: TermPairwiseSimilarity
domain_of:
- TermPairwiseSimilarity
range: ZeroToOne
phenodigm_score:
name: phenodigm_score
description: the geometric mean of the jaccard similarity and the information
content
from_schema: https://w3id.org/oak/similarity
rank: 1000
is_a: score
alias: phenodigm_score
owner: TermPairwiseSimilarity
domain_of:
- TermPairwiseSimilarity
range: NonNegativeFloat
equals_expression: sqrt({jaccard_similarity} * {information_content})