classDiagram
class Bill
click Bill href "Bill.html"
HasProvenance <|-- Bill
click HasProvenance href "HasProvenance.html"
NamedThing <|-- Bill
click NamedThing href "NamedThing.html"
Bill : description
Bill : id
Bill : identifiers
Bill --> "*" ExternalIdentifier : identifiers
click ExternalIdentifier href "ExternalIdentifier.html"
Bill : legislation_identifier
Bill : legislative_session
Bill : legislature
Bill --> "1" Organization : legislature
click Organization href "Organization.html"
Bill : name
Bill : record_status
Bill --> "0..1" RecordStatusEnum : record_status
click RecordStatusEnum href "RecordStatusEnum.html"
Bill : recorded_at
Bill : recorded_by
Bill : sources
Bill --> "*" Source : sources
click Source href "Source.html"
Bill : sponsors
Bill --> "*" Person : sponsors
click Person href "Person.html"
Bill : topics
Bill --> "*" Topic : topics
click Topic href "Topic.html"
Bill : url
Class: Bill
A piece of legislation. name is its title.
URI: schema:Legislation
Inheritance
- NamedThing
- Bill [ HasProvenance]
Class Properties
| Property | Value |
|---|---|
| Class URI | schema:Legislation |
Slots
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| legislative_session | 0..1 String |
e.g. “119th Congress” or “2025 Regular Session”. | direct |
| url | 0..1 Uri |
Canonical web page for the record, e.g. an official site or the published fact- check. | direct |
| topics | * Topic |
Subject areas the record is about. | direct |
| legislation_identifier | 1 String |
e.g. “H.R. 1234”. | direct |
| legislature | 1 Organization |
The legislature or chamber where the bill was introduced. | direct |
| sponsors | * Person |
Legislators who sponsored or cosponsored the bill. | 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 |
| id | 1 Uriorcurie |
Stable Electepedia identifier, e.g. elp:person/jane-example. External identifiers (Bioguide, FEC, Wikidata…) go in identifiers. |
NamedThing |
| name | 1 String |
Primary display name. | NamedThing |
| description | 0..1 String |
Free-text summary of the record. | NamedThing |
| identifiers | * ExternalIdentifier |
Identifiers for this entity in external registries. | NamedThing |
Usages
| used by | used in | type | used |
|---|---|---|---|
| Dataset | bills | range | Bill |
| Motion | bill | range | Bill |
Identifier and Mapping Information
Schema Source
- from schema: https://electepedia.com/schema/electepedia
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | schema:Legislation |
| native | electepedia:Bill |
LinkML Source
Direct
name: Bill
description: A piece of legislation. `name` is its title.
from_schema: https://electepedia.com/schema/electepedia
rank: 1000
is_a: NamedThing
mixins:
- HasProvenance
slots:
- legislative_session
- url
- topics
attributes:
legislation_identifier:
name: legislation_identifier
description: e.g. "H.R. 1234".
from_schema: https://electepedia.com/schema/electepedia
rank: 1000
slot_uri: schema:legislationIdentifier
domain_of:
- Bill
required: true
legislature:
name: legislature
description: The legislature or chamber where the bill was introduced.
from_schema: https://electepedia.com/schema/electepedia
rank: 1000
slot_uri: schema:legislationJurisdiction
domain_of:
- Bill
range: Organization
required: true
sponsors:
name: sponsors
description: Legislators who sponsored or cosponsored the bill.
from_schema: https://electepedia.com/schema/electepedia
rank: 1000
slot_uri: schema:sponsor
domain_of:
- Bill
range: Person
multivalued: true
class_uri: schema:LegislationInduced
name: Bill
description: A piece of legislation. `name` is its title.
from_schema: https://electepedia.com/schema/electepedia
rank: 1000
is_a: NamedThing
mixins:
- HasProvenance
attributes:
legislation_identifier:
name: legislation_identifier
description: e.g. "H.R. 1234".
from_schema: https://electepedia.com/schema/electepedia
rank: 1000
slot_uri: schema:legislationIdentifier
owner: Bill
domain_of:
- Bill
range: string
required: true
legislature:
name: legislature
description: The legislature or chamber where the bill was introduced.
from_schema: https://electepedia.com/schema/electepedia
rank: 1000
slot_uri: schema:legislationJurisdiction
owner: Bill
domain_of:
- Bill
range: Organization
required: true
sponsors:
name: sponsors
description: Legislators who sponsored or cosponsored the bill.
from_schema: https://electepedia.com/schema/electepedia
rank: 1000
slot_uri: schema:sponsor
owner: Bill
domain_of:
- Bill
range: Person
multivalued: true
legislative_session:
name: legislative_session
description: e.g. "119th Congress" or "2025 Regular Session".
from_schema: https://electepedia.com/schema/electepedia
rank: 1000
slot_uri: opengov:legislativeSession
owner: Bill
domain_of:
- Bill
- Motion
range: string
url:
name: url
description: Canonical web page for the record, e.g. an official site or the published
fact- check.
from_schema: https://electepedia.com/schema/electepedia
rank: 1000
slot_uri: schema:url
owner: Bill
domain_of:
- OnlineAccount
- Organization
- Source
- Event
- ClaimReview
- Bill
range: uri
topics:
name: topics
description: Subject areas the record is about.
from_schema: https://electepedia.com/schema/electepedia
rank: 1000
slot_uri: schema:about
owner: Bill
domain_of:
- Dataset
- Event
- Statement
- Claim
- Bill
range: Topic
multivalued: 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: Bill
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: Bill
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: Bill
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: Bill
domain_of:
- HasProvenance
range: RecordStatusEnum
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: Bill
domain_of:
- NamedThing
- Post
- Membership
- Source
- Statement
- Claim
- ClaimReview
- Topic
- Motion
- VoteEvent
- Vote
- FinancialTransaction
range: uriorcurie
required: true
name:
name: name
description: Primary display name.
from_schema: https://electepedia.com/schema/electepedia
exact_mappings:
- foaf:name
- skos:prefLabel
rank: 1000
slot_uri: schema:name
owner: Bill
domain_of:
- NamedThing
- Source
- Topic
range: string
required: true
description:
name: description
description: Free-text summary of the record.
from_schema: https://electepedia.com/schema/electepedia
exact_mappings:
- dcterms:description
rank: 1000
slot_uri: schema:description
owner: Bill
domain_of:
- NamedThing
- Topic
- FinancialTransaction
range: string
identifiers:
name: identifiers
description: Identifiers for this entity in external registries.
from_schema: https://electepedia.com/schema/electepedia
close_mappings:
- dcterms:identifier
rank: 1000
slot_uri: schema:identifier
owner: Bill
domain_of:
- NamedThing
range: ExternalIdentifier
multivalued: true
inlined: true
inlined_as_list: true
class_uri: schema:Legislation