Mapping Rules Datamodel

A datamodel for specifying lexical mapping rules

URI: https://w3id.org/oak/mapping-rules-datamodel

Name: mapping-rules-datamodel

Classes

Class

Description

Activity

Generic grouping for any lexical operation

        LexicalTransformation

An atomic lexical transformation applied on a term (string) yielding a transformed string

        LexicalTransformationPipeline

A collection of atomic lexical transformations that are applied in serial fashion

Any

None

LexicalGrouping

A grouping of ontology elements by a shared lexical term

LexicalIndex

An index over an ontology keyed by lexical unit

MappingRule

An individual mapping rule, if preconditions match the postconditions are applied

MappingRuleCollection

A collection of mapping rules

Postcondition

None

Precondition

A pattern to be matched against an individual SSSOM mapping

RelationshipToTerm

A relationship of an ontology element to a lexical term

RuleSet

A set of rules for generating synonyms or alternate lexical elements.

Synonymizer

None

Test

None

Slots

Slot

Description

description

element

element_term

the original term used in the element

groupings

all groupings

input

Input string for the rule

mapping_source_one_of

match

Reg-ex rule to match substrings in labels

match_scope

Scope of the reg-ex rule

minimum_confidence

name

object_match_field_one_of

object_source_one_of

oneway

if true then subject and object can be switched and predicate inverted

output

Output based on the rule

params

Any parameters to be applied to the transformation algorithm

pipeline

pipelines

all pipelines used to build the index

postconditions

conditions that apply if preconditions match

preconditions

all of the criteria that must be true before a rule is fired

predicate

predicate_id

predicate_id_one_of

prefix

The rule applies to nodes of a specific prefix

qualifier

Type of match for the new synonym generated

relationships

All ontology elements grouped and their relationship to the normalized term

replacement

Reg-ex rule to replace substrings in labels

rules

all rules

source

subject_match_field_one_of

subject_source_one_of

synonymized

synonymizer

Normalizing rules to labels

term

A normalized term that groups ontology elements

tests

Unit tests for each rules

transformations

transformations_included_in

type

The type of transformation

weight

Weighting of the rule, positive increases the confidence, negative decreases

Enumerations

Enumeration

Description

TransformationType

A controlled datamodels of the types of transformation that can be applied to

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

Jsonpath

A string encoding a JSON Path

Jsonpointer

A string encoding a JSON Pointer

Ncname

Prefix part of CURIE

Nodeidentifier

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

Objectidentifier

A URI or CURIE that represents an object in the model

RegularExpressionString

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

Subsets

Subset

Description