weso / wdsub

Wikidata Subsetting
MIT License
15 stars 5 forks source link

Dumps from ShEx files #6

Open labra opened 3 years ago

labra commented 3 years ago

Wdsub now supports --schema file.shex to pass and process a ShEx schema file.

Example:

prefix :  <http://www.wikidata.org/entity/>

<cities> {
    :P31 [ :Q515 ]
}

One issue is that the namespace for properties and entities is the same and is taken from the concept IRI, which differs from entity schemas which are based on RDF serialization.