# Class: BestMatch URI: [sim:BestMatch](https://w3id.org/linkml/similarity/BestMatch) ```{mermaid} classDiagram class BestMatch BestMatch : match_source BestMatch : match_source_label BestMatch : match_subsumer BestMatch : match_subsumer_label BestMatch : match_target BestMatch : match_target_label BestMatch : score BestMatch : similarity BestMatch --> TermPairwiseSimilarity : similarity ``` ## Slots | Name | Cardinality and Range | Description | Inheritance | | --- | --- | --- | --- | | [match_source](match_source.md) | 1..1
[String](String.md) | | direct | | [match_source_label](match_source_label.md) | 0..1
[String](String.md) | | direct | | [match_target](match_target.md) | 0..1
[String](String.md) | the entity matches | direct | | [match_target_label](match_target_label.md) | 0..1
[String](String.md) | | direct | | [score](score.md) | 1..1
[Float](Float.md) | | direct | | [match_subsumer](match_subsumer.md) | 0..1
[Uriorcurie](Uriorcurie.md) | | direct | | [match_subsumer_label](match_subsumer_label.md) | 0..1
[String](String.md) | | direct | | [similarity](similarity.md) | 1..1
[TermPairwiseSimilarity](TermPairwiseSimilarity.md) | | direct | ## Usages | used by | used in | type | used | | --- | --- | --- | --- | | [TermSetPairwiseSimilarity](TermSetPairwiseSimilarity.md) | [subject_best_matches](subject_best_matches.md) | range | [BestMatch](BestMatch.md) | | [TermSetPairwiseSimilarity](TermSetPairwiseSimilarity.md) | [object_best_matches](object_best_matches.md) | range | [BestMatch](BestMatch.md) | ## Identifier and Mapping Information ### Schema Source * from schema: https://w3id.org/oak/similarity ## Mappings | Mapping Type | Mapped Value | | --- | --- | | self | sim:BestMatch | | native | sim:BestMatch | ## LinkML Source ### Direct
```yaml name: BestMatch from_schema: https://w3id.org/oak/similarity attributes: match_source: name: match_source comments: - note that the match_source is either the subject or the object from_schema: https://w3id.org/oak/similarity rank: 1000 identifier: true domain_of: - BestMatch required: true match_source_label: name: match_source_label from_schema: https://w3id.org/oak/similarity rank: 1000 domain_of: - BestMatch match_target: name: match_target description: the entity matches from_schema: https://w3id.org/oak/similarity rank: 1000 domain_of: - BestMatch match_target_label: name: match_target_label from_schema: https://w3id.org/oak/similarity rank: 1000 domain_of: - BestMatch score: name: score from_schema: https://w3id.org/oak/similarity domain_of: - BestMatch range: float required: true match_subsumer: name: match_subsumer from_schema: https://w3id.org/oak/similarity rank: 1000 domain_of: - BestMatch range: uriorcurie match_subsumer_label: name: match_subsumer_label from_schema: https://w3id.org/oak/similarity rank: 1000 domain_of: - BestMatch similarity: name: similarity from_schema: https://w3id.org/oak/similarity rank: 1000 domain_of: - BestMatch range: TermPairwiseSimilarity required: true ```
### Induced
```yaml name: BestMatch from_schema: https://w3id.org/oak/similarity attributes: match_source: name: match_source comments: - note that the match_source is either the subject or the object from_schema: https://w3id.org/oak/similarity rank: 1000 identifier: true alias: match_source owner: BestMatch domain_of: - BestMatch range: string required: true match_source_label: name: match_source_label from_schema: https://w3id.org/oak/similarity rank: 1000 alias: match_source_label owner: BestMatch domain_of: - BestMatch range: string match_target: name: match_target description: the entity matches from_schema: https://w3id.org/oak/similarity rank: 1000 alias: match_target owner: BestMatch domain_of: - BestMatch range: string match_target_label: name: match_target_label from_schema: https://w3id.org/oak/similarity rank: 1000 alias: match_target_label owner: BestMatch domain_of: - BestMatch range: string score: name: score from_schema: https://w3id.org/oak/similarity alias: score owner: BestMatch domain_of: - BestMatch range: float required: true match_subsumer: name: match_subsumer from_schema: https://w3id.org/oak/similarity rank: 1000 alias: match_subsumer owner: BestMatch domain_of: - BestMatch range: uriorcurie match_subsumer_label: name: match_subsumer_label from_schema: https://w3id.org/oak/similarity rank: 1000 alias: match_subsumer_label owner: BestMatch domain_of: - BestMatch range: string similarity: name: similarity from_schema: https://w3id.org/oak/similarity rank: 1000 alias: similarity owner: BestMatch domain_of: - BestMatch range: TermPairwiseSimilarity required: true ```