Skip to content

SuLab/Genewiki-ShEx

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

genewiki Shape Expressions.

Shapes

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.

Stability of the Shape Expressions

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.

Installation

Running Shape expressions requires shex.js. Installation instructions can be found here

Usage

With shex.js running the following commands downloads the shapes collected here and run them against a select set of on topic items.

Human gene

./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

Disease

./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

CIViC variant

.//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

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published