Compare with Wikibase tabular data model
The Wikibase software supports managing tabular data. Data is mainly collected on Wikimedia Commons, for instance tables with population data.
Wikibase Tabular Data was based on Tabular Data Resource so its likely compatible with some restrictions.
| Field | Data Package | Wikibase |
|---|---|---|
| name | required | implicitly by Wikibase page name |
| description | optional (plain string) | optional (localized strings) |
| data | required | required (subfield fields, see below) |
| licenses | - (there is licenses) |
required (plain string CC0-1.0) |
| schema | optional | required (array of arrays) |
| sources | optional (array of objects) | optional (Wiki markup) |
Other optional data Package fields (title, bytes...) are not supported.
| Field | Table Schema Fields | Wikibase |
|---|---|---|
| name | required | required |
| type | required | required (differences below) |
| title | optional (plain string) | optional (localized string) |
Wikibase supports data types:
-
numbersubset of Table Schema (noNaN) -
booleansame as Table Schema -
stringsame as Table Schema but limited to 400 characters at most and not including\nor\t. -
localizednot supported by Table Schema
Special value null can always be used for missing numbers where Table Schema uses special strings.
Shall we add a comparison with Wikibase Tabular Data to the Guides, similarly to what we did for CSVW: https://datapackage.org/guides/csvw-data-package/ ?
If you are ok with it, I can extend the text and add a PR to another file at https://github.com/frictionlessdata/datapackage/tree/main/content/docs/guides
That would be great @nichtich! What do you think @peterdesmet and @roll?
Sounds good!