classDiagram
class Count
click Count href "Count.html"
Count : option
Count --> "1" VoteOptionEnum : option
click VoteOptionEnum href "VoteOptionEnum.html"
Count : value
Class: Count
The number of votes for one option in a VoteEvent.
URI: opengov:Count
Class Properties
| Property | Value |
|---|---|
| Class URI | opengov:Count |
Slots
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| option | 1 VoteOptionEnum |
Popolo encodes this as the Count’s rdf:type (opengov:YesCount etc.). | direct |
| value | 1 Integer |
Number of votes recorded for this option. | direct |
Usages
| used by | used in | type | used |
|---|---|---|---|
| VoteEvent | counts | range | Count |
Identifier and Mapping Information
Schema Source
- from schema: https://electepedia.com/schema/electepedia
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | opengov:Count |
| native | electepedia:Count |
LinkML Source
Direct
name: Count
description: The number of votes for one option in a VoteEvent.
from_schema: https://electepedia.com/schema/electepedia
rank: 1000
attributes:
option:
name: option
description: Popolo encodes this as the Count's rdf:type (opengov:YesCount etc.).
from_schema: https://electepedia.com/schema/electepedia
related_mappings:
- rdf:type
rank: 1000
slot_uri: schema:option
domain_of:
- Count
- Vote
range: VoteOptionEnum
required: true
value:
name: value
description: Number of votes recorded for this option.
from_schema: https://electepedia.com/schema/electepedia
slot_uri: rdf:value
domain_of:
- ExternalIdentifier
- Count
range: integer
required: true
minimum_value: 0
class_uri: opengov:CountInduced
name: Count
description: The number of votes for one option in a VoteEvent.
from_schema: https://electepedia.com/schema/electepedia
rank: 1000
attributes:
option:
name: option
description: Popolo encodes this as the Count's rdf:type (opengov:YesCount etc.).
from_schema: https://electepedia.com/schema/electepedia
related_mappings:
- rdf:type
rank: 1000
slot_uri: schema:option
owner: Count
domain_of:
- Count
- Vote
range: VoteOptionEnum
required: true
value:
name: value
description: Number of votes recorded for this option.
from_schema: https://electepedia.com/schema/electepedia
slot_uri: rdf:value
owner: Count
domain_of:
- ExternalIdentifier
- Count
range: integer
required: true
minimum_value: 0
class_uri: opengov:Count