id: https://concepts.datalad.org/s/flat-social/unreleased
name: flat-social-schema
version: UNRELEASED
status: eunal:concept-status/DEPRECATED
title: FLAT social schema
description: |
  FLAT stands for Flexbile Low-complexity Annotation Technique.
  The FLAT-social schema contains classes to describe social things.

  More information may be available on the schema's [about page](about).

  The schema definition is available as

  - [JSON-LD context](../unreleased.context.jsonld)
  - [LinkML YAML](../unreleased.yaml)
  - [LinkML YAML (static/resolved)](../unreleased.static.yaml)
  - [OWL TTL](../unreleased.owl.ttl)
  - [SHACL TTL](../unreleased.shacl.ttl)

comments:
  - ALL CONTENT HERE IS UNRELEASED AND MAY CHANGE ANY TIME

license: CC-BY-4.0

prefixes:
  dash: http://datashapes.org/dash#
  dcterms: http://purl.org/dc/terms/
  dlflat: https://concepts.datalad.org/s/flat/unreleased/
  dlflatsocial: https://concepts.datalad.org/s/flat-social/unreleased/
  dlidentifiers: https://concepts.datalad.org/s/identifiers/unreleased/
  dlcommonmx: https://concepts.datalad.org/s/common-mixin/unreleased/
  dlrelationsmx: https://concepts.datalad.org/s/relations-mixin/unreleased/
  dlschemas: https://concepts.datalad.org/s/
  dlsocialmx: https://concepts.datalad.org/s/social-mixin/unreleased/
  dlspatialmx: https://concepts.datalad.org/s/spatial-mixin/unreleased/
  dlthings: https://concepts.datalad.org/s/things/v1/
  dltypes: https://concepts.datalad.org/s/types/v1/
  eunal: http://publications.europa.eu/resource/authority/
  foaf: http://xmlns.com/foaf/0.1/
  linkml: https://w3id.org/linkml/
  obo: http://purl.obolibrary.org/obo/
  owl: http://www.w3.org/2002/07/owl#
  prov: http://www.w3.org/ns/prov#
  rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns#
  rdfs: http://www.w3.org/2000/01/rdf-schema#
  sh: http://www.w3.org/ns/shacl#
  skos: http://www.w3.org/2004/02/skos/core#
  w3ctr: https://www.w3.org/TR/
  xsd: http://www.w3.org/2001/XMLSchema#

default_prefix: dlflatsocial

emit_prefixes:
  - dlflat
  - dlflatsocial
  - dlidentifiers
  - dlcommonmx
  - dlrelationsmx
  - dlsocialmx
  - dlspatialmx
  - dlthings
  - dltypes
  - rdf
  - rdfs
  - skos
  - xsd

imports:
  - dlschemas:flat/unreleased
  - dlschemas:common-mixin/unreleased
  - dlschemas:relations-mixin/unreleased
  - dlschemas:social-mixin/unreleased
  - dlschemas:spatial-mixin/unreleased

classes:
  Organization:
    is_a: FlatThing
    description: >-
      A social or legal institution such as a company, a society, or a university.
    slots:
      - name
      - short_name
      - at_location
      - part_of
    slot_usage:
      name:
        annotations:
          sh:order: 1
      short_name:
        annotations:
          sh:order: 2
      at_location:
        annotations:
          sh:order: 3
      part_of:
        description: >-
          An organization that the subject is part of.
        range: Organization
        multivalued: true
        annotations:
          sh:order: 4
    exact_mappings:
      - prov:Organization

  Person:
    is_a: FlatThing
    description: >-
      Person agents are people, alive, dead, or fictional.
    exact_mappings:
      - foaf:Person
      - prov:Person
    slots:
      - additional_names
      - family_name
      - given_name
      - honorific_name_prefix
      - honorific_name_suffix
      - formatted_name
    slot_usage:
      family_name:
        annotations:
          sh:order: 1
      given_name:
        annotations:
          sh:order: 2
      additional_names:
        annotations:
          sh:order: 3
      honorific_name_prefix:
        annotations:
          sh:order: 4
      honorific_name_suffix:
        annotations:
          sh:order: 5

  Project:
    is_a: FlatThing
    description: >-
      A collective endeavour of some kind. Typically it is a planned
      process that is undertaken or attempted to meet some requirement,
      or to achieve a particular goal.
    exact_mappings:
      - foaf:Project
    close_mappings:
      - obo:NCIT_C47885
    broad_mappings:
      # process
      - obo:BFO_0000015
    slots:
      - short_name
      - title
      - part_of
    slot_usage:
      title:
        annotations:
          sh:order: 1
      short_name:
        annotations:
          sh:order: 2
      part_of:
        multivalued: true
