At the core of Frictionless is a set of patterns for describing data including Data Package (for datasets), Data Resource (for files) and Table Schema (for tables). For more info about the project as a whole, please visit frictionlessdata.io.
A Data Package is a simple container format used to describe and package a collection of data (a dataset).
InterMine allows users to query a diverse data sources through its webapps. InterMine's new data package will help users to understand the query results in a simplified manner. It will describe the primary keys, data types of attributes/columns, descriptions and ontology links of attributes among other things. For a sample InterMine Data Package, click here.
While exporting query results, there'll be a new option for Frictionless Data Package. You can use it to export the datapackage along with the results.
Please note that if you want to export the data package, it will be exported in a zip file along with the query results.
Some of the fields in the data package are standard fields followed by frictionless specifications. These are highlighted with the keywork FIXED in the third column otherwise examples are specified.
|profile [outer level]
|specifies that the specification used is tabular data package
|name [outer level]
|describes the name and version of the mine
|profile [inner level]
|specifies that the resource used is tabular data resource
|name [inner level]
|the name of the resource, depends on the mineName
|exports the top 10 rows of results of query
|format of the query results file
|describes fields of query results and primary/candidate keys
|an array of objects describing all the fields in query results
|name [in fields]
|name of the field/column header
|type [in fields]
|type of the field/column header
|class path [in fields]
|class path of attribute/field
|Protein > Organism . Name
|class ontology link [in fields]
|ontology link for the class of attribute
|attribute ontology link [in fields]
|ontology link for the attribute
|an array of candidate keys
|an array of objects each describing a data source
|title [in sources]
|name/title of data source
|url [in sources]
|url of the data source