|
| 1 | +{ |
| 2 | + "@context": { |
| 3 | + "@language": "en", |
| 4 | + "@vocab": "https://schema.org/", |
| 5 | + "arrayShape": "cr:arrayShape", |
| 6 | + "citeAs": "cr:citeAs", |
| 7 | + "column": "cr:column", |
| 8 | + "conformsTo": "dct:conformsTo", |
| 9 | + "cr": "http://mlcommons.org/croissant/", |
| 10 | + "rai": "http://mlcommons.org/croissant/RAI/", |
| 11 | + "data": { |
| 12 | + "@id": "cr:data", |
| 13 | + "@type": "@json" |
| 14 | + }, |
| 15 | + "dataType": { |
| 16 | + "@id": "cr:dataType", |
| 17 | + "@type": "@vocab" |
| 18 | + }, |
| 19 | + "description": {"@container": "@language"}, |
| 20 | + "dct": "http://purl.org/dc/terms/", |
| 21 | + "examples": { |
| 22 | + "@id": "cr:examples", |
| 23 | + "@type": "@json" |
| 24 | + }, |
| 25 | + "extract": "cr:extract", |
| 26 | + "field": "cr:field", |
| 27 | + "fileProperty": "cr:fileProperty", |
| 28 | + "fileObject": "cr:fileObject", |
| 29 | + "fileSet": "cr:fileSet", |
| 30 | + "format": "cr:format", |
| 31 | + "includes": "cr:includes", |
| 32 | + "isArray": "cr:isArray", |
| 33 | + "isLiveDataset": "cr:isLiveDataset", |
| 34 | + "jsonPath": "cr:jsonPath", |
| 35 | + "key": "cr:key", |
| 36 | + "md5": "cr:md5", |
| 37 | + "name": {"@container": "@language"}, |
| 38 | + "parentField": "cr:parentField", |
| 39 | + "path": "cr:path", |
| 40 | + "recordSet": "cr:recordSet", |
| 41 | + "references": "cr:references", |
| 42 | + "regex": "cr:regex", |
| 43 | + "repeated": "cr:repeated", |
| 44 | + "replace": "cr:replace", |
| 45 | + "samplingRate": "cr:samplingRate", |
| 46 | + "sc": "https://schema.org/", |
| 47 | + "separator": "cr:separator", |
| 48 | + "source": "cr:source", |
| 49 | + "subField": "cr:subField", |
| 50 | + "transform": "cr:transform" |
| 51 | + }, |
| 52 | + "@type": "sc:Dataset", |
| 53 | + "name": { |
| 54 | + "en": "minimal_example_with_multilingual_descriptions", |
| 55 | + "de": "minimales_Beispiel_mit_mehrsprachigen_Beschreibungen", |
| 56 | + "fr": "exemple_minimal_avec_descriptions_multilingues" |
| 57 | + }, |
| 58 | + "description": { |
| 59 | + "en": "This is a minimal example, including the required and the recommended fields in multiple languages.", |
| 60 | + "de": "Dies ist ein Minimalbeispiel, das die erforderlichen und die empfohlenen Felder in mehreren Sprachen enthält.", |
| 61 | + "fr": "Ceci est un exemple minimal, incluant les champs obligatoires et recommandés dans plusieurs langues." |
| 62 | + }, |
| 63 | + "conformsTo": "http://mlcommons.org/croissant/1.1", |
| 64 | + "license": "https://creativecommons.org/licenses/by/4.0/", |
| 65 | + "url": "https://example.com/dataset/recipes/minimal-recommended", |
| 66 | + "distribution": [ |
| 67 | + { |
| 68 | + "@type": "cr:FileObject", |
| 69 | + "@id": "minimal.csv", |
| 70 | + "name": "minimal.csv", |
| 71 | + "contentUrl": "data/minimal.csv", |
| 72 | + "encodingFormat": "text/csv", |
| 73 | + "sha256": "48a7c257f3c90b2a3e529ddd2cca8f4f1bd8e49ed244ef53927649504ac55354" |
| 74 | + } |
| 75 | + ], |
| 76 | + "recordSet": [ |
| 77 | + { |
| 78 | + "@type": "cr:RecordSet", |
| 79 | + "@id": "examples", |
| 80 | + "name": { |
| 81 | + "en": "examples", |
| 82 | + "de": "Beispiele", |
| 83 | + "fr": "exemples" |
| 84 | + }, |
| 85 | + "description": { |
| 86 | + "en": "Records extracted from the example table, with their schema.", |
| 87 | + "de": "Aus der Beispieltabelle extrahierte Datensätze mit ihrem Schema.", |
| 88 | + "fr": "Enregistrements extraits de la table d'exemple, avec leur schéma." |
| 89 | + }, |
| 90 | + "field": [ |
| 91 | + { |
| 92 | + "@type": "cr:Field", |
| 93 | + "@id": "examples/name", |
| 94 | + "name": { |
| 95 | + "en": "name", |
| 96 | + "de": "Name", |
| 97 | + "fr": "nom" |
| 98 | + }, |
| 99 | + "description": { |
| 100 | + "en": "The first column contains the name.", |
| 101 | + "de": "Die erste Spalte enthält den Namen.", |
| 102 | + "fr": "La première colonne contient le nom." |
| 103 | + }, |
| 104 | + "dataType": "sc:Text", |
| 105 | + "source": { |
| 106 | + "fileObject": { |
| 107 | + "@id": "minimal.csv" |
| 108 | + }, |
| 109 | + "extract": { |
| 110 | + "column": "name" |
| 111 | + } |
| 112 | + } |
| 113 | + }, |
| 114 | + { |
| 115 | + "@type": "cr:Field", |
| 116 | + "@id": "examples/age", |
| 117 | + "name": { |
| 118 | + "en": "age", |
| 119 | + "de": "Alter", |
| 120 | + "fr": "âge" |
| 121 | + }, |
| 122 | + "description": { |
| 123 | + "en": "The second column contains the age.", |
| 124 | + "de": "Die zweite Spalte enthält das Alter.", |
| 125 | + "fr": "La deuxième colonne contient l'âge." |
| 126 | + }, |
| 127 | + "dataType": "sc:Integer", |
| 128 | + "source": { |
| 129 | + "fileObject": { |
| 130 | + "@id": "minimal.csv" |
| 131 | + }, |
| 132 | + "extract": { |
| 133 | + "column": "age" |
| 134 | + } |
| 135 | + } |
| 136 | + } |
| 137 | + ] |
| 138 | + } |
| 139 | + ] |
| 140 | +} |
0 commit comments