schema-sidecar
Theme
Text size
GitHub Menu

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#

Class Properties#

PropertyValue
Class URIprov:Agent

Slots#

NameCardinality and RangeDescriptionInheritance
type1
String
The concept’s type - OKF’s single required fielddirect
id1
Uriorcurie
The concept’s stable IRIdirect
name0..1
String
A namedirect
email0..1
String
Contact email addressdirect

Usages#

used byused intypeused
KnowledgeBundlepublisherrangeAgent
ConceptauthorrangeAgent
DatasetauthorrangeAgent
TableauthorrangeAgent
MetricauthorrangeAgent
ServiceauthorrangeAgent
PlaybookauthorrangeAgent
TutorialauthorrangeAgent
ExplanationauthorrangeAgent
PolicyauthorrangeAgent
GlossaryTermauthorrangeAgent
ReferenceauthorrangeAgent
DocumentauthorrangeAgent
RoleauthorrangeAgent
AttestedComputationauthorrangeAgent
PersonauthorrangeAgent
OrganizationauthorrangeAgent

Identifier and Mapping Information#

Schema Source#

Mappings#

Mapping TypeMapped Value
selfprov:Agent
nativelokf:Agent
closeschema: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