diff --git a/README.md b/README.md index a4779e8..aaa17dc 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ # Data Specification Vocabulary +- [DSV Vocabulary Specification from Dataspecer](dsv) - [DSV Vocabulary in RDF Turtle](dsv.ttl) +- [DSV Default Application Profile from Dataspecer](dsv-ap) +- [DSV Default Application Profile using DSV](dsv-ap.ttl) - [Vocabulary model](https://drive.google.com/file/d/1o2xKy98YfNde0OUb-NMBMlrMkLUD2EuA/view?usp=sharing) - [Example in RDF Turtle](example.ttl), [Graphical example](https://drive.google.com/file/d/1p5kR44Hs-dBWLdT1QKHYDGtGkXIZyYeW/view?usp=sharing) diff --git a/dsv.ttl b/dsv.ttl index 6951b13..d4be410 100644 --- a/dsv.ttl +++ b/dsv.ttl @@ -1,136 +1,80 @@ -@prefix rdf: . -@prefix rdfs: . -@prefix xsd: . -@prefix owl: . -@prefix skos: . -@prefix prof: . -@prefix pav: . -@prefix vann: . -@prefix dcterms: . - -@prefix dsv: . - -dsv:Profile a rdfs:Class ; - rdfs:label "Profile"@en ; - rdfs:description "Entity profile"@en . - -dsv:controlledVocabulary a rdf:Property, owl:ObjectProperty ; - rdfs:label "uses controlled vocabulary"@en ; - rdfs:description "Specifies controlled vocabulary used in the specification."@en ; - rdfs:domain dcterms:Standard ; - rdfs:range dsv:ControlledVocabulary . - -dsv:conceptualModel a rdf:Property, owl:ObjectProperty ; - rdfs:label "contains conceptual model"@en ; - rdfs:description "Specifies the conceptual model contained in the application profile."@en ; - rdfs:domain prof:Profile ; - rdfs:range dsv:ConceptualModel . - -dsv:profileOf a rdf:Property, owl:ObjectProperty ; - rdfs:label "profile of"@en ; - rdfs:description "Specifies a parent profile of the current profile."@en ; - rdfs:domain dsv:Profile ; - rdfs:range dsv:Profile . - -dsv:specializes a rdf:Property, owl:ObjectProperty ; - rdfs:label "specializes profile"@en ; - rdfs:description "Specifies a profile specialized by this profile."@en ; - skos:closeMatch rdfs:subClassOf, rdfs:subPropertyOf ; - rdfs:domain dsv:Profile ; - rdfs:range dsv:Profile . - -dsv:InvalidProfile a rdfs:Class ; - rdfs:subClassOf dsv:Profile ; - rdfs:label "Invalid profile"@en ; - rdfs:description "Invalid profile - it breaks consistency rules. This may be useful for representation of profiles with changes that need propagating upstream to be consistent."@en . - -dsv:ClassProfile a rdfs:Class ; - rdfs:subClassOf dsv:Profile ; - rdfs:label "Class profile"@en ; - rdfs:description "Class profile"@en . - -dsv:class a rdf:Property, owl:ObjectProperty ; - rdfs:label "profiled class"@en ; - rdfs:description "the profiled class"@en ; - rdfs:domain dsv:ClassProfile ; - rdfs:range rdfs:Class . - -dsv:PropertyProfile a rdfs:Class ; - rdfs:subClassOf dsv:Profile ; - rdfs:label "Property profile"@en ; - rdfs:description "Property profile"@en . - -dsv:property a rdf:Property, owl:ObjectProperty ; - rdfs:label "profiled property"@en ; - rdfs:description "the profiled property"@en ; - rdfs:domain dsv:PropertyProfile ; - rdfs:range rdf:Property . - -dsv:domain a rdf:Property, owl:ObjectProperty ; - rdfs:label "domain profile"@en ; - rdfs:description "domain profile"@en ; - rdfs:domain dsv:PropertyProfile ; - rdfs:range dsv:ClassProfile . - -dsv:ObjectPropertyProfile a rdfs:Class ; - rdfs:subClassOf dsv:PropertyProfile ; - rdfs:label "Object property profile"@en ; - rdfs:description "Object property profile"@en . - -dsv:objectPropertyRange a rdf:Property, owl:ObjectProperty ; - rdfs:label "range profile"@en ; - rdfs:description "range profile"@en ; - rdfs:domain dsv:ObjectPropertyProfile ; - rdfs:range dsv:ClassProfile . - -dsv:DatatypePropertyProfile a rdfs:Class ; - rdfs:subClassOf dsv:PropertyProfile ; - rdfs:label "Datatype property profile"@en ; - rdfs:description "Datatype property profile"@en . - -dsv:datatypePropertyRange a rdf:Property, owl:ObjectProperty ; - rdfs:label "data type"@en ; - rdfs:description "data type of datatype property"@en ; - rdfs:domain dsv:DatatypePropertyProfile ; - rdfs:range rdfs:Datatype . - -dsv:ControlledVocabulary a rdfs:Class; - rdfs:subClassOf skos:ConceptScheme ; - rdfs:label "Controlled Vocabulary"@en ; - rdfs:description "Controlled Vocabulary"@en . - -dsv:requiredVocabulary a rdf:Property, owl:ObjectProperty ; - rdfs:label "requiredVocabulary"@en ; - rdfs:description "requiredVocabulary"@en ; - rdfs:domain dsv:PropertyProfile ; - rdfs:range dsv:ControlledVocabulary . - -dsv:additionalVocabulary a rdf:Property, owl:ObjectProperty ; - rdfs:label "additionalVocabulary"@en ; - rdfs:description "additionalVocabulary"@en ; - rdfs:domain dsv:PropertyProfile ; - rdfs:range dsv:ControlledVocabulary . - -dsv:ControlledVocabularyRequirementType a rdfs:Class, skos:ConceptScheme; - rdfs:label "Controlled Vocabulary Requirement Type"@en ; - rdfs:description "Controlled Vocabulary Requirement Type"@en . - -dsv:ConceptualModel a rdfs:Class; - rdfs:label "Conceptual Model"@en ; - rdfs:description "Conceptual Model"@en . - -dsv:DataStructure a rdfs:Class; - rdfs:label "Data structure"@en ; - rdfs:description "Data structure"@en . - -dsv:dataStructure a rdf:Property, owl:ObjectProperty ; - rdfs:label "data structure"@en ; - rdfs:description "data structure contained in the specifications"@en ; - rdfs:domain dcterms:Standard ; - rdfs:range dsv:DataStructure . - -dsv:artefact a rdf:Property, owl:ObjectProperty ; - rdfs:label "artefact"@en ; - rdfs:description "artefact of the specifications"@en ; - rdfs:domain dcterms:Standard ; - rdfs:range prof:ResourceDescriptor . +@prefix owl: . +@prefix rdfs: . +@prefix rdf: . +@prefix : . + +:ConceptualModel a owl:Class, rdfs:Class; + rdfs:label "Konceptuální model"@cs, "Conceptual model"@en; + rdfs:comment "Konceptuální model obsahující profily tříd a vlastností různých slovníků."@cs, "Conceptual model containing profiles of classes and properties of various vocabularies."@en; + rdfs:isDefinedBy . +:Profile a owl:Class, rdfs:Class; + rdfs:label "Profil"@cs, "Profile"@en; + rdfs:comment "Profil entity. Umožňuje blíže specifikovat některé její vlastnost v kontextu aplikačního profilu."@cs, "Entity profile. Allows profile editors to specify context dependent information such as label, definition, usage note, cardinalities, etc."@en; + rdfs:isDefinedBy . +:profileOf a rdf:Property, owl:ObjectProperty; + rdfs:label "profile of"@en; + rdfs:comment "Specifies a parent profile of the current profile."@en; + rdfs:isDefinedBy ; + rdfs:domain :Profile; + rdfs:range :Profile. +:inheritsProperties a rdf:Property, owl:ObjectProperty; + rdfs:label "inherits properties"@en; + rdfs:comment "Specifies, which properties are inherited, i.e. not profiled."@en; + rdfs:isDefinedBy ; + rdfs:domain :Profile; + rdfs:range rdf:Property. +:specializes a rdf:Property, owl:ObjectProperty; + rdfs:label "specializes"@en; + rdfs:comment "Specifies a profile specialized by this profile."@en; + rdfs:isDefinedBy ; + rdfs:domain :Profile; + rdfs:range :Profile. +:ClassProfile a owl:Class, rdfs:Class; + rdfs:label "Profil třídy"@cs, "Class Profile"@en; + rdfs:comment "Profile of a class. Allows specification editors to specify profile specific names, definitions and usage notes."@en; + rdfs:isDefinedBy ; + rdfs:subClassOf :Profile. +:class a rdf:Property, owl:ObjectProperty; + rdfs:label "profiled class"@en; + rdfs:comment "The profiled class."@en; + rdfs:isDefinedBy ; + rdfs:domain :ClassProfile; + rdfs:range rdfs:Class. +:ObjectPropertyProfile a owl:Class, rdfs:Class; + rdfs:label "Profil objektové vlastnosti"@cs, "Object Property Profile"@en; + rdfs:isDefinedBy ; + rdfs:subClassOf :PropertyProfile. +:range a rdf:Property, owl:ObjectProperty; + rdfs:label "range"@en; + rdfs:isDefinedBy ; + rdfs:domain :ObjectPropertyProfile; + rdfs:range :ClassProfile. +:DatatypePropertyProfile a owl:Class, rdfs:Class; + rdfs:label "Profile atributu"@cs, "Datatype Property Profile"@en; + rdfs:isDefinedBy ; + rdfs:subClassOf :PropertyProfile. +:datatype a rdf:Property, owl:ObjectProperty; + rdfs:label "datatype"@en; + rdfs:isDefinedBy ; + rdfs:domain :DatatypePropertyProfile; + rdfs:range rdfs:Datatype. +:InvalidProfile a owl:Class, rdfs:Class; + rdfs:label "Nevalidní profil"@cs, "Invalid profile"@en; + rdfs:comment "Neplatný profil je profil, který porušuje pravidla pro správné profilování. To může být z dobrého důvodu, jako je dočasná nekonzistence, která se má teprve projevit na profilované entitě."@cs, "Invalid profile is a profile, which breaks profile compliance rules. This may be for a good reason such as temporary, to be propagated upstream, inconsistency."@en; + rdfs:isDefinedBy ; + rdfs:subClassOf :Profile. +:PropertyProfile a owl:Class, rdfs:Class; + rdfs:label "Profil vlastnosti"@cs, "Property Profile"@en; + rdfs:comment "Profile of a property allows specification editors to specify profile specific name, definition, usage note, domain, range and cardinality."@en; + rdfs:isDefinedBy ; + rdfs:subClassOf :Profile. +:domain a rdf:Property, owl:ObjectProperty; + rdfs:label "domain"@en; + rdfs:isDefinedBy ; + rdfs:domain :PropertyProfile; + rdfs:range :ClassProfile. +:cardinality a rdf:Property, owl:ObjectProperty; + rdfs:label "kardinalita"@cs, "cardinality"@en; + rdfs:isDefinedBy ; + rdfs:domain :PropertyProfile; + rdfs:range rdfs:Resource. diff --git a/dsv/dsv.ttl b/dsv/dsv.ttl deleted file mode 100644 index 14fd217..0000000 --- a/dsv/dsv.ttl +++ /dev/null @@ -1,9 +0,0 @@ -@prefix rdf: . -@prefix rdfs: . -@prefix dct: . -@prefix dsv: . -@prefix owl: . -@prefix skos: . - - - a dsv:ConceptualModel. diff --git a/dsv/index.html b/dsv/index.html index b1eb097..9511066 100644 --- a/dsv/index.html +++ b/dsv/index.html @@ -25,7 +25,7 @@ ], "http://www.w3.org/ns/dx/prof/hasArtifact": [ { - "@id": "./model.owl.ttl" + "@id": "../dsv.ttl" } ], "http://www.w3.org/ns/dx/prof/hasRole": [ @@ -34,21 +34,6 @@ } ] }, - { - "@type": [ - "http://www.w3.org/ns/dx/prof/ResourceDescriptor" - ], - "http://www.w3.org/ns/dx/prof/hasArtifact": [ - { - "@id": "./dsv.ttl" - } - ], - "http://www.w3.org/ns/dx/prof/hasRole": [ - { - "@id": "http://www.w3.org/ns/dx/prof/role/schema" - } - ] - }, { "@type": [ "http://www.w3.org/ns/dx/prof/ResourceDescriptor" @@ -466,11 +451,7 @@

Attachments

- - - - - +
Vocabulary./model.owl.ttl
Application profile./dsv.ttl../dsv.ttl