# SHACL shapes, rendered from the LinkML model.
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .

<http://www.w3.org/ns/dcat#SummaryGroup>
  a sh:PropertyGroup ;
  sh:order 0 ;
  rdfs:label "Základné"@sk, "Summary"@en .

<http://www.w3.org/ns/dcat#DetailGroup>
  a sh:PropertyGroup ;
  sh:order 1 ;
  rdfs:label "Detail"@sk, "Detail"@en .

<http://www.w3.org/ns/dcat#AnyShape>
  a sh:NodeShape ;
  sh:targetClass <https://w3id.org/linkml/Any> ;
  sh:closed false .

<http://www.w3.org/ns/dcat#DataServiceShape>
  a sh:NodeShape ;
  sh:targetClass <https://uri.etsi.org/ngsi-ld/default-context/DataService> ;
  sh:closed false ;
  sh:property [
    sh:path <http://purl.org/dc/terms/title> ;
    sh:name "title", "Název"@cs, "Titel"@de, "Title"@en, "Nimi"@fi, "Názov"@sk ;
    sh:order 0 ;
    sh:group <http://www.w3.org/ns/dcat#SummaryGroup> ;
    sh:datatype xsd:string ;
    sh:maxCount 1 ;
    rdfs:comment "The title of the dataset or Endpoint in each language its record gives."
  ] ;
  sh:property [
    sh:path <http://purl.org/dc/terms/description> ;
    sh:name "description", "Popis"@cs, "Beschreibung"@de, "Description"@en, "Kuvaus"@fi, "Popis"@sk ;
    sh:order 1 ;
    sh:group <http://www.w3.org/ns/dcat#SummaryGroup> ;
    sh:datatype xsd:string ;
    sh:maxCount 1 ;
    rdfs:comment "What the dataset or Endpoint holds: a text per language from the Endpoint's record, or the CKAN dataset's notes."
  ] ;
  sh:property [
    sh:path <https://uri.etsi.org/ngsi-ld/default-context/identifier> ;
    sh:name "identifier", "Identifikátor"@cs, "Kennung"@de, "Identifier"@en, "Tunniste"@fi, "Identifikátor"@sk ;
    sh:order 2 ;
    sh:group <http://www.w3.org/ns/dcat#SummaryGroup> ;
    sh:datatype xsd:string ;
    sh:maxCount 1 ;
    rdfs:comment "The CKAN name of a dataset or an organization, or the slug of an Endpoint."
  ] ;
  sh:property [
    sh:path <https://uri.etsi.org/ngsi-ld/default-context/endpointURL> ;
    sh:name "endpointURL", "Adresa rozhraní"@cs, "Endpunktadresse"@de, "Endpoint address"@en, "Rajapinnan osoite"@fi, "Adresa rozhrania"@sk ;
    sh:order 3 ;
    sh:group <http://www.w3.org/ns/dcat#SummaryGroup> ;
    sh:datatype xsd:anyURI ;
    sh:maxCount 1 ;
    rdfs:comment "The root address of the Endpoint."
  ] ;
  sh:property [
    sh:path <https://uri.etsi.org/ngsi-ld/default-context/accessURL> ;
    sh:name "accessURL", "Přístupové cesty"@cs, "Zugriffswege"@de, "Access paths"@en, "Käyttöpolut"@fi, "Prístupové cesty"@sk ;
    sh:order 4 ;
    sh:group <http://www.w3.org/ns/dcat#DetailGroup> ;
    sh:nodeKind sh:IRI ;
    sh:class <https://w3id.org/linkml/Any> ;
    sh:maxCount 1 ;
    rdfs:comment "The Endpoint's access paths, each as `{ accessURL, conformsTo, mediaType }`."
  ] ;
  sh:property [
    sh:path <https://uri.etsi.org/ngsi-ld/default-context/accessRights> ;
    sh:name "accessRights", "Přístupová práva"@cs, "Zugriffsrechte"@de, "Access rights"@en, "Käyttöoikeudet"@fi, "Prístupové práva"@sk ;
    sh:order 5 ;
    sh:group <http://www.w3.org/ns/dcat#DetailGroup> ;
    sh:datatype xsd:anyURI ;
    sh:maxCount 1 ;
    rdfs:comment "Who may read the Endpoint, as an IRI of the EU access-right vocabulary."
  ] ;
  sh:property [
    sh:path <https://uri.etsi.org/ngsi-ld/default-context/license> ;
    sh:name "license", "Licence"@cs, "Lizenz"@de, "License"@en, "Lisenssi"@fi, "Licencia"@sk ;
    sh:order 6 ;
    sh:group <http://www.w3.org/ns/dcat#DetailGroup> ;
    sh:datatype xsd:anyURI ;
    sh:maxCount 1 ;
    rdfs:comment "The license of the dataset or the Endpoint, as an IRI."
  ] ;
  sh:property [
    sh:path <https://uri.etsi.org/ngsi-ld/default-context/accessLevel> ;
    sh:name "accessLevel", "Úroveň přístupu"@cs, "Zugriffsstufe"@de, "Access level"@en, "Käyttötaso"@fi, "Úroveň prístupu"@sk ;
    sh:order 7 ;
    sh:group <http://www.w3.org/ns/dcat#DetailGroup> ;
    sh:datatype xsd:string ;
    sh:maxCount 1 ;
    rdfs:comment "Who may read the Endpoint: `public` for anyone."
  ] ;
  sh:property [
    sh:path <https://uri.etsi.org/ngsi-ld/default-context/visibleBecause> ;
    sh:name "visibleBecause", "Uvedeno, protože"@cs, "Aufgeführt, weil"@de, "Listed because"@en, "Näkyy, koska"@fi, "Uvedené, lebo"@sk ;
    sh:order 8 ;
    sh:group <http://www.w3.org/ns/dcat#DetailGroup> ;
    sh:datatype xsd:string ;
    sh:maxCount 1 ;
    rdfs:comment "Why the catalogue lists the Endpoint to its readers."
  ] ;
  sh:property [
    sh:path <https://uri.etsi.org/ngsi-ld/default-context/refDataset> ;
    sh:name "refDataset", "Datové sady"@cs, "Datensätze"@de, "Datasets"@en, "Aineistot"@fi, "Dátové sady"@sk ;
    sh:order 9 ;
    sh:group <http://www.w3.org/ns/dcat#DetailGroup> ;
    sh:nodeKind sh:IRI ;
    sh:class <https://uri.etsi.org/ngsi-ld/default-context/Dataset> ;
    rdfs:comment "The datasets the Endpoint serves. The computed end of refDataService, which the catalogue also writes so one read of a DataService names its datasets."
  ] ;
  sh:property [
    sh:path <https://uri.etsi.org/ngsi-ld/default-context/entityTypes> ;
    sh:name "entityTypes", "Typy entit"@cs, "Entitätstypen"@de, "Entity types"@en, "Entiteettityypit"@fi, "Typy entít"@sk ;
    sh:order 10 ;
    sh:group <http://www.w3.org/ns/dcat#DetailGroup> ;
    sh:nodeKind sh:IRI ;
    sh:class <https://w3id.org/linkml/Any> ;
    sh:maxCount 1 ;
    rdfs:comment "The entity types the Endpoint holds, each as `{ type, count }`, most first."
  ] ;
  sh:property [
    sh:path <https://uri.etsi.org/ngsi-ld/default-context/nextQuery> ;
    sh:name "nextQuery", "Další dotaz"@cs, "Nächste Abfrage"@de, "Next query"@en, "Seuraava kysely"@fi, "Ďalší dopyt"@sk ;
    sh:order 11 ;
    sh:group <http://www.w3.org/ns/dcat#DetailGroup> ;
    sh:nodeKind sh:IRI ;
    sh:class <https://w3id.org/linkml/Any> ;
    sh:maxCount 1 ;
    rdfs:comment "The query that reads the first entities of the dataset through its Endpoint, as `{ tool, arguments }`."
  ] ;
  sh:property [
    sh:path <https://uri.etsi.org/ngsi-ld/location> ;
    sh:name "location" ;
    sh:order 12 ;
    sh:group <http://www.w3.org/ns/dcat#DetailGroup> ;
    sh:maxCount 1 ;
    rdfs:comment "Where the entity is, as GeoJSON geometry."
  ] .

