You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/croissant.ttl
+39-15Lines changed: 39 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -8,12 +8,12 @@
8
8
croissant:FileObject a rdf:Class ;
9
9
rdfs:label "FileObject" ;
10
10
rdfs:comment "An individual file that is part of a dataset." ;
11
-
rdfs:subClassOf schema:CreativeWork .
11
+
rdfs:subClassOf schema:DataDownload .
12
12
13
13
croissant:FileSet a rdf:Class ;
14
14
rdfs:label "FileSet" ;
15
15
rdfs:comment "A set of homogeneous files extracted from a container, optionally filtered by inclusion and/or exclusion filters." ;
16
-
rdfs:subClassOf schema:Intangible .
16
+
rdfs:subClassOf schema:DataDownload .
17
17
18
18
croissant:RecordSet a rdf:Class ;
19
19
rdfs:label "RecordSet" ;
@@ -84,21 +84,27 @@ croissant:citeAs a rdf:Property ;
84
84
schema:domainIncludes schema:Dataset ;
85
85
schema:rangeIncludes schema:Text .
86
86
87
+
croissant:sdVersion a rdf:Property ;
88
+
rdfs:label "sdVersion" ;
89
+
rdfs:comment "The version of the dataset metadata, which may be distinct from the version of the dataset content." ;
90
+
schema:domainIncludes schema:Dataset ;
91
+
schema:rangeIncludes schema:Number, schema:Text .
92
+
87
93
# FileObject & FileSet properties
88
94
89
95
croissant:containedIn a rdf:Property ;
90
96
rdfs:label "containedIn" ;
91
-
rdfs:comment "Another FileObjector FileSet that this one is contained in, e.g., in the case of a file extracted from an archive. When this property is present, the contentUrl is evaluated as a relative path within the container object." ;
97
+
rdfs:comment "Another FileObject, FileSet or DataSource that this one is contained in, e.g., in the case of a file extracted from an archive. When this property is present, the contentUrl is evaluated as a relative path within the container object." ;
croissant:includes a rdf:Property ;# Should this be named includePattern instead?
101
+
croissant:includes a rdf:Property ;
96
102
rdfs:label "includes" ;
97
103
rdfs:comment "A glob pattern that specifies the files to include, e.g., \".jpg\", \"/foo/pic*.jpg\". The pattern is evaluated from the root of the containedIn contents." ;
98
104
schema:domainIncludes croissant:FileSet ;
99
105
schema:rangeIncludes schema:Text .
100
106
101
-
croissant:excludes a rdf:Property ;# Should this be named excludePattern instead?
107
+
croissant:excludes a rdf:Property ;
102
108
rdfs:label "excludes" ;
103
109
rdfs:comment "A glob pattern that specifies the files to exclude. The pattern is evaluated from the root of the containedIn contents, after the includes patterns have been evaluated." ;
104
110
schema:domainIncludes croissant:FileSet ;
@@ -130,6 +136,12 @@ croissant:examples a rdf:Property ;
130
136
schema:domainIncludes croissant:RecordSet ;
131
137
schema:rangeIncludes rdf:JSON .
132
138
139
+
croissant:annotation a rdf:Property ;
140
+
rdfs:label "annotation" ;
141
+
rdfs:comment "One or more data-level annotations that apply to the entire record or field." ;
0 commit comments