# 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#> .

<https://smartdatamodels.org/SummaryGroup>
  a sh:PropertyGroup ;
  sh:order 0 ;
  rdfs:label "Základné"@sk, "Summary"@en .

<https://smartdatamodels.org/DetailGroup>
  a sh:PropertyGroup ;
  sh:order 1 ;
  rdfs:label "Detail"@sk, "Detail"@en .

<https://smartdatamodels.org/PointOfInterestShape>
  a sh:NodeShape ;
  sh:targetClass <https://smartdatamodels.org/PointOfInterest> ;
  sh:closed false ;
  sh:property [
    sh:path <http://schema.org/name> ;
    sh:name "name", "Název"@cs, "Name"@de, "Name"@en, "Názov"@sk ;
    sh:order 0 ;
    sh:group <https://smartdatamodels.org/SummaryGroup> ;
    sh:datatype xsd:string ;
    sh:maxCount 1 ;
    rdfs:comment "The name, per language, as the publisher writes it."
  ] ;
  sh:property [
    sh:path <https://joinedcontext.com/models/monumentNumber> ;
    sh:name "monumentNumber", "Číslo památky"@cs, "Denkmalnummer"@de, "Monument number"@en, "Číslo pamiatky"@sk ;
    sh:order 1 ;
    sh:group <https://smartdatamodels.org/SummaryGroup> ;
    sh:datatype xsd:string ;
    sh:minCount 1 ;
    sh:maxCount 1 ;
    rdfs:comment "The monument's number in the central list of the Monuments Fund (Č. ÚZPF), with the index of the object when the monument has several (`529/1`)."
  ] ;
  sh:property [
    sh:path <https://joinedcontext.com/models/monumentKind> ;
    sh:name "monumentKind", "Druh objektu"@cs, "Objektart"@de, "Object"@en, "Druh objektu"@sk ;
    sh:order 2 ;
    sh:group <https://smartdatamodels.org/SummaryGroup> ;
    sh:datatype xsd:string ;
    sh:maxCount 1 ;
    rdfs:comment "What the object is, in the register's unified name (KOSTOL, KÚRIA, MEŠTIANSKY DOM)."
  ] ;
  sh:property [
    sh:path <https://joinedcontext.com/models/architecturalStyle> ;
    sh:name "architecturalStyle", "Sloh"@cs, "Stil"@de, "Style"@en, "Sloh"@sk ;
    sh:order 3 ;
    sh:group <https://smartdatamodels.org/SummaryGroup> ;
    sh:datatype xsd:string ;
    sh:maxCount 1 ;
    rdfs:comment "The prevailing style, as the register writes it."
  ] ;
  sh:property [
    sh:path <https://joinedcontext.com/models/constructionPeriod> ;
    sh:name "constructionPeriod", "Období výstavby"@cs, "Bauzeit"@de, "Built"@en, "Obdobie výstavby"@sk ;
    sh:order 4 ;
    sh:group <https://smartdatamodels.org/DetailGroup> ;
    sh:datatype xsd:string ;
    sh:maxCount 1 ;
    rdfs:comment "When the object was built, as the register writes it (a year, a century, a range)."
  ] ;
  sh:property [
    sh:path <https://joinedcontext.com/models/cadastralArea> ;
    sh:name "cadastralArea", "Katastrální území"@cs, "Katastralgemeinde"@de, "Cadastral area"@en, "Katastrálne územie"@sk ;
    sh:order 5 ;
    sh:group <https://smartdatamodels.org/DetailGroup> ;
    sh:datatype xsd:string ;
    sh:maxCount 1 ;
    rdfs:comment "The cadastral area the object stands in."
  ] ;
  sh:property [
    sh:path <https://joinedcontext.com/models/ownershipForm> ;
    sh:name "ownershipForm", "Vlastnictví"@cs, "Eigentum"@de, "Ownership"@en, "Vlastníctvo"@sk ;
    sh:order 6 ;
    sh:group <https://smartdatamodels.org/DetailGroup> ;
    sh:datatype xsd:string ;
    sh:maxCount 1 ;
    rdfs:comment "The form of ownership as the register categorises it (state, church, private); never the owner, whom the register does not name and this model would not carry."
  ] ;
  sh:property [
    sh:path <http://schema.org/address> ;
    sh:name "address", "Adresa"@cs, "Adresse"@de, "Address"@en, "Adresa"@sk ;
    sh:order 7 ;
    sh:group <https://smartdatamodels.org/DetailGroup> ;
    sh:datatype xsd:string ;
    sh:maxCount 1 ;
    rdfs:comment "The street address, one line, as the register of addresses writes it."
  ] ;
  sh:property [
    sh:path <https://smartdatamodels.org/dataProvider> ;
    sh:name "dataProvider", "Poskytovatel dat"@cs, "Datenanbieter"@de, "Data provider"@en, "Poskytovateľ údajov"@sk ;
    sh:order 8 ;
    sh:group <https://smartdatamodels.org/DetailGroup> ;
    sh:datatype xsd:string ;
    sh:maxCount 1 ;
    rdfs:comment "Who publishes the data the entity was read from, with the credit its licence asks for, as an application shows it beside the data."
  ] ;
  sh:property [
    sh:path <https://smartdatamodels.org/source> ;
    sh:name "source", "Zdroj"@cs, "Quelle"@de, "Source"@en, "Zdroj"@sk ;
    sh:order 9 ;
    sh:group <https://smartdatamodels.org/DetailGroup> ;
    sh:datatype xsd:anyURI ;
    sh:maxCount 1 ;
    rdfs:comment "The open-data service the entity was read from."
  ] ;
  sh:property [
    sh:path <https://purl.org/geojson/vocab#geometry> ;
    sh:name "location" ;
    sh:order 10 ;
    sh:group <https://smartdatamodels.org/DetailGroup> ;
    sh:maxCount 1 ;
    rdfs:comment "Where the entity is, as GeoJSON geometry."
  ] .