<http://www.w3.org/ns/dcat#DatasetShape>
  a sh:NodeShape ;
  sh:targetClass <https://uri.etsi.org/ngsi-ld/default-context/Dataset> ;
  sh:closed false ;
  sh:property [
    sh:path <http://purl.org/dc/terms/title> ;
    sh:name "title", "Název"@cs, "Titel"@de, "Title"@en, "Nimi"@fi, "Názov"@sk ;
    sh:order 0 ;
    sh:group <http://www.w3.org/ns/dcat#SummaryGroup> ;
    sh:datatype xsd:string ;
    sh:maxCount 1 ;
    rdfs:comment "The title of the dataset or Endpoint in each language its record gives."
  ] ;
  sh:property [
    sh:path <http://purl.org/dc/terms/description> ;
    sh:name "description", "Popis"@cs, "Beschreibung"@de, "Description"@en, "Kuvaus"@fi, "Popis"@sk ;
    sh:order 1 ;
    sh:group <http://www.w3.org/ns/dcat#SummaryGroup> ;
    sh:datatype xsd:string ;
    sh:maxCount 1 ;
    rdfs:comment "What the dataset or Endpoint holds: a text per language from the Endpoint's record, or the CKAN dataset's notes."
  ] ;
  sh:property [
    sh:path <https://uri.etsi.org/ngsi-ld/default-context/name> ;
    sh:name "name", "Název"@cs, "Name"@de, "Name"@en, "Nimi"@fi, "Názov"@sk ;
    sh:order 2 ;
    sh:group <http://www.w3.org/ns/dcat#SummaryGroup> ;
    sh:datatype xsd:string ;
    sh:maxCount 1 ;
    rdfs:comment "The title CKAN gives the dataset or the organization."
  ] ;
  sh:property [
    sh:path <https://uri.etsi.org/ngsi-ld/default-context/identifier> ;
    sh:name "identifier", "Identifikátor"@cs, "Kennung"@de, "Identifier"@en, "Tunniste"@fi, "Identifikátor"@sk ;
    sh:order 3 ;
    sh:group <http://www.w3.org/ns/dcat#SummaryGroup> ;
    sh:datatype xsd:string ;
    sh:maxCount 1 ;
    rdfs:comment "The CKAN name of a dataset or an organization, or the slug of an Endpoint."
  ] ;
  sh:property [
    sh:path <https://uri.etsi.org/ngsi-ld/default-context/url> ;
    sh:name "url", "Webová stránka"@cs, "Webseite"@de, "Web page"@en, "Verkkosivu"@fi, "Webová stránka"@sk ;
    sh:order 4 ;
    sh:group <http://www.w3.org/ns/dcat#DetailGroup> ;
    sh:datatype xsd:anyURI ;
    sh:maxCount 1 ;
    rdfs:comment "The page of the dataset or the organization on its CKAN."
  ] ;
  sh:property [
    sh:path <https://uri.etsi.org/ngsi-ld/default-context/keyword> ;
    sh:name "keyword", "Klíčová slova"@cs, "Schlagwörter"@de, "Keywords"@en, "Avainsanat"@fi, "Kľúčové slová"@sk ;
    sh:order 5 ;
    sh:group <http://www.w3.org/ns/dcat#DetailGroup> ;
    sh:datatype xsd:string ;
    rdfs:comment "The keywords of the dataset."
  ] ;
  sh:property [
    sh:path <https://uri.etsi.org/ngsi-ld/default-context/theme> ;
    sh:name "theme", "Témata"@cs, "Themen"@de, "Themes"@en, "Teemat"@fi, "Témy"@sk ;
    sh:order 6 ;
    sh:group <http://www.w3.org/ns/dcat#DetailGroup> ;
    sh:datatype xsd:anyURI ;
    rdfs:comment "The EU data themes of the dataset, as IRIs of the EU vocabulary."
  ] ;
  sh:property [
    sh:path <https://uri.etsi.org/ngsi-ld/default-context/spatial> ;
    sh:name "spatial", "Území"@cs, "Gebiet"@de, "Area"@en, "Alue"@fi, "Územie"@sk ;
    sh:order 7 ;
    sh:group <http://www.w3.org/ns/dcat#DetailGroup> ;
    sh:datatype xsd:anyURI ;
    rdfs:comment "The places the dataset covers, as IRIs (NUTS, LAU)."
  ] ;
  sh:property [
    sh:path <https://uri.etsi.org/ngsi-ld/default-context/temporal> ;
    sh:name "temporal", "Časový rozsah"@cs, "Zeitraum"@de, "Time range"@en, "Aikaväli"@fi, "Časový rozsah"@sk ;
    sh:order 8 ;
    sh:group <http://www.w3.org/ns/dcat#DetailGroup> ;
    sh:nodeKind sh:IRI ;
    sh:class <https://w3id.org/linkml/Any> ;
    sh:maxCount 1 ;
    rdfs:comment "The time the data covers, as `{ startDate, endDate }` dates."
  ] ;
  sh:property [
    sh:path <https://uri.etsi.org/ngsi-ld/default-context/frequency> ;
    sh:name "frequency", "Frekvence aktualizace"@cs, "Aktualisierungshäufigkeit"@de, "Update frequency"@en, "Päivitystiheys"@fi, "Frekvencia aktualizácie"@sk ;
    sh:order 9 ;
    sh:group <http://www.w3.org/ns/dcat#DetailGroup> ;
    sh:datatype xsd:anyURI ;
    sh:maxCount 1 ;
    rdfs:comment "How often the data changes, as an IRI of the EU frequency vocabulary."
  ] ;
  sh:property [
    sh:path <https://uri.etsi.org/ngsi-ld/default-context/publisher> ;
    sh:name "publisher", "Vydavatel"@cs, "Herausgeber"@de, "Publisher"@en, "Julkaisija"@fi, "Vydavateľ"@sk ;
    sh:order 10 ;
    sh:group <http://www.w3.org/ns/dcat#DetailGroup> ;
    sh:nodeKind sh:IRI ;
    sh:class <https://w3id.org/linkml/Any> ;
    sh:maxCount 1 ;
    rdfs:comment "The publisher the Endpoint's record names, as `{ id, name }`, for a dataset no CKAN organization publishes."
  ] ;
  sh:property [
    sh:path <https://uri.etsi.org/ngsi-ld/default-context/refPublisher> ;
    sh:name "refPublisher", "Vydavatel"@cs, "Herausgeber"@de, "Publisher"@en, "Julkaisija"@fi, "Vydavateľ"@sk ;
    sh:order 11 ;
    sh:group <http://www.w3.org/ns/dcat#DetailGroup> ;
    sh:nodeKind sh:IRI ;
    sh:class <https://uri.etsi.org/ngsi-ld/default-context/Organization> ;
    sh:maxCount 1 ;
    rdfs:comment "The CKAN organization that publishes the dataset."
  ] ;
  sh:property [
    sh:path <https://uri.etsi.org/ngsi-ld/default-context/refDataService> ;
    sh:name "refDataService", "Rozhraní"@cs, "Endpunkt"@de, "Endpoint"@en, "Rajapinta"@fi, "Rozhranie"@sk ;
    sh:order 12 ;
    sh:group <http://www.w3.org/ns/dcat#DetailGroup> ;
    sh:nodeKind sh:IRI ;
    sh:class <https://uri.etsi.org/ngsi-ld/default-context/DataService> ;
    sh:maxCount 1 ;
    rdfs:comment "The Endpoint the dataset's data is read through."
  ] ;
  sh:property [
    sh:path <https://uri.etsi.org/ngsi-ld/default-context/license> ;
    sh:name "license", "Licence"@cs, "Lizenz"@de, "License"@en, "Lisenssi"@fi, "Licencia"@sk ;
    sh:order 13 ;
    sh:group <http://www.w3.org/ns/dcat#DetailGroup> ;
    sh:datatype xsd:anyURI ;
    sh:maxCount 1 ;
    rdfs:comment "The license of the dataset or the Endpoint, as an IRI."
  ] ;
  sh:property [
    sh:path <https://uri.etsi.org/ngsi-ld/default-context/issued> ;
    sh:name "issued", "Zveřejněno"@cs, "Veröffentlicht"@de, "Published"@en, "Julkaistu"@fi, "Zverejnené"@sk ;
    sh:order 14 ;
    sh:group <http://www.w3.org/ns/dcat#DetailGroup> ;
    sh:datatype xsd:string ;
    sh:maxCount 1 ;
    rdfs:comment "When CKAN first published the dataset."
  ] ;
  sh:property [
    sh:path <https://uri.etsi.org/ngsi-ld/default-context/modified> ;
    sh:name "modified", "Změněno"@cs, "Geändert"@de, "Modified"@en, "Muutettu"@fi, "Zmenené"@sk ;
    sh:order 15 ;
    sh:group <http://www.w3.org/ns/dcat#DetailGroup> ;
    sh:datatype xsd:string ;
    sh:maxCount 1 ;
    rdfs:comment "When CKAN last changed the dataset."
  ] ;
  sh:property [
    sh:path <https://uri.etsi.org/ngsi-ld/default-context/source> ;
    sh:name "source", "Zdroj"@cs, "Quelle"@de, "Source"@en, "Lähde"@fi, "Zdroj"@sk ;
    sh:order 16 ;
    sh:group <http://www.w3.org/ns/dcat#DetailGroup> ;
    sh:datatype xsd:anyURI ;
    sh:maxCount 1 ;
    rdfs:comment "Where the dataset's data comes from, as its publisher names it."
  ] ;
  sh:property [
    sh:path <https://uri.etsi.org/ngsi-ld/default-context/nextQuery> ;
    sh:name "nextQuery", "Další dotaz"@cs, "Nächste Abfrage"@de, "Next query"@en, "Seuraava kysely"@fi, "Ďalší dopyt"@sk ;
    sh:order 17 ;
    sh:group <http://www.w3.org/ns/dcat#DetailGroup> ;
    sh:nodeKind sh:IRI ;
    sh:class <https://w3id.org/linkml/Any> ;
    sh:maxCount 1 ;
    rdfs:comment "The query that reads the first entities of the dataset through its Endpoint, as `{ tool, arguments }`."
  ] ;
  sh:property [
    sh:path <https://uri.etsi.org/ngsi-ld/default-context/searchText> ;
    sh:name "searchText", "Text pro vyhledávání"@cs, "Suchtext"@de, "Search text"@en, "Hakuteksti"@fi, "Text na vyhľadávanie"@sk ;
    sh:order 18 ;
    sh:group <http://www.w3.org/ns/dcat#DetailGroup> ;
    sh:datatype xsd:string ;
    sh:maxCount 1 ;
    rdfs:comment "The words a search matches, folded to lower case without diacritics: titles, keywords, the publisher, the space and the entity types."
  ] ;
  sh:property [
    sh:path <https://purl.org/geojson/vocab#geometry> ;
    sh:name "location", "Poloha"@cs, "Standort"@de, "Location"@en, "Sijainti"@fi, "Poloha"@sk ;
    sh:order 19 ;
    sh:group <http://www.w3.org/ns/dcat#DetailGroup> ;
    sh:maxCount 1 ;
    rdfs:comment "The area the dataset covers, a GeoJSON geometry in WGS 84, when its record gives one."
  ] .

<http://www.w3.org/ns/dcat#OrganizationShape>
  a sh:NodeShape ;
  sh:targetClass <https://uri.etsi.org/ngsi-ld/default-context/Organization> ;
  sh:closed false ;
  sh:property [
    sh:path <https://uri.etsi.org/ngsi-ld/default-context/name> ;
    sh:name "name", "Název"@cs, "Name"@de, "Name"@en, "Nimi"@fi, "Názov"@sk ;
    sh:order 0 ;
    sh:group <http://www.w3.org/ns/dcat#SummaryGroup> ;
    sh:datatype xsd:string ;
    sh:maxCount 1 ;
    rdfs:comment "The title CKAN gives the dataset or the organization."
  ] ;
  sh:property [
    sh:path <https://uri.etsi.org/ngsi-ld/default-context/identifier> ;
    sh:name "identifier", "Identifikátor"@cs, "Kennung"@de, "Identifier"@en, "Tunniste"@fi, "Identifikátor"@sk ;
    sh:order 1 ;
    sh:group <http://www.w3.org/ns/dcat#SummaryGroup> ;
    sh:datatype xsd:string ;
    sh:maxCount 1 ;
    rdfs:comment "The CKAN name of a dataset or an organization, or the slug of an Endpoint."
  ] ;
  sh:property [
    sh:path <https://uri.etsi.org/ngsi-ld/default-context/url> ;
    sh:name "url", "Webová stránka"@cs, "Webseite"@de, "Web page"@en, "Verkkosivu"@fi, "Webová stránka"@sk ;
    sh:order 2 ;
    sh:group <http://www.w3.org/ns/dcat#SummaryGroup> ;
    sh:datatype xsd:anyURI ;
    sh:maxCount 1 ;
    rdfs:comment "The page of the dataset or the organization on its CKAN."
  ] ;
  sh:property [
    sh:path <https://uri.etsi.org/ngsi-ld/default-context/datasetCount> ;
    sh:name "datasetCount", "Datové sady"@cs, "Datensätze"@de, "Datasets"@en, "Aineistot"@fi, "Dátové sady"@sk ;
    sh:order 3 ;
    sh:group <http://www.w3.org/ns/dcat#SummaryGroup> ;
    sh:datatype xsd:integer ;
    sh:maxCount 1 ;
    rdfs:comment "How many public datasets the organization publishes."
  ] ;
  sh:property [
    sh:path <https://uri.etsi.org/ngsi-ld/default-context/publishedDatasets> ;
    sh:name "publishedDatasets", "Datové sady"@cs, "Datensätze"@de, "Datasets"@en, "Aineistot"@fi, "Dátové sady"@sk ;
    sh:order 4 ;
    sh:group <http://www.w3.org/ns/dcat#DetailGroup> ;
    sh:nodeKind sh:IRI ;
    sh:class <https://uri.etsi.org/ngsi-ld/default-context/Dataset> ;
    rdfs:comment "The datasets the organization publishes, computed from their refPublisher and never stored."
  ] ;
  sh:property [
    sh:path <https://uri.etsi.org/ngsi-ld/default-context/searchText> ;
    sh:name "searchText", "Text pro vyhledávání"@cs, "Suchtext"@de, "Search text"@en, "Hakuteksti"@fi, "Text na vyhľadávanie"@sk ;
    sh:order 5 ;
    sh:group <http://www.w3.org/ns/dcat#DetailGroup> ;
    sh:datatype xsd:string ;
    sh:maxCount 1 ;
    rdfs:comment "The words a search matches, folded to lower case without diacritics: titles, keywords, the publisher, the space and the entity types."
  ] ;
  sh:property [
    sh:path <https://uri.etsi.org/ngsi-ld/location> ;
    sh:name "location" ;
    sh:order 6 ;
    sh:group <http://www.w3.org/ns/dcat#DetailGroup> ;
    sh:maxCount 1 ;
    rdfs:comment "Where the entity is, as GeoJSON geometry."
  ] .
