weso / wdsub

Wikidata Subsetting
MIT License
15 stars 5 forks source link

Process entity schemas directly convert items in JSON to RDF internally #22

Open labra opened 2 years ago

labra commented 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.