classDiagram
class VoteEvent
click VoteEvent href "VoteEvent.html"
HasProvenance <|-- VoteEvent
click HasProvenance href "HasProvenance.html"
VoteEvent : counts
VoteEvent --> "*" Count : counts
click Count href "Count.html"
VoteEvent : id
VoteEvent : motion
VoteEvent --> "1" Motion : motion
click Motion href "Motion.html"
VoteEvent : record_status
VoteEvent --> "0..1" RecordStatusEnum : record_status
click RecordStatusEnum href "RecordStatusEnum.html"
VoteEvent : recorded_at
VoteEvent : recorded_by
VoteEvent : result
VoteEvent --> "0..1" VoteResultEnum : result
click VoteResultEnum href "VoteResultEnum.html"
VoteEvent : sources
VoteEvent --> "*" Source : sources
click Source href "Source.html"
VoteEvent : start_date
Class: VoteEvent
A single vote held on a Motion, with its tallies.
URI: opengov:VoteEvent
Inheritance
- VoteEvent [ HasProvenance]
Class Properties
| Property | Value |
|---|---|
| Class URI | opengov:VoteEvent |
Slots
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| id | 1 Uriorcurie |
Stable Electepedia identifier, e.g. elp:person/jane-example. External identifiers (Bioguide, FEC, Wikidata…) go in identifiers. |
direct |
| start_date | 1 Date |
Date the role, position, event or period began. | direct |
| motion | 1 Motion |
The motion voted on. | direct |
| result | 0..1 VoteResultEnum |
Whether the motion passed. | direct |
| counts | * Count |
Tallies per vote option, as officially reported. | direct |
| sources | * Source |
The source records this record was derived from. | HasProvenance |
| recorded_by | 0..1 String |
Contributor account or automated pipeline that created this record (e.g. “user:alice”, “pipeline:congress-votes@v1”). | HasProvenance |
| recorded_at | 0..1 Datetime |
When the record was created in Electepedia, not when the underlying event happened. | HasProvenance |
| record_status | 0..1 RecordStatusEnum |
Whether this record accurately reflects its sources (e.g. the person really said this, the vote really happened this way). This is NOT a judgement on whether a claim is true; that is what ClaimReview is for. | HasProvenance |
Usages
| used by | used in | type | used |
|---|---|---|---|
| Dataset | vote_events | range | VoteEvent |
| Vote | vote_event | range | VoteEvent |
Identifier and Mapping Information
Schema Source
- from schema: https://electepedia.com/schema/electepedia
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | opengov:VoteEvent |
| native | electepedia:VoteEvent |
LinkML Source
Direct
name: VoteEvent
description: A single vote held on a Motion, with its tallies.
from_schema: https://electepedia.com/schema/electepedia
rank: 1000
mixins:
- HasProvenance
slots:
- id
- start_date
slot_usage:
start_date:
name: start_date
required: true
attributes:
motion:
name: motion
description: The motion voted on.
from_schema: https://electepedia.com/schema/electepedia
rank: 1000
slot_uri: opengov:motion
domain_of:
- VoteEvent
range: Motion
required: true
result:
name: result
description: Whether the motion passed.
from_schema: https://electepedia.com/schema/electepedia
rank: 1000
slot_uri: opengov:result
domain_of:
- VoteEvent
range: VoteResultEnum
counts:
name: counts
description: Tallies per vote option, as officially reported.
from_schema: https://electepedia.com/schema/electepedia
rank: 1000
slot_uri: opengov:count
domain_of:
- VoteEvent
range: Count
multivalued: true
inlined_as_list: true
class_uri: opengov:VoteEventInduced
name: VoteEvent
description: A single vote held on a Motion, with its tallies.
from_schema: https://electepedia.com/schema/electepedia
rank: 1000
mixins:
- HasProvenance
slot_usage:
start_date:
name: start_date
required: true
attributes:
motion:
name: motion
description: The motion voted on.
from_schema: https://electepedia.com/schema/electepedia
rank: 1000
slot_uri: opengov:motion
owner: VoteEvent
domain_of:
- VoteEvent
range: Motion
required: true
result:
name: result
description: Whether the motion passed.
from_schema: https://electepedia.com/schema/electepedia
rank: 1000
slot_uri: opengov:result
owner: VoteEvent
domain_of:
- VoteEvent
range: VoteResultEnum
counts:
name: counts
description: Tallies per vote option, as officially reported.
from_schema: https://electepedia.com/schema/electepedia
rank: 1000
slot_uri: opengov:count
owner: VoteEvent
domain_of:
- VoteEvent
range: Count
multivalued: true
inlined: true
inlined_as_list: true
id:
name: id
description: Stable Electepedia identifier, e.g. elp:person/jane-example. External
identifiers (Bioguide, FEC, Wikidata...) go in `identifiers`.
from_schema: https://electepedia.com/schema/electepedia
rank: 1000
slot_uri: schema:identifier
identifier: true
owner: VoteEvent
domain_of:
- NamedThing
- Post
- Membership
- Source
- Statement
- Claim
- ClaimReview
- Topic
- Motion
- VoteEvent
- Vote
- FinancialTransaction
range: uriorcurie
required: true
start_date:
name: start_date
description: Date the role, position, event or period began.
from_schema: https://electepedia.com/schema/electepedia
close_mappings:
- schema:validFrom
rank: 1000
slot_uri: schema:startDate
owner: VoteEvent
domain_of:
- Post
- Membership
- Event
- VoteEvent
range: date
required: true
sources:
name: sources
description: The source records this record was derived from.
from_schema: https://electepedia.com/schema/electepedia
close_mappings:
- dcterms:source
rank: 1000
slot_uri: prov:wasDerivedFrom
owner: VoteEvent
domain_of:
- Dataset
- HasProvenance
range: Source
multivalued: true
recorded_by:
name: recorded_by
description: Contributor account or automated pipeline that created this record
(e.g. "user:alice", "pipeline:congress-votes@v1").
from_schema: https://electepedia.com/schema/electepedia
rank: 1000
slot_uri: prov:wasAttributedTo
owner: VoteEvent
domain_of:
- HasProvenance
range: string
recorded_at:
name: recorded_at
description: When the record was created in Electepedia, not when the underlying
event happened.
from_schema: https://electepedia.com/schema/electepedia
rank: 1000
slot_uri: pav:createdOn
owner: VoteEvent
domain_of:
- HasProvenance
range: datetime
record_status:
name: record_status
description: Whether this record accurately reflects its sources (e.g. the person
really said this, the vote really happened this way). This is NOT a judgement
on whether a claim is true; that is what ClaimReview is for.
from_schema: https://electepedia.com/schema/electepedia
rank: 1000
ifabsent: string(unverified)
owner: VoteEvent
domain_of:
- HasProvenance
range: RecordStatusEnum
class_uri: opengov:VoteEvent