Class: MappingRule
An individual mapping rule, if preconditions match the postconditions are applied
classDiagram
class MappingRule
click MappingRule href "../MappingRule"
MappingRule : description
MappingRule : oneway
MappingRule : postconditions
MappingRule --> "0..1" Postcondition : postconditions
click Postcondition href "../Postcondition"
MappingRule : preconditions
MappingRule --> "0..1" Precondition : preconditions
click Precondition href "../Precondition"
MappingRule : synonymizer
MappingRule --> "0..1" Synonymizer : synonymizer
click Synonymizer href "../Synonymizer"
Slots
Name |
Cardinality and Range |
Description |
Inheritance |
---|---|---|---|
0..1 |
direct |
||
0..1 |
if true then subject and object can be switched and predicate inverted |
direct |
|
0..1 |
all of the criteria that must be true before a rule is fired |
direct |
|
0..1 |
conditions that apply if preconditions match |
direct |
|
0..1 |
Normalizing rules to labels |
direct |
Usages
used by |
used in |
type |
used |
---|---|---|---|
range |
Identifier and Mapping Information
Schema Source
from schema: https://w3id.org/oak/mapping-rules-datamodel
Mappings
Mapping Type |
Mapped Value |
---|---|
self |
mappingrules:MappingRule |
native |
mappingrules:MappingRule |
LinkML Source
Direct
```yaml
name: MappingRule
description: An individual mapping rule, if preconditions match the postconditions
are applied
from_schema: https://w3id.org/oak/mapping-rules-datamodel
attributes:
description:
name: description
from_schema: https://w3id.org/oak/mapping-rules-datamodel
rank: 1000
domain_of:
- MappingRule
- Synonymizer
oneway:
name: oneway
description: if true then subject and object can be switched and predicate inverted
from_schema: https://w3id.org/oak/mapping-rules-datamodel
rank: 1000
ifabsent: 'False'
domain_of:
- MappingRule
range: boolean
preconditions:
name: preconditions
description: all of the criteria that must be true before a rule is fired
from_schema: https://w3id.org/oak/mapping-rules-datamodel
rank: 1000
slot_uri: sh:condition
domain_of:
- MappingRule
range: Precondition
postconditions:
name: postconditions
description: conditions that apply if preconditions match
from_schema: https://w3id.org/oak/mapping-rules-datamodel
rank: 1000
domain_of:
- MappingRule
range: Postcondition
synonymizer:
name: synonymizer
description: Normalizing rules to labels.
from_schema: https://w3id.org/oak/mapping-rules-datamodel
rank: 1000
domain_of:
- MappingRule
range: Synonymizer
</details>
### Induced
<details>
```yaml
name: MappingRule
description: An individual mapping rule, if preconditions match the postconditions
are applied
from_schema: https://w3id.org/oak/mapping-rules-datamodel
attributes:
description:
name: description
from_schema: https://w3id.org/oak/mapping-rules-datamodel
rank: 1000
alias: description
owner: MappingRule
domain_of:
- MappingRule
- Synonymizer
range: string
oneway:
name: oneway
description: if true then subject and object can be switched and predicate inverted
from_schema: https://w3id.org/oak/mapping-rules-datamodel
rank: 1000
ifabsent: 'False'
alias: oneway
owner: MappingRule
domain_of:
- MappingRule
range: boolean
preconditions:
name: preconditions
description: all of the criteria that must be true before a rule is fired
from_schema: https://w3id.org/oak/mapping-rules-datamodel
rank: 1000
slot_uri: sh:condition
alias: preconditions
owner: MappingRule
domain_of:
- MappingRule
range: Precondition
postconditions:
name: postconditions
description: conditions that apply if preconditions match
from_schema: https://w3id.org/oak/mapping-rules-datamodel
rank: 1000
alias: postconditions
owner: MappingRule
domain_of:
- MappingRule
range: Postcondition
synonymizer:
name: synonymizer
description: Normalizing rules to labels.
from_schema: https://w3id.org/oak/mapping-rules-datamodel
rank: 1000
alias: synonymizer
owner: MappingRule
domain_of:
- MappingRule
range: Synonymizer