id: https://joinedcontext.com/models/slovensko/slovensko-participacia/views/oirxg6atmrxhji5iitpyugswuhsbma24
name: slovensko-participacia
title: Citizen participation in Slovakia
description: "What a town publishes on its participation platform (Decidim): the participatory processes and assemblies, the proposals residents filed, the projects of a participatory budget, the results the town reports, the meetings, the debates and the surveys. Each record is copied from the platform's public GraphQL API, or from its public pages where the API hides it, and carries the link back to its page. No personal data: author names, profiles, comments and their authors are never read, and e-mail addresses and phone numbers are cut from every text. An id is `urn:ngsi-ld:{Type}:slovensko-participacia:{instance}-{Decidim id}`, so a record keeps its entity from run to run; one no run has seen for three days leaves the space (expiresAt). ProposalStatistic is the one derived class: the counts the space computes from its own Proposal records."
license: https://joinedcontext.com/licenses/cc-by-4.0
prefixes:
  geojson: https://purl.org/geojson/vocab#
  jc: https://joinedcontext.com/models/
  schema: https://schema.org/
  sdm: https://smartdatamodels.org/
default_prefix: jc
default_range: string
imports:
  - linkml:types
classes:
  ProposalStatistic:
    name: ProposalStatistic
    class_uri: https://uri.etsi.org/ngsi-ld/default-context/ProposalStatistic
    exact_mappings:
      - jc:ProposalStatistic
    slots:
      - location
      - name
      - processName
      - proposalState
      - stateLabel
      - proposalCount
      - refParticipatoryProcess
      - source
      - dataProvider
      - dateModified
    slot_usage:
      name:
        name: name
        slot_uri: schema:name
        range: string
        required: true
        annotations:
          label:
            tag: label
            value:
              sk: Názov
              cs: Název
              en: Name
              de: Name
          ngsi_ld_kind: Property
          summary: "true"
          upstream_source: https://schema.org/name
        description: The title as the platform shows it, in the instance's language.
        rank: 1
      processName:
        name: processName
        slot_uri: jc:processName
        range: string
        required: true
        annotations:
          label:
            tag: label
            value:
              sk: Proces
              cs: Proces
              en: Process
              de: Prozess
          ngsi_ld_kind: Property
          summary: "true"
        description: The title of the process the figure counts, as the platform shows it.
        rank: 2
      proposalCount:
        name: proposalCount
        slot_uri: jc:proposalCount
        range: integer
        required: true
        annotations:
          label:
            tag: label
            value:
              sk: Počet návrhov
              cs: Počet návrhů
              en: Proposals
              de: Vorschläge
          ngsi_ld_kind: Property
          summary: "true"
        description: How many proposals of the process are in this state.
        rank: 4
      refParticipatoryProcess:
        name: refParticipatoryProcess
        slot_uri: jc:refParticipatoryProcess
        range: uriorcurie
        required: true
        annotations:
          label:
            tag: label
            value:
              sk: Participatívny proces
              cs: Participativní proces
              en: Participatory process
              de: Beteiligungsprozess
          ngsi_ld_kind: Relationship
        description: The ParticipatoryProcess of this space the record belongs to, its URN.
      stateLabel:
        name: stateLabel
        slot_uri: jc:stateLabel
        range: string
        annotations:
          label:
            tag: label
            value:
              sk: Stav na stránke
              cs: Stav na stránce
              en: State shown
              de: Angezeigter Status
          ngsi_ld_kind: Property
          summary: "true"
        description: "The state as the page shows it, `Postupuje do hlasovania`."
        rank: 3
    description: How many proposals of one process are in one state, counted from the Proposal records of this space. It holds figures only, so no text a resident wrote reaches it.
slots:
  dataProvider:
    name: dataProvider
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/dataProvider
    exact_mappings:
      - sdm:dataProvider
    range: string
    annotations:
      label:
        tag: label
        value:
          sk: Poskytovateľ
          cs: Poskytovatel
          en: Provider
          de: Anbieter
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/data-models
    description: The town or body that runs the participation platform.
  dateModified:
    name: dateModified
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/dateModified
    exact_mappings:
      - sdm:dateModified
    range: datetime
    annotations:
      label:
        tag: label
        value:
          sk: Zmenené
          cs: Změněno
          en: Modified
          de: Geändert
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/data-models
    description: When the platform last changed the record.
  location:
    name: location
    slot_uri: https://uri.etsi.org/ngsi-ld/location
    exact_mappings:
      - geojson:geometry
    range: string
    annotations:
      ngsi_ld_kind: GeoProperty
      upstream_source: ETSI NGSI-LD core context v1.8
    description: Where the entity is, as GeoJSON geometry.
  name:
    name: name
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/name
    exact_mappings:
      - schema:name
    range: string
    annotations:
      label:
        tag: label
        value:
          sk: Názov
          cs: Název
          en: Name
          de: Name
      ngsi_ld_kind: Property
      upstream_source: https://schema.org/name
    description: The title as the platform shows it, in the instance's language.
  processName:
    name: processName
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/processName
    exact_mappings:
      - jc:processName
    range: string
    annotations:
      label:
        tag: label
        value:
          sk: Proces
          cs: Proces
          en: Process
          de: Prozess
      ngsi_ld_kind: Property
    description: The title of the process the figure counts, as the platform shows it.
  proposalCount:
    name: proposalCount
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/proposalCount
    exact_mappings:
      - jc:proposalCount
    range: integer
    annotations:
      label:
        tag: label
        value:
          sk: Počet návrhov
          cs: Počet návrhů
          en: Proposals
          de: Vorschläge
      ngsi_ld_kind: Property
    description: How many proposals of the process are in this state.
  proposalState:
    name: proposalState
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/proposalState
    exact_mappings:
      - jc:proposalState
    range: string
    annotations:
      label:
        tag: label
        value:
          sk: Stav návrhu
          cs: Stav návrhu
          en: Proposal state
          de: Status des Vorschlags
      ngsi_ld_kind: Property
    description: "The town's answer as Decidim's state token: `not_answered`, `evaluating`, `accepted`, `rejected`, `withdrawn`, or a token the instance defined itself. Empty when only the page was readable; `stateLabel` then holds what the page shows."
  refParticipatoryProcess:
    name: refParticipatoryProcess
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/refParticipatoryProcess
    exact_mappings:
      - jc:refParticipatoryProcess
    range: uriorcurie
    annotations:
      label:
        tag: label
        value:
          sk: Participatívny proces
          cs: Participativní proces
          en: Participatory process
          de: Beteiligungsprozess
      ngsi_ld_kind: Relationship
    description: The ParticipatoryProcess of this space the record belongs to, its URN.
  source:
    name: source
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/source
    exact_mappings:
      - sdm:source
    range: uri
    annotations:
      label:
        tag: label
        value:
          sk: Zdroj
          cs: Zdroj
          en: Source
          de: Quelle
      ngsi_ld_kind: Property
      upstream_source: https://github.com/smart-data-models/data-models
    description: The participation platform the record was read from, its base URL.
  stateLabel:
    name: stateLabel
    slot_uri: https://uri.etsi.org/ngsi-ld/default-context/stateLabel
    exact_mappings:
      - jc:stateLabel
    range: string
    annotations:
      label:
        tag: label
        value:
          sk: Stav na stránke
          cs: Stav na stránce
          en: State shown
          de: Angezeigter Status
      ngsi_ld_kind: Property
    description: "The state as the page shows it, `Postupuje do hlasovania`."
