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
+45-15Lines changed: 45 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,33 @@ croissant:citeAs a rdf:Property ;
84
84
schema:domainIncludes schema:Dataset ;
85
85
schema:rangeIncludes schema:Text .
86
86
87
+
croissant:md5 a rdf:Property ;
88
+
rdfs:label "md5" ;
89
+
rdfs:comment "The MD5 hash of the file." ;
90
+
schema:domainIncludes croissant:FileObject ;
91
+
schema:rangeIncludes schema:Text .
92
+
93
+
croissant:sdVersion a rdf:Property ;
94
+
rdfs:label "sdVersion" ;
95
+
rdfs:comment "The version of the dataset metadata, which may be distinct from the version of the dataset content." ;
96
+
schema:domainIncludes schema:Dataset ;
97
+
schema:rangeIncludes schema:Number, schema:Text .
98
+
87
99
# FileObject & FileSet properties
88
100
89
101
croissant:containedIn a rdf:Property ;
90
102
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." ;
103
+
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?
107
+
croissant:includes a rdf:Property ;
96
108
rdfs:label "includes" ;
97
109
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
110
schema:domainIncludes croissant:FileSet ;
99
111
schema:rangeIncludes schema:Text .
100
112
101
-
croissant:excludes a rdf:Property ;# Should this be named excludePattern instead?
113
+
croissant:excludes a rdf:Property ;
102
114
rdfs:label "excludes" ;
103
115
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
116
schema:domainIncludes croissant:FileSet ;
@@ -130,6 +142,12 @@ croissant:examples a rdf:Property ;
130
142
schema:domainIncludes croissant:RecordSet ;
131
143
schema:rangeIncludes rdf:JSON .
132
144
145
+
croissant:annotation a rdf:Property ;
146
+
rdfs:label "annotation" ;
147
+
rdfs:comment "One or more data-level annotations that apply to the entire record or field." ;
0 commit comments