-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy pathsimple-split.json
121 lines (121 loc) · 3.12 KB
/
simple-split.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"@context": {
"@language": "en",
"@vocab": "https://schema.org/",
"citeAs": "cr:citeAs",
"column": "cr:column",
"conformsTo": "dct:conformsTo",
"cr": "http://mlcommons.org/croissant/",
"rai": "http://mlcommons.org/croissant/RAI/",
"data": {
"@id": "cr:data",
"@type": "@json"
},
"dataType": {
"@id": "cr:dataType",
"@type": "@vocab"
},
"dct": "http://purl.org/dc/terms/",
"examples": {
"@id": "cr:examples",
"@type": "@json"
},
"extract": "cr:extract",
"field": "cr:field",
"fileProperty": "cr:fileProperty",
"fileObject": "cr:fileObject",
"fileSet": "cr:fileSet",
"format": "cr:format",
"includes": "cr:includes",
"isLiveDataset": "cr:isLiveDataset",
"jsonPath": "cr:jsonPath",
"key": "cr:key",
"md5": "cr:md5",
"parentField": "cr:parentField",
"path": "cr:path",
"recordSet": "cr:recordSet",
"references": "cr:references",
"regex": "cr:regex",
"repeated": "cr:repeated",
"replace": "cr:replace",
"sc": "https://schema.org/",
"separator": "cr:separator",
"source": "cr:source",
"subField": "cr:subField",
"transform": "cr:transform",
"wd": "https://www.wikidata.org/wiki/"
},
"@type": "sc:Dataset",
"name": "simple-split",
"description": "An artificial example dataset defining splits from a CSV column",
"conformsTo": "http://mlcommons.org/croissant/1.0",
"license": "https://creativecommons.org/licenses/by/4.0/",
"url": "https://mlcommons.org",
"distribution": [
{
"@type": "cr:FileObject",
"@id": "books.csv",
"name": "books.csv",
"contentUrl": "data/books.csv",
"encodingFormat": "text/csv",
"sha256": "d35c5a01eecbd7700faf86b4ec838eb65bd6e861633b1e10ca3294d4e58e75c9"
}
],
"recordSet": [
{
"@type": "cr:RecordSet",
"@id": "books",
"name": "books",
"field": [
{
"@type": "cr:Field",
"@id": "books/title",
"name": "books/title",
"description": "The title of the book",
"dataType": "sc:Text",
"source": {
"fileObject": {
"@id": "books.csv"
},
"extract": {
"column": "Title"
}
}
},
{
"@type": "cr:Field",
"@id": "books/Author",
"name": "books/Author",
"description": "The author of the book",
"dataType": "sc:Text",
"source": {
"fileObject": {
"@id": "books.csv"
},
"extract": {
"column": "Author"
}
}
},
{
"@type": "cr:Field",
"@id": "books/split",
"name": "books/split",
"description": "The data split to which belongs the record",
"dataType": [
"sc:Text",
"wd:Q3985153"
],
"source": {
"fileObject": {
"@id": "books.csv"
},
"extract": {
"column": "Split"
}
}
}
]
}
]
}