Shape name | source | Jenkins | Jupyter | shex.js | Shaclex |
---|---|---|---|---|---|
human genes | - | + | + | - | |
human proteins | - | + | + | - | |
mouse proteins | - | + | + | - | |
diseases | - | + | + | - | |
pathways (wikipathways) | - | + | + | - | |
pathway (reactome) | - | + | + | - | |
variants | - | - | - | - |
This repository collects Shape Expression to model and validate Wikidata items added by bots developed and maintained in the Gene wiki project.
The Shape Expression schemas in this repository are under active development and reflect changes to the underlying data structures. Once they are stable, this message will be updated. At that point, only monotonic changes will be made. This complies with the W3C namespace policy. Future releases will use ShExMap to provide a computable mapping between different versions.
Running Shape expressions requires shex.js. Installation instructions can be found here
With shex.js running the following commands downloads the shapes collected here and run them against a select set of on topic items.
./bin/validate -x https://raw.githubusercontent.com/shexSpec/schemas/master/Wikidata/genewiki/wikidata_human-genes.shex -d https://www.wikidata.org/wiki/Special:EntityData/Q17853226.ttl
./bin/validate -x https://raw.githubusercontent.com/shexSpec/schemas/master/Wikidata/genewiki/wikidata_disease.shex -d https://www.wikidata.org/wiki/Special:EntityData/Q35869.ttl -s wikidata-disease -n http://www.wikidata.org/entity/Q35869
.//Users/andra/bin/validate -x https://raw.githubusercontent.com/shexSpec/schemas/master/Wikidata/genewiki/wikidata-civic.shex -d https://www.wikidata.org/wiki/Special:EntityData/Q21851559.ttl -s wikidata-civic_variant_record -n http://www.wikidata.org/entity/Q21851559
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D