Skip to content

Commit

Permalink
Update vocab.py
Browse files Browse the repository at this point in the history
  • Loading branch information
cthoyt committed Jan 5, 2025
1 parent 107a678 commit 71bcb6b
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/curies/vocab.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@

## Synonym Relations

#: The parent property for having synonyms, see :data:`synonym_scopes`
#: for a dictionary of all synonym types
has_synonym = Reference(prefix="oboInOwl", identifier="hasSynonym", name="has synonym")

has_exact_synonym = Reference(
prefix="oboInOwl", identifier="hasExactSynonym", name="has exact synonym"
)
Expand All @@ -35,6 +38,8 @@

## OMO Synonym Types

#: The parent class for all synonym types, see :data:`synonym_types`
#: for the set of all synonym types
synonym_type = Reference(prefix="oboInOwl", identifier="SynonymType", name="synonym type")

abbreviation = Reference(prefix="OMO", identifier="0003000", name="abbreviation")
Expand Down Expand Up @@ -75,6 +80,10 @@

## Mapping Relations

#: The parent property for semantic mappings from ``skos``, see :data:`semantic_mapping_scopes`
#: for a list of all usable properties
match = Reference(prefix="skos", identifier="mappingRelation", name="is in mapping relation with")

exact_match = Reference(prefix="skos", identifier="exactMatch", name="exact match")
narrow_match = Reference(prefix="skos", identifier="narrowMatch", name="narrow match")
broad_match = Reference(prefix="skos", identifier="broadMatch", name="broad match")
Expand All @@ -95,6 +104,8 @@

## Matching Process Types

#: The parent class for matching processes, see :data:`matching_processes`
#: for the set of all matching processes.
matching_process = Reference(prefix="semapv", identifier="Matching", name="matching process")

background_knowledge_based_matching_process = Reference(
Expand Down Expand Up @@ -141,7 +152,7 @@
)

#: A set of matching types from ``semapv``
matching_process_types: set[Reference] = {
matching_processes: set[Reference] = {
background_knowledge_based_matching_process,
composite_matching_process,
instance_based_matching_process,
Expand Down

0 comments on commit 71bcb6b

Please sign in to comment.