schema-sidecar
Theme
Text size
GitHub Menu

Class in Linked Open Knowledge Format (LOKF)

Field

A single column / property within a Table or Dataset schema. Maps to schema:PropertyValue.

URI: schema:PropertyValue

 classDiagram
    class Field
    click Field href "../../classes/Field/"
      Field : constraints
        
      Field : datatype
        
          
    
        
        
        Field --> "0..1" FieldType : datatype
        click FieldType href "../../enums/FieldType/"
    

        
      Field : description
        
      Field : is_key
        
      Field : name
        
      Field : unit
        
      

Class Properties#

PropertyValue
Class URIschema:PropertyValue

Slots#

NameCardinality and RangeDescriptionInheritance
name0..1
String
A namedirect
datatype0..1
FieldType
The data type of a fielddirect
description0..1
String
A single-sentence summary of the conceptdirect
unit0..1
String
The unit of measurement (edirect
is_key0..1
Boolean
Whether the field is (part of) the primary keydirect
constraints0..1
String
Free-text or expression describing constraints on a fielddirect

Usages#

used byused intypeused
DatasetfieldsrangeField
TablefieldsrangeField

Identifier and Mapping Information#

Schema Source#

Mappings#

Mapping TypeMapped Value
selfschema:PropertyValue
nativelokf:Field

LinkML Source#

Direct#

YAML
name: Field
description: A single column / property within a Table or Dataset schema. Maps to
  schema:PropertyValue.
from_schema: https://w3id.org/lokf/schema
slots:
- name
- datatype
- description
- unit
- is_key
- constraints
class_uri: schema:PropertyValue

Induced#

YAML
name: Field
description: A single column / property within a Table or Dataset schema. Maps to
  schema:PropertyValue.
from_schema: https://w3id.org/lokf/schema
attributes:
  name:
    name: name
    description: A name.
    in_subset:
    - lokf_semantic
    from_schema: https://w3id.org/lokf/schema
    rank: 1000
    slot_uri: schema:name
    owner: Field
    domain_of:
    - Agent
    - Field
    - Distribution
    - Parameter
    range: string
  datatype:
    name: datatype
    description: The data type of a field.
    in_subset:
    - lokf_semantic
    from_schema: https://w3id.org/lokf/schema
    close_mappings:
    - schema:rangeIncludes
    rank: 1000
    slot_uri: lokf:datatype
    owner: Field
    domain_of:
    - Field
    range: FieldType
  description:
    name: description
    description: A single-sentence summary of the concept.
    in_subset:
    - okf_core
    from_schema: https://w3id.org/lokf/schema
    close_mappings:
    - dcterms:description
    rank: 1000
    slot_uri: schema:description
    owner: Field
    domain_of:
    - KnowledgeBundle
    - Concept
    - Field
    - Distribution
    - Citation
    range: string
  unit:
    name: unit
    description: The unit of measurement (e.g. USD, seconds, count).
    in_subset:
    - lokf_semantic
    from_schema: https://w3id.org/lokf/schema
    rank: 1000
    slot_uri: schema:unitText
    owner: Field
    domain_of:
    - Metric
    - Field
    range: string
  is_key:
    name: is_key
    description: Whether the field is (part of) the primary key.
    in_subset:
    - lokf_semantic
    from_schema: https://w3id.org/lokf/schema
    rank: 1000
    slot_uri: lokf:isKey
    owner: Field
    domain_of:
    - Field
    range: boolean
  constraints:
    name: constraints
    description: Free-text or expression describing constraints on a field.
    in_subset:
    - lokf_semantic
    from_schema: https://w3id.org/lokf/schema
    rank: 1000
    slot_uri: lokf:constraints
    owner: Field
    domain_of:
    - Field
    range: string
class_uri: schema:PropertyValue