Class: Cost
The cost of a card or ability.
URI: mtgo:Cost
classDiagram
class Cost
Thing <|-- Cost
Cost : id
Cost : intersection
Cost : union
Cost : value
Cost : variable_cost
Cost <|-- ManaCost
Cost <|-- LifeCost
Cost : id
Cost : intersection
Cost : union
Cost : value
Cost : variable_cost
Inheritance
Slots
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| value | 0..1 xsd:integer |
The numeric part of a quantitative value | direct |
| intersection | 0..1 NamedThing |
A conjunction of two objects (a and b) | direct |
| union | 0..1 NamedThing |
A disjunction of two objects (a or b) | direct |
| variable_cost | 0..1 xsd:boolean |
Whether a cost is variable | direct |
| id | 1..1 xsd:anyURI |
A unique identifier for a thing | Thing |
Usages
| used by | used in | type | used |
|---|---|---|---|
| Cost | intersection | range | Cost |
| Cost | union | range | Cost |
| ManaCost | intersection | range | Cost |
| ManaCost | union | range | Cost |
| LifeCost | intersection | range | Cost |
| LifeCost | union | range | Cost |
| CardCollection | costs | range | Cost |
See Also
Identifier and Mapping Information
Schema Source
- from schema: https://cmdoret.net/mtg_ontology/
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | mtgo:Cost |
| native | mtgo:Cost |
LinkML Source
Direct
name: Cost
description: The cost of a card or ability.
from_schema: https://cmdoret.net/mtg_ontology/
see_also:
- mtg:Cost
rank: 1000
is_a: Thing
slots:
- value
- intersection
- union
- variable_cost
slot_usage:
intersection:
name: intersection
domain_of:
- Cost
- Specification
- Cost
- Specification
- Cost
- Specification
- Cost
- Specification
range: Cost
union:
name: union
domain_of:
- Cost
- Specification
- Cost
- Specification
- Cost
- Specification
- Cost
- Specification
range: Cost
class_uri: mtgo:Cost
Induced
name: Cost
description: The cost of a card or ability.
from_schema: https://cmdoret.net/mtg_ontology/
see_also:
- mtg:Cost
rank: 1000
is_a: Thing
slot_usage:
intersection:
name: intersection
domain_of:
- Cost
- Specification
- Cost
- Specification
- Cost
- Specification
- Cost
- Specification
range: Cost
union:
name: union
domain_of:
- Cost
- Specification
- Cost
- Specification
- Cost
- Specification
- Cost
- Specification
range: Cost
attributes:
value:
name: value
description: The numeric part of a quantitative value.
from_schema: https://cmdoret.net/mtg_ontology/
rank: 1000
slot_uri: mtgo:value
alias: value
owner: Cost
domain_of:
- Cost
- ValueSpecification
range: integer
intersection:
name: intersection
description: A conjunction of two objects (a and b).
from_schema: https://cmdoret.net/mtg_ontology/
rank: 1000
alias: intersection
owner: Cost
domain_of:
- Cost
- Specification
- Cost
- Specification
- Cost
- Specification
- Cost
- Specification
symmetric: true
range: Cost
union:
name: union
description: A disjunction of two objects (a or b).
from_schema: https://cmdoret.net/mtg_ontology/
rank: 1000
alias: union
owner: Cost
domain_of:
- Cost
- Specification
- Cost
- Specification
- Cost
- Specification
- Cost
- Specification
symmetric: true
range: Cost
variable_cost:
name: variable_cost
description: Whether a cost is variable. Denoted as X on cards.
from_schema: https://cmdoret.net/mtg_ontology/
see_also:
- mtg:x
rank: 1000
is_a: variable
slot_uri: mtgo:variable_cost
alias: variable_cost
owner: Cost
domain_of:
- Cost
range: boolean
id:
name: id
description: A unique identifier for a thing
from_schema: https://cmdoret.net/mtg_ontology/
rank: 1000
slot_uri: schema:identifier
identifier: true
alias: id
owner: Cost
domain_of:
- NamedThing
- Thing
range: uriorcurie
class_uri: mtgo:Cost