Class: License
A license for a resource or product. The id field should be a URL to the license text, e.g., https://creativecommons.org/licenses/by/4.0/
URI: kgr:License
classDiagram
class License
click License href "License.html"
NamedThing <|-- License
click NamedThing href "NamedThing.html"
License : category
License : id
License : label
License : layout
License : logo
License : warnings
Inheritance
- NamedThing
- License
Slots
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| label | 0..1 String |
The name of the license | direct |
| logo | 0..1 Uriorcurie |
The URL of a logo for the license | direct |
| id | 1 String |
The identifier of an entity | NamedThing |
| category | 0..1 CategoryType |
The category of the entity | NamedThing |
| warnings | * String |
A list of warnings about an item to be displayed in the interface | NamedThing |
| layout | 0..1 String |
The layout of the entity | NamedThing |
Usages
| used by | used in | type | used |
|---|---|---|---|
| Resource | license | range | License |
| KnowledgeGraph | license | range | License |
| DataSource | license | range | License |
| DataModel | license | range | License |
| Aggregator | license | range | License |
| Product | license | range | License |
| GraphProduct | license | range | License |
| DataModelProduct | license | range | License |
| MappingProduct | license | range | License |
| ProcessProduct | license | range | License |
| GraphicalInterface | license | range | License |
| ProgrammingInterface | license | range | License |
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/knowledge-graph-hub/kg_registry_schema
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | kgr:License |
| native | kgr:License |
LinkML Source
Direct
```yaml
name: License
description: A license for a resource or product. The id field should be a URL to
the license text, e.g., https://creativecommons.org/licenses/by/4.0/
from_schema: https://w3id.org/knowledge-graph-hub/kg_registry_schema
is_a: NamedThing
attributes:
label:
name: label
description: The name of the license.
from_schema: https://w3id.org/knowledge-graph-hub/kg_registry_schema
domain_of:
- Individual
- Organization
- FundingSource
- License
- Usage
range: string
logo:
name: logo
description: The URL of a logo for the license. This is added at metadata parsing
time.
from_schema: https://w3id.org/knowledge-graph-hub/kg_registry_schema
rank: 1000
domain_of:
- License
range: uriorcurie
```
Induced
```yaml
name: License
description: A license for a resource or product. The id field should be a URL to
the license text, e.g., https://creativecommons.org/licenses/by/4.0/
from_schema: https://w3id.org/knowledge-graph-hub/kg_registry_schema
is_a: NamedThing
attributes:
label:
name: label
description: The name of the license.
from_schema: https://w3id.org/knowledge-graph-hub/kg_registry_schema
alias: label
owner: License
domain_of:
- Individual
- Organization
- FundingSource
- License
- Usage
range: string
logo:
name: logo
description: The URL of a logo for the license. This is added at metadata parsing
time.
from_schema: https://w3id.org/knowledge-graph-hub/kg_registry_schema
rank: 1000
alias: logo
owner: License
domain_of:
- License
range: uriorcurie
id:
name: id
description: The identifier of an entity. This is used to identify it within the
registry.
from_schema: https://w3id.org/knowledge-graph-hub/kg_registry_schema
rank: 1000
slot_uri: dcterms:identifier
identifier: true
alias: id
owner: License
domain_of:
- NamedThing
range: string
required: true
category:
name: category
description: The category of the entity. This should be identical to its class
name.
from_schema: https://w3id.org/knowledge-graph-hub/kg_registry_schema
rank: 1000
is_a: type
domain: NamedThing
alias: category
owner: License
domain_of:
- NamedThing
- Contact
range: category_type
warnings:
name: warnings
description: A list of warnings about an item to be displayed in the interface.
These should primarily warn users about unavailable resources, broken links,
and other obstacles to using a resource.
from_schema: https://w3id.org/knowledge-graph-hub/kg_registry_schema
rank: 1000
alias: warnings
owner: License
domain_of:
- NamedThing
range: string
multivalued: true
inlined: true
inlined_as_list: true
layout:
name: layout
description: The layout of the entity. This is used to determine how to display
the entity in the web interface. For resources, this is generally 'resource_detail'.
For products, this is generally 'product_detail'.
from_schema: https://w3id.org/knowledge-graph-hub/kg_registry_schema
rank: 1000
alias: layout
owner: License
domain_of:
- NamedThing
range: string
```