Type vocabulary
A concept’s type SHOULD name one of the following classes. Each maps to a
public ontology term; consumers MUST tolerate unknown values by treating the
concept as a generic lokf:Concept.
type |
Class IRI (@type) |
Aligned to |
|---|---|---|
| (abstract) | lokf:Concept |
broad: schema:CreativeWork, prov:Entity |
Dataset |
schema:Dataset |
exact: dcat:Dataset |
Table |
lokf:Table |
is-a Dataset; close dcat:Dataset |
Metric |
lokf:Metric |
close: schema:Observation, skos:Concept |
Service |
schema:WebAPI |
close: schema:SoftwareApplication |
Playbook |
lokf:Playbook |
exact: schema:HowTo |
Policy |
lokf:Policy |
close: schema:DigitalDocument |
GlossaryTerm |
schema:DefinedTerm |
exact: skos:Concept |
Reference |
lokf:Reference |
close: schema:CreativeWork, schema:WebPage |
Document |
lokf:Document |
close: schema:DigitalDocument |
Person |
schema:Person |
exact: foaf:Person, prov:Person |
Organization |
schema:Organization |
exact: foaf:Organization, prov:Organization |
Type-specific fields
Section titled “Type-specific fields”fields— a list ofFieldobjects:name,datatype(FieldType→ XSD),description,unit,is_key,constraintsdistribution—dcat:Distribution
fields: - name: event_id datatype: string description: Globally unique event identifier. is_key: trueunit—schema:unitTextformula—lokf:formulameasures—lokf:measures, pointing at another Concept
unit: usersformula: COUNT(DISTINCT user_id) over trailing 7 daysmeasures: - https://acme.example/knowledge/glossary/active-userendpoint—schema:urlhttp_methoddocumentation
endpoint: https://api.acme.example/v2/analyticshttp_method: GETdocumentation: https://developers.acme.example/analyticsdefinition—skos:definitionabbreviation—schema:alternateName
definition: A user who has performed at least one qualifying event.abbreviation: AU