classDiagram
class NamedThing
click NamedThing href "NamedThing.html"
NamedThing <|-- Agent
click Agent href "Agent.html"
NamedThing <|-- Event
click Event href "Event.html"
NamedThing <|-- Bill
click Bill href "Bill.html"
NamedThing : description
NamedThing : id
NamedThing : identifiers
NamedThing --> "*" ExternalIdentifier : identifiers
click ExternalIdentifier href "ExternalIdentifier.html"
NamedThing : name
Class: NamedThing
Base for records that have a display name and may carry external identifiers.
- NOTE: this is an abstract class and should not be instantiated directly
Inheritance
- NamedThing
- Agent
- Event [ HasProvenance]
- Bill [ HasProvenance]
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 |
| name | 1 String |
Primary display name. | direct |
| description | 0..1 String |
Free-text summary of the record. | direct |
| identifiers | * ExternalIdentifier |
Identifiers for this entity in external registries. | direct |
Identifier and Mapping Information
Schema Source
- from schema: https://electepedia.com/schema/electepedia
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | electepedia:NamedThing |
| native | electepedia:NamedThing |
LinkML Source
Direct
name: NamedThing
description: Base for records that have a display name and may carry external identifiers.
from_schema: https://electepedia.com/schema/electepedia
rank: 1000
abstract: true
slots:
- id
- name
- description
- identifiers
slot_usage:
name:
name: name
required: trueInduced
name: NamedThing
description: Base for records that have a display name and may carry external identifiers.
from_schema: https://electepedia.com/schema/electepedia
rank: 1000
abstract: true
slot_usage:
name:
name: name
required: true
attributes:
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: NamedThing
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: NamedThing
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: NamedThing
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: NamedThing
domain_of:
- NamedThing
range: ExternalIdentifier
multivalued: true
inlined: true
inlined_as_list: true