Class in Linked Open Knowledge Format (LOKF)
Agent
A person or organization responsible for a concept.
- NOTE: this is an abstract class and should not be instantiated directly
URI: prov:Agent
classDiagram
class Agent
click Agent href "../../classes/Agent/"
Agent <|-- Person
click Person href "../../classes/Person/"
Agent <|-- Organization
click Organization href "../../classes/Organization/"
Agent : email
Agent : id
Agent : name
Agent : type
Inheritance#
- Agent
- Person [ Concept]
- Organization [ Concept]
Class Properties#
| Property | Value |
|---|---|
| Class URI | prov:Agent |
Slots#
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| type | 1 String | The concept’s type - OKF’s single required field | direct |
| id | 1 Uriorcurie | The concept’s stable IRI | direct |
| name | 0..1 String | A name | direct |
| 0..1 String | Contact email address | direct |
Usages#
| used by | used in | type | used |
|---|---|---|---|
| KnowledgeBundle | publisher | range | Agent |
| Concept | author | range | Agent |
| Dataset | author | range | Agent |
| Table | author | range | Agent |
| Metric | author | range | Agent |
| Service | author | range | Agent |
| Playbook | author | range | Agent |
| Tutorial | author | range | Agent |
| Explanation | author | range | Agent |
| Policy | author | range | Agent |
| GlossaryTerm | author | range | Agent |
| Reference | author | range | Agent |
| Document | author | range | Agent |
| Role | author | range | Agent |
| AttestedComputation | author | range | Agent |
| Person | author | range | Agent |
| Organization | author | range | Agent |
Identifier and Mapping Information#
Schema Source#
- from schema: https://w3id.org/lokf/schema
Mappings#
| Mapping Type | Mapped Value |
|---|---|
| self | prov:Agent |
| native | lokf:Agent |
| close | schema:Agent, foaf:Agent |
LinkML Source#
Direct#
YAML
name: Agent
description: A person or organization responsible for a concept.
from_schema: https://w3id.org/lokf/schema
close_mappings:
- schema:Agent
- foaf:Agent
abstract: true
slots:
- type
- id
- name
- email
class_uri: prov:Agent
Induced#
YAML
name: Agent
description: A person or organization responsible for a concept.
from_schema: https://w3id.org/lokf/schema
close_mappings:
- schema:Agent
- foaf:Agent
abstract: true
attributes:
type:
name: type
description: The concept's type - OKF's single required field. SHOULD name a LOKF
class (e.g. Metric, Dataset, Table, Playbook, GlossaryTerm).
comments:
- Designates the JSON-LD @type / rdf:type. Consumers MUST tolerate unknown values
by treating the concept as a generic lokf:Concept.
in_subset:
- okf_core
from_schema: https://w3id.org/lokf/schema
rank: 1000
designates_type: true
owner: Agent
domain_of:
- Concept
- Agent
- Parameter
range: string
required: true
id:
name: id
description: The concept's stable IRI. By convention it is the bundle base IRI
joined with the Concept ID (the file path within the bundle, minus the `.md`
suffix). Becomes the JSON-LD @id / RDF subject.
notes:
- The schema requires an id, unlike OKF. A concept file may leave it out, since
the toolkit fills it from the base IRI and the Concept ID.
in_subset:
- lokf_semantic
from_schema: https://w3id.org/lokf/schema
rank: 1000
slot_uri: schema:identifier
identifier: true
owner: Agent
domain_of:
- Concept
- Agent
- Source
range: uriorcurie
required: true
name:
name: name
description: A name.
in_subset:
- lokf_semantic
from_schema: https://w3id.org/lokf/schema
rank: 1000
slot_uri: schema:name
owner: Agent
domain_of:
- Agent
- Field
- Distribution
- Parameter
range: string
email:
name: email
description: Contact email address.
in_subset:
- lokf_semantic
from_schema: https://w3id.org/lokf/schema
close_mappings:
- foaf:mbox
rank: 1000
slot_uri: schema:email
owner: Agent
domain_of:
- Agent
range: string
pattern: ^[^@\s]+@[^@\s]+\.[^@\s]+$
class_uri: prov:Agent