User:Pathwaybot
Jump to navigation
Jump to search
|
![]() |
This user account is a bot with a bot flag. The bot is operated by mkutmon and Andrawaag. |
Purpose
[edit]The objective of this bot is to provide Wikidata with up-to-date high quality information about Pathways and the interactions between the pathway entities they contain. This bot is under development and is being based on the code base of the User:ProteinBoxBot.
The team
[edit]- Alexander Pico (WikiPathways)
- Andra Waagmeester (Genewiki, Scholia profile)
- Sarah Keating (Reactome)
- Egon Willighagen (WikiPathways, Scholia profile)
- Denise Slenter (WikiPathways)
- Benjamin Good (Genewiki)
- Chris Evelo (WikiPathways, Scholia profile)
- Martina Summer-Kutmon (WikiPathways)
Discussion documents
[edit]Sources
[edit]Legalities
[edit]WikiPathways will be the first pathway repository sourced by this bot. Currently WikiPathways is available as CC-BY, but to be able to include pathways from WikiPathways into Wikidata, the decision has been made to transition towards a CC0 license. While in transition towards CC0, we have selected the following Pathways to develop and fine tune the pathway bot.
Gameplan
[edit]- agree on the data model <- Done (May 6th, 2017)
- receive bot permission
- Add the remaining pathways which are included in Wikipedia articles <- Done (May 11th, 2017)
- wait a week for community input
- Run the bot on all human pathways
- wait a week
- Request addition of remaining species for those that are not yet covered on Wikidata by ProteinBoxBot
- Run the bot on the remaining species.
- Model “part of” manually into data model 2.0
- Revisit update cycle
- Model interactions
Bot code
[edit]- The bot is based on the Wikidata Integrator platform developed in the Genewiki project.
- The bot code lives on GitHub
Data model
[edit]Wikipedia -> Wikidata
[edit]Property | Reference properties | Qualifier properties |
---|---|---|
instance of (P31) | stated in (P248)+, retrieved (P813)+, reference URL (P854)+ | |
described by source (P1343) | stated in (P248)+, retrieved (P813)+, reference URL (P854)+ | |
+ = required * = optional |
WikiPathways
[edit]Property | Reference properties | Qualifier properties |
---|---|---|
instance of (P31) | stated in (P248)+, retrieved (P813)+, reference URL (P854)+ | |
WikiPathways ID (P2410) | stated in (P248)+, retrieved (P813)+, reference URL (P854)+ | |
found in taxon (P703) | stated in (P248)+, retrieved (P813)+, reference URL (P854)+ | |
cites work (P2860) | stated in (P248)+, retrieved (P813)+, reference URL (P854)+ | |
has part(s) (P527) | stated in (P248)+, retrieved (P813)+, reference URL (P854)+ | |
connects with (P2789) | stated in (P248)+, retrieved (P813)+, reference URL (P854)+ | |
+ = required * = optional |
Shape expression
[edit]PREFIX wp: <https://en.wikipedia.org/wiki/> PREFIX wd: <https://www.wikidata.org/wiki/> PREFIX wdt: <http://www.wikidata.org/prop/direct/> PREFIX schema: <http://schema.org/> PREFIX p: <http://www.wikidata.org/prop/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> PREFIX prov: <http://www.w3.org/ns/prov#> PREFIX pr: <http://www.wikidata.org/prop/reference/> start = <wikipathways-pathway_type> <wikidata-wikipathways-pathway> { p:P31 @<P31_instance_of_metabolic-pathway>+ ; p:P2410 @<P2410_WikiPathways_ID>{1} ; p:P703 @<P703_found_in_taxon>{1} ; p:P2860 @<P2860_cites>* ; p:P527 @<P527_has_part>+ ; } <P31_instance_of_pathway-type> { ps:P31 @<pathway_types> } <P527_has_part> { ps:P527 @<geneproduct> OR @<metabolite> OR @<protein> ; prov:wasDerivedFrom @<wikipathway_reference> ; } <P703_found_in_taxon> { ps:P703 @<wikipathway_species> ; prov:wasDerivedFrom @<wikipathway_reference> ; } <P2410_WikiPathways_ID> { ps:P2410 LITERAL ; prov:wasDerivedFrom @<wikipathway_reference> ; } <P2860_cites> { ps:P2860 @<pubmed_citation> ; prov:wasDerivedFrom @<wikipathway_reference> ; } <wikipathway_reference> { pr:P248 [wd:Q7999828] ; # P248 stated in, wd:Q7999828 = WikiPathways pr:P813 xsd:dateTime ; pr:P854 IRI ; # TODO make explicit to recognize only the variant URL e.g. http://www.wikipathways.org/instance/WP179 } <wikipathways_species> [ wd:Q15978631 # Homo sapiens wd:Q83310 # Mus musculus wd:Q184224. # Rattus norvegicus # TODO get all species covered in WikiPathways ] <pubmed_citation> { wdt:P31 [wd:Q13442814] # P31 = instance of, Q13442814 = scientific article wdt:P698 LITERAL # P698 = Pubmed ID } <pathway_types> [ wd:Q28864279 # pathway wd:Q28864276 # classical metabolic pathway wd:Q28864297 # disease pathway wd:Q28864298 # drug pathway wd:Q28864299 # regulatory pathway wd:Q28864300 # signaling pathway ] <geneproduct> { # TODO specify } <metabolite> { # TODO specify } <protein> { # TODO specify }