Enumeration in Linked Open Knowledge Format (LOKF)
ParameterType
Datatypes for Attested Computation parameters. The permissible values mirror FieldType's authoring surface exactly (one datatype vocabulary for authors), but the meanings deliberately diverge: ParameterType values are written under the type key, whose flat-context alias is @type, so each value means a designed lokf Parameter-kind CLASS rather than an XSD datatype — _:p rdf:type xsd:integer would falsely type a non-literal node with a datatype (a class of literals), while _:p rdf:type lokf:IntegerParameter is true and OWL-DL-safe. Each value's XSD value space is carried as an annotation and asserted in the generated ontology, where every Parameter-kind class is declared a subclass of lokf:Parameter.
Permissible Values#
| Value | Meaning | Description |
|---|---|---|
| string | lokf:StringParameter | |
| integer | lokf:IntegerParameter | |
| number | lokf:NumberParameter | |
| boolean | lokf:BooleanParameter | |
| date | lokf:DateParameter | |
| datetime | lokf:DatetimeParameter | |
| time | lokf:TimeParameter | |
| uri | lokf:UriParameter | |
| json | lokf:JsonParameter |
Identifier and Mapping Information#
Schema Source#
- from schema: https://w3id.org/lokf/schema
LinkML Source#
YAML
name: ParameterType
description: 'Datatypes for Attested Computation parameters. The permissible values
mirror FieldType''s authoring surface exactly (one datatype vocabulary for authors),
but the meanings deliberately diverge: ParameterType values are written under the
`type` key, whose flat-context alias is @type, so each value means a designed lokf
Parameter-kind CLASS rather than an XSD datatype — `_:p rdf:type xsd:integer` would
falsely type a non-literal node with a datatype (a class of literals), while `_:p
rdf:type lokf:IntegerParameter` is true and OWL-DL-safe. Each value''s XSD value
space is carried as an annotation and asserted in the generated ontology, where
every Parameter-kind class is declared a subclass of lokf:Parameter.'
from_schema: https://w3id.org/lokf/schema
rank: 1000
permissible_values:
string:
text: string
meaning: lokf:StringParameter
annotations:
xsd_value_space:
tag: xsd_value_space
value: xsd:string
integer:
text: integer
meaning: lokf:IntegerParameter
annotations:
xsd_value_space:
tag: xsd_value_space
value: xsd:integer
number:
text: number
meaning: lokf:NumberParameter
annotations:
xsd_value_space:
tag: xsd_value_space
value: xsd:decimal
boolean:
text: boolean
meaning: lokf:BooleanParameter
annotations:
xsd_value_space:
tag: xsd_value_space
value: xsd:boolean
date:
text: date
meaning: lokf:DateParameter
annotations:
xsd_value_space:
tag: xsd_value_space
value: xsd:date
datetime:
text: datetime
meaning: lokf:DatetimeParameter
annotations:
xsd_value_space:
tag: xsd_value_space
value: xsd:dateTime
time:
text: time
meaning: lokf:TimeParameter
annotations:
xsd_value_space:
tag: xsd_value_space
value: xsd:time
uri:
text: uri
meaning: lokf:UriParameter
annotations:
xsd_value_space:
tag: xsd_value_space
value: xsd:anyURI
json:
text: json
meaning: lokf:JsonParameter
annotations:
xsd_value_space:
tag: xsd_value_space
value: rdf:JSON