From 18a37fd012053778ad4c1c1458e6488ce4988e4c Mon Sep 17 00:00:00 2001 From: Xiaofeng Liao Date: Mon, 9 Dec 2024 10:21:21 +0100 Subject: [PATCH] feat: dash viewer & editor for recommend properties complete the dash viewer * editor for all the recommend properties in dataset --- .../Core/PiecesShape/Dataset.ttl | 230 +++++++++++------- 1 file changed, 146 insertions(+), 84 deletions(-) diff --git a/Formalisation(shacl)/Core/PiecesShape/Dataset.ttl b/Formalisation(shacl)/Core/PiecesShape/Dataset.ttl index 4d5d70a..375aa15 100755 --- a/Formalisation(shacl)/Core/PiecesShape/Dataset.ttl +++ b/Formalisation(shacl)/Core/PiecesShape/Dataset.ttl @@ -44,10 +44,9 @@ , , , , , - , , - , , - ; - sh:targetClass dcat:Dataset . + , ; + sh:targetClass dcat:Dataset; + sh:property . dash:editor dash:URIEditor; @@ -67,20 +66,26 @@ sh:nodeKind sh:IRI; sh:path dcatap:applicableLegislation . - sh:description - "Health classifications and their codes associated with the dataset"@en; + dash:editor + dash:URIEditor; + dash:viewer dash:LabelViewer; + sh:description "Health classifications and their codes associated with the dataset"@en; sh:name "code values"@en; sh:nodeKind sh:IRI; sh:path healthdcatap:hasCodeValues . - sh:description - "Coding systems in use (ex: ICD-10-CM, DGRs, SNOMED=CT, ...)"@en; + dash:editor + dash:URIEditor; + dash:viewer dash:LabelViewer; + sh:description "Coding systems in use (ex: ICD-10-CM, DGRs, SNOMED=CT, ...)"@en; sh:name "coding system"@en; sh:nodeKind sh:IRI; sh:path healthdcatap:hasCodingSystem . - sh:description - "An implementing rule or other specification"@en; + dash:editor + dash:URIEditor; + dash:viewer dash:LabelViewer; + sh:description "An implementing rule or other specification"@en; sh:name "conforms to"@en; sh:nodeKind sh:IRI; sh:path dct:conformsTo . @@ -103,8 +108,10 @@ sh:node foaf:Agent; sh:path dct:creator . - sh:datatype - xsd:boolean; + dash:editor + dash:BooleanSelectEdito; + dash:viewer dash:LabelViewer; + sh:datatype xsd:boolean; sh:description "The origin of the data in the data set"@en; sh:maxCount 1; sh:name "data origin"@en; @@ -120,23 +127,29 @@ sh:nodeKind sh:Literal; sh:path dct:description . - sh:description - "An available Distribution for the Dataset."@en; + dash:editor + dash:URIEditor; + dash:viewer dash:LabelViewer; + sh:description "An available Distribution for the Dataset."@en; sh:name "distribution"@en; sh:nodeKind sh:IRI; sh:path dcat:distribution . - sh:description - "A page or document about this Dataset."@en; + dash:editor + dash:URIEditor; + dash:viewer dash:LabelViewer; + sh:description "A page or document about this Dataset."@en; sh:name "documentation"@en; sh:nodeKind sh:IRI; sh:path foaf:page . - sh:description - "The frequency at which the Dataset is updated"@en; + dash:editor + dash:TextFieldEditor; + dash:viewer dash:LabelViewer; + sh:datatype xsd:integer; + sh:description "The frequency at which the Dataset is updated"@en; sh:maxCount 1; sh:name "frequency"@en; - sh:nodeKind sh:IRI; sh:path dct:accrualPeriodicity . @@ -148,14 +161,18 @@ sh:nodeKind sh:IRI; sh:path dct:spatial . - sh:description - "A related Dataset that is a version, edition, or adaptation of the described Dataset."@en; + dash:editor + dash:URIEditor; + dash:viewer dash:LabelViewer; + sh:description "A related Dataset that is a version, edition, or adaptation of the described Dataset."@en; sh:name "has version"@en; sh:nodeKind sh:IRI; sh:path dcat:hasVersion . - sh:description - "The health category to which this dataset belongs as described in the Commission Regulation on the European Health Data Space laying down a list of categories of electronic data for secondary use, Art.33"@en; + dash:editor + dash:URIEditor; + dash:viewer dash:LabelViewer; + sh:description "The health category to which this dataset belongs as described in the Commission Regulation on the European Health Data Space laying down a list of categories of electronic data for secondary use, Art.33"@en; sh:name "health category"@en; sh:nodeKind sh:IRI; sh:path healthdcatap:healthCategory . @@ -169,6 +186,15 @@ sh:nodeKind sh:IRI; sh:path healthdcatap:healthTheme . + sh:property , + , , + , , + , , + , , + , , + , , + . + dash:editor dash:TextFieldEditor; dash:viewer dash:LiteralViewer; @@ -188,19 +214,10 @@ sh:nodeKind sh:IRI; sh:path dcat:inSeries . - sh:property , - , , - , , - , , - , , - , , - , , - , , - , , - . - - sh:description - "A related resource, such as a publication, that references, cites, or otherwise points to the dataset."@en; + dash:editor + dash:URIEditor; + dash:viewer dash:LabelViewer; + sh:description "A related resource, such as a publication, that references, cites, or otherwise points to the dataset."@en; sh:name "is referenced by"@en; sh:nodeKind sh:IRI; sh:path dct:isReferencedBy . @@ -214,8 +231,9 @@ sh:nodeKind sh:Literal; sh:path dcat:keyword . - sh:description - "A language of the Dataset."@en; + dash:editor dash:URIEditor; + dash:viewer dash:LabelViewer; + sh:description "A language of the Dataset."@en; sh:name "language"@en; sh:nodeKind sh:IRI; sh:path dct:language . @@ -228,16 +246,20 @@ sh:nodeKind sh:IRI; sh:path dqv:hasLegalBasis . - sh:datatype - xsd:nonNegativeInteger; + dash:editor + dash:TextFieldEditor; + dash:viewer dash:LabelViewer; + sh:datatype xsd:nonNegativeInteger; sh:description "Maximum typical age of the population within the dataset"@en; sh:maxCount 1; sh:name "maximum typical age"@en; sh:nodeKind sh:Literal; sh:path healthdcatap:maxTypicalAge . - sh:datatype - xsd:nonNegativeInteger; + dash:editor + dash:TextFieldEditor; + dash:viewer dash:LabelViewer; + sh:datatype xsd:nonNegativeInteger; sh:description "Minimum typical age of the population within the dataset"@en; sh:maxCount 1; sh:name "minimum typical age"@en; @@ -266,6 +288,8 @@ sh:path healthdcatap:numberOfRecords . + dash:editor dash:TextFieldEditor; + dash:viewer dash:LabelViewer; sh:datatype xsd:nonNegativeInteger; sh:description "Number of records for unique individuals."@en; sh:maxCount 1; @@ -273,25 +297,40 @@ sh:nodeKind sh:Literal; sh:path healthdcatap:numberOfUniqueIndividuals . - sh:description - "A secondary identifier of the Dataset, such as MAST/ADS17, DataCite18, DOI19, EZID20 or W3ID21"@en; + dash:editor + dash:URIEditor; + dash:viewer dash:LabelViewer; + sh:description "A secondary identifier of the Dataset, such as MAST/ADS17, DataCite18, DOI19, EZID20 or W3ID21"@en; sh:name "other identifier"@en; sh:nodeKind sh:IRI; sh:path adms:identifier . - sh:description - "Key elements that represent an individual in the dataset."@en; + dash:editor + dash:URIEditor; + dash:viewer dash:LabelViewer; + sh:description "Key elements that represent an individual in the dataset."@en; sh:name "personal data"@en; sh:nodeKind sh:IRI; sh:path dqv:hasPersonalData . - sh:datatype - xsd:string; + dash:editor + dash:TextFieldEditor; + dash:viewer dash:LabelViewer; + sh:datatype xsd:string; sh:description "A definition of the population within the dataset"@en; sh:name "population coverage"@en; sh:nodeKind sh:Literal; sh:path healthdcatap:populationCoverage . + sh:property , + , , + , , + , , + , , + , , + , , + , . + dash:editor dash:BlankNodeEditor; dash:viewer dash:DetailsViewer; @@ -302,50 +341,52 @@ sh:node foaf:Agent; sh:path dct:publisher . - sh:datatype - xsd:string; + dash:editor + dash:TextFieldEditor; + dash:viewer dash:LabelViewer; + sh:datatype xsd:string; sh:description "A description of the publisher activities"@en; sh:maxCount 1; sh:name "publisher note"@en; sh:nodeKind sh:Literal; sh:path healthdcatap:publisherNote . - sh:description - "A type of organisation that makes the Dataset available"@en; + dash:editor + dash:URIEditor; + dash:viewer dash:LabelViewer; + sh:description "A type of organisation that makes the Dataset available"@en; sh:maxCount 1; sh:name "publisher type"@en; sh:nodeKind sh:IRI; sh:path healthdcatap:publisherType . - sh:description - "A free text statement of the purpose of the processing of data or personal data."@en; + dash:editor dash:URIEditor; + dash:viewer dash:LabelViewer; + sh:description "A free text statement of the purpose of the processing of data or personal data."@en; sh:name "purpose"@en; sh:nodeKind sh:IRI; sh:path dqv:hasPurpose . + dash:editor dash:URIEditor; + dash:viewer dash:LabelViewer; sh:description "An Agent having some form of responsibility for the resource"@en; sh:name "qualified attribution"@en; sh:nodeKind sh:IRI; sh:path prov:qualifiedAttribution . - sh:description - "A description of a relationship with another resource"@en; + dash:editor + dash:URIEditor; + dash:viewer dash:LabelViewer; + sh:description "A description of a relationship with another resource"@en; sh:name "qualified relation"@en; sh:nodeKind sh:IRI; sh:path dcat:qualifiedRelation . - sh:property , - , , - , , - , , - , , - , , - , , - , . - - sh:description - "A statement related to quality of the Dataset, including rating, quality certificate, feedback that can be associated to the dataset"@en; + dash:editor + dash:URIEditor; + dash:viewer dash:LabelViewer; + sh:description "A statement related to quality of the Dataset, including rating, quality certificate, feedback that can be associated to the dataset"@en; sh:name "quality annotation"@en; sh:nodeKind sh:IRI; sh:path dqv:hasQualityAnnotation . @@ -360,39 +401,48 @@ sh:nodeKind sh:Literal; sh:path dct:issued . - sh:description - "A temporal period which the dataset is available for secondary use"@en; + dash:editor + dash:URIEditor; + dash:viewer dash:LiteralViewer; + sh:description "A temporal period which the dataset is available for secondary use"@en; sh:name "retention period"@en; sh:nodeKind sh:IRI; sh:path healthdcatap:retentionPeriod . - sh:description - "A sample distribution of the dataset"@en; + dash:editor dash:URIEditor; + dash:viewer dash:LiteralViewer; + sh:description "A sample distribution of the dataset"@en; sh:name "sample"@en; sh:nodeKind sh:IRI; sh:path adms:sample . - sh:description - "A related dataset from which the described dataset is derived"@en; + dash:editor dash:URIEditor; + dash:viewer dash:LiteralViewer; + sh:description "A related dataset from which the described dataset is derived"@en; sh:name "source"@en; sh:nodeKind sh:IRI; sh:path dct:source . - sh:description - "The status of a dataset"@en; + dash:editor dash:URIEditor; + dash:viewer dash:LiteralViewer; + sh:description "The status of a dataset"@en; sh:maxCount 1; sh:name "status"@en; sh:nodeKind sh:IRI; sh:path adms:status . - sh:description - "A temporal period that the Dataset covers."@en; + dash:editor + dash:URIEditor; + dash:viewer dash:LiteralViewer; + sh:description "A temporal period that the Dataset covers."@en; sh:name "temporal coverage"@en; sh:nodeKind sh:IRI; sh:path dct:temporal . - sh:datatype - xsd:duration; + dash:editor + dash:TextFieldEditor; + dash:viewer dash:LiteralViewer; + sh:datatype xsd:duration; sh:description "The minimum time period resolvable in the dataset."@en; sh:maxCount 1; sh:name "temporal resolution"@en; @@ -407,6 +457,11 @@ sh:nodeKind sh:IRI; sh:path dcat:theme . + sh:property , + , , + , , + . + dash:editor dash:TextFieldEditor; dash:viewer dash:LiteralViewer; sh:datatype xsd:string; @@ -434,19 +489,26 @@ sh:nodeKind sh:Literal; sh:path dcat:version . - sh:datatype - xsd:string; + dash:editor + dash:TextFieldEditor; + dash:viewer dash:LiteralViewer; + sh:datatype xsd:string; sh:description "A description of the differences between this version and a previous version of the Dataset"@en; sh:name "version notes"@en; sh:nodeKind sh:Literal; sh:path adms:versionNotes . - sh:description - "An activity that generated, or provides the business context for, the creation of the dataset."@en; + dash:editor + dash:URIEditor; + dash:viewer dash:LabelViewer; + sh:description "An activity that generated, or provides the business context for, the creation of the dataset."@en; sh:name "was generated by"@en; sh:nodeKind sh:IRI; sh:path prov:wasGeneratedBy . - sh:name "was used by"@en; + dash:editor + dash:URIEditor; + dash:viewer dash:LabelViewer; + sh:name "was used by"@en; sh:nodeKind sh:IRI; sh:path prov:wasUsedBy .