Skip to content

Commit f1c0ee7

Browse files
committed
Update shapes
1 parent 67ce77f commit f1c0ee7

File tree

5 files changed

+34
-7
lines changed

5 files changed

+34
-7
lines changed

shapes/Catalog-shape.ttl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,5 @@
1111
sh:path dcat:themeTaxonomy ;
1212
sh:nodeKind sh:IRI ;
1313
dash:editor dash:URIEditor ;
14-
dash:viewer dash:LabelViewer ;
1514
]
1615
.

shapes/Dataset-shape.ttl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,13 @@
2525
sh:name "Storage URL" ;
2626
sh:description "A URL of a service in which the data and metadata of dataset are stored." ;
2727
sh:path ocmv:storageUrl ;
28+
sh:or (
29+
[ sh:datatype xsd:anyURI ; ]
30+
[ sh:nodeKind sh:Literal ; ]
31+
) ;
2832
sh:pattern "^https?://" ;
29-
dash:editor dash:URIEditor ;
30-
dash:viewer dash:URIViewer ;
33+
dash:editor dash:TextFieldEditor ;
34+
dash:viewer dash:LiteralViewer ;
3135
],
3236
[
3337
sh:name "Contact Points" ;

shapes/Distribution-shape.ttl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
sh:path ocmv:isComplete ;
1515
sh:minCount 1 ;
1616
sh:maxCount 1 ;
17-
sh:in ( "true"^^xsd:boolean "false"^^xsd:boolean ) ;
18-
dash:editor dash:EnumSelectEditor ;
19-
dash:viewer dash:LiteralViewer ;
17+
sh:datatype xsd:boolean ;
18+
# dash:editor dash:BooleanSelectEditor ;
19+
# dash:viewer dash:LiteralViewer ;
2020
] ,
2121
[
2222
sh:name "Download URL" ;

shapes/Resource-shape.ttl

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
66
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
77
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
8+
@prefix fdpo: <https://w3id.org/fdp/fdp-o#> .
89

910
<https://w3id.org/ontouml-models/shape/Resource> a sh:NodeShape ;
1011
sh:targetClass dcat:Resource ;
@@ -67,6 +68,30 @@
6768
dash:editor dash:URIEditor ;
6869
dash:viewer dash:LabelViewer ;
6970
],
71+
[
72+
sh:name "Metadata Modified" ;
73+
sh:description "Date on which the resource's metadata was changed.";
74+
sh:path fdpo:metadataModified ;
75+
sh:or (
76+
[ sh:datatype xsd:dateTime ; ]
77+
[ sh:datatype xsd:date ; ]
78+
[ sh:datatype xsd:gYearMonth ; ]
79+
[ sh:datatype xsd:gYear ; ]
80+
) ;
81+
dash:viewer dash:LiteralViewer ;
82+
],
83+
[
84+
sh:name "Metadata Issued" ;
85+
sh:description "Date of formal issuance of the resource's metadata.";
86+
sh:path fdpo:metadataIssued ;
87+
sh:or (
88+
[ sh:datatype xsd:dateTime ; ]
89+
[ sh:datatype xsd:date ; ]
90+
[ sh:datatype xsd:gYearMonth ; ]
91+
[ sh:datatype xsd:gYear ; ]
92+
) ;
93+
dash:viewer dash:LiteralViewer ;
94+
],
7095
[
7196
sh:name "Modified" ;
7297
sh:description "Date on which the resource was changed.";

shapes/SemanticArtefact-shape.ttl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@
7575
sh:description "The type of the model according to how general it is. Allowed values: ocmv:Core for core ontologies, ocmv:Domain for domain ontologies, and ocmv:Application for application ontologies." ;
7676
sh:path ocmv:ontologyType ;
7777
sh:nodeKind sh:IRI ;
78-
sh:minCount 1 ;
7978
sh:maxCount 3 ;
8079
sh:in (
8180
ocmv:Domain

0 commit comments

Comments
 (0)