Open labra opened 2 years ago
The current approach to generate subsets, checks if an item represented in JSON conforms to a WShEx description (which describes the wikibase model).
Another approach could be to convert the item to RDF and to check it with an entity schema in ShEx internally.
In order that this option works, we need to solve how to serialize JSON to RDF in a scalable way (without invoking the API) as is described in #21.
The current approach to generate subsets, checks if an item represented in JSON conforms to a WShEx description (which describes the wikibase model).
Another approach could be to convert the item to RDF and to check it with an entity schema in ShEx internally.
In order that this option works, we need to solve how to serialize JSON to RDF in a scalable way (without invoking the API) as is described in #21.