Skip to content

PSchema Roadmap and Features #1

@angelip2303

Description

@angelip2303

Wikibase/DataModel

See the data model of Wikibase for further information on the structure of the data to be handled by pschema-rs.

Values

First, regarding Values, which are the basic objects representing a particular thing, ranging from Literal or DataValues, to Entities, holding a DataType, an Item and a Property. According to the following schema:

image

The following table summarizes the supported Values:

Feature Supported Comments
DataValue
Entity
DataType
Item
Property

Datatypes

Second, a finite set of datatypes are supported by Wikibase. According to this, for the purpose of this library, a simplification of the Wikibase set of accepted types can be implemented. For the whole picture of the set of Wikibase datatypes, see:

image

Regarding the supported DataTypes, the set of accepted ones is as follows:

Feature Supported PSchema Representation
StringValue String
QuantityValue Quantity
MonolingualTextValue String
TimeValue DateTime
MultilingualTextValue String
GeoCoordinatesValue Coordinates
IriValue ShapeReference

Statements

The Statements describe the claim of a statement; that is, it establishes relationships between entities. The complete structure is described as follows:

image

Regarding the supported features, the currently implemented ones can be seen in the following table:

Feature Supported Comments
Statement
Qualifiers

WShEx

Regarding the main features supported by WShEx schemas, the currently supported functionalities can be seen in the following table:

Feature Supported PSchema Representation
Triple constraints TripleConstraint, ShapeAnd, ShapeOr
Cardinality Cardinality
Labels, descriptions and aliases
Value sets ShapeOr
Bult-in DataTypes ShapeLiteral
Facets
Qualifiers
References ShapeReference
Ranks
SiteLinks

Data import/export

pschema-rs can operate with data in several formats, the currently supported ones can be seen in the table below:

Feature Supported Comments
DuckDB Import
DuckDB Export 🕒 Even if it's planned, we are waiting for the pola-rs release
Parquet Import
Parquet Export
NTriples Import
NTriples Export

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions