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-spec-draft.md
+7-8Lines changed: 7 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ Authors:
19
19
- Michael Kuchnik (Meta),
20
20
- Jos van der Velde (OpenML),
21
21
- Joaquin Vanschoren (OpenML),
22
-
- Luis Oala (Dotphoton),
22
+
- Luis Oala (brickroad.network),
23
23
- Steffen Vogler (Bayer),
24
24
- Mubashara Akthar (King’s College London),
25
25
- Nitisha Jain (King’s College London),
@@ -318,7 +318,7 @@ In the rest of this document, we only describe the actual JSON-LD of Croissant m
318
318
319
319
Croissant builds on the [schema.org/Dataset](http://schema.org/Dataset) vocabulary, which is widely adopted by datasets on the web. An introduction to describing datasets with this vocabulary can be found [here](https://developers.google.com/search/docs/appearance/structured-data/dataset).
320
320
321
-
[Schema.org](http://Schema.org) properties are known to be very flexible in terms of the types of values they accept. We list below the main properties of the vocabulary and their expected type.To facilitate more consistent use of these properties we provide additional constraints on their usage in the context of Croissant datasets. We also specify cardinalities to clarify if a property can take one or many values.
321
+
[Schema.org](http://Schema.org) properties are known to be very flexible in terms of the types of values they accept. We list below the main properties of the vocabulary and their expected type.To facilitate more consistent use of these properties we provide additional constraints on their usage in the context of Croissant datasets. We also specify cardinalities to clarify if a property can take one or many values.
322
322
323
323
We organize [schema.org](http://schema.org) properties in three categories: Required, recommended and other properties. The properties starting with the symbol `@` are defined in JSON-LD, which is our RDF syntax of choice for Croissant.
324
324
@@ -927,11 +927,10 @@ A `Field` is part of a `RecordSet`. It may represent a column of a table, or a n
927
927
</tr>
928
928
<tr>
929
929
<td>value</td>
930
-
<td>JSON</a></td>>
930
+
<td>JSON</td>>
931
931
<td>ONE</td>
932
932
<td>An optional constant value for the field. Fields with values can be used to attach key/value pairs to a RecordSet. The value of a field can be atomic, for fields with a simple dataType, or it can be structured, e.g., if the field has subfields. For the latter case, a JSON string can be used to represent the value.</td>
@@ -1604,8 +1603,8 @@ When a field is mapped to a property, it can inherit the range type of that prop
1604
1603
1605
1604
The following example shows a `RecordSet` where each record represents a city, typed as both a `wd:Q515` (Wikidata City) and `sc:GeoCoordinates`. The fields of the `RecordSet` are mapped to the properties of these classes, using both explicit and implicit mapping:
1606
1605
- The `cities/name` field corresponds to the `sc:name` property via implicit mapping
1607
-
- The `citites/population` and `cities/country` fields are mapped to `wdt:P1082` and `wdt:P17` explicitly
1608
-
- The `cities/latitude` and `cities/longitude`fiels implicitly map to `sc:latitude` and `sc:longitude`.
1606
+
- The `cities/population` and `cities/country` fields are mapped to `wdt:P1082` and `wdt:P17` explicitly
1607
+
- The `cities/latitude` and `cities/longitude`fields implicitly map to `sc:latitude` and `sc:longitude`.
0 commit comments