Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PSchema Roadmap and Features #1

Open
angelip2303 opened this issue May 14, 2023 · 0 comments
Open

PSchema Roadmap and Features #1

angelip2303 opened this issue May 14, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@angelip2303
Copy link
Collaborator

angelip2303 commented May 14, 2023

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
@angelip2303 angelip2303 added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels May 14, 2023
@angelip2303 angelip2303 self-assigned this May 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant