Semantic Similarity

A datamodel for representing semantic similarity between terms or lists of terms.

URI: https://w3id.org/oak/similarity

Name: similarity

Classes

Class

Description

BestMatch

None

InformationContentMethod

Describes how information content (IC) scores were computed. IC scores are only comparable if they were computed using the same method. If absent, IC scores are assumed to be log2 bits computed by OAK using the ontology as the corpus.

PairwiseSimilarity

Abstract grouping for representing individual pairwise similarities

        TermPairwiseSimilarity

A simple pairwise similarity between two atomic concepts/terms

        TermSetPairwiseSimilarity

A simple pairwise similarity between two sets of concepts/terms

TermInfo

None

Slots

Slot

Description

ancestor_id

the most recent common ancestor of the two compared entities

ancestor_information_content

The IC of the object

ancestor_label

the name or label of the ancestor concept

ancestor_source

average_score

background_count

The number of items (terms or annotated entities) in the background set, i

best_score

closure_predicates

The predicates used to compute the reflexive transitive closure when determin…

corpus

The corpus used to determine term frequencies

cosine_similarity

the dot product of two node embeddings divided by the product of their length…

dice_similarity

id

information_content

The IC is the negative log of the probability of the concept

information_content_method

How the information content scores in this object were computed

intersection_count

jaccard_similarity

The number of concepts in the intersection divided by the number in the union

label

match_source

match_source_label

match_subsumer

match_subsumer_label

match_target

the entity matches

match_target_label

metric

object_best_matches

object_id

The second of the two entities being compared

object_information_content

The IC of the object

object_label

the label or name for the second entity

object_source

the source for the second entity

object_termset

overlap_coefficient

phenodigm_score

the geometric mean of the jaccard similarity and the information content

scale

The scale or units of the IC scores

score

Abstract base slot for different kinds of scores

similarity

source

The system or resource that computed the scores, e

subject_best_matches

subject_id

The first of the two entities being compared

subject_information_content

The IC of the subject

subject_label

the label or name for the first entity

subject_source

the source for the first entity

subject_termset

subsumed_by_score

subsumes_score

union_count

Enumerations

Enumeration

Description

InformationContentCorpusEnum

InformationContentScaleEnum

Types

Type

Description

Boolean

A binary (true or false) value

Curie

a compact URI

Date

a date (year, month and day) in an idealized calendar

DateOrDatetime

Either a date or a datetime

Datetime

The combination of a date and time

Decimal

A real number with arbitrary precision that conforms to the xsd:decimal speci…

Double

A real number that conforms to the xsd:double specification

Float

A real number that conforms to the xsd:float specification

Integer

An integer

ItemCount

Jsonpath

A string encoding a JSON Path

Jsonpointer

A string encoding a JSON Pointer

Ncname

Prefix part of CURIE

NegativeLogValue

Nodeidentifier

A URI, CURIE or BNODE that represents a node in a model

NonNegativeFloat

Objectidentifier

A URI or CURIE that represents an object in the model

Sparqlpath

A string encoding a SPARQL Property Path

String

A character string

Time

A time object represents a (local) time of day, independent of any particular…

Uri

a complete URI

Uriorcurie

a URI or a CURIE

ZeroToOne

Subsets

Subset

Description