Welcome to the WikiPathways Semantic Web Portal!
This portal describes the Semantic Web features of the WikiPathways databases, such as the Resource Description Framework (RDF) translation, the ontology, and the new nanopublications.
The WikiPathways RDF is provided as part of the monthly releases and contains the Curated and Reactome pathways. The RDF is split in two parts, the GPMLRDF part which contains a direct translation of the content in the GPML files, and a WPRDF part which contains the biology represented in the GPML
The WikiPathways Vocabularies
The WikiPathways vocabularies are for the semantic information about the pathway, data nodes, and interactions and the GPML vocabulary is for the graphical information about how the pathway diagram is laid out and represented.
How to cite
If you use the RDF, vocabularies, or nanopublication, please cite the following paper:
- Waagmeester, A., Kutmon, M., Riutta, A., Miller, R., Willighagen, E. L., Evelo, C. T., Pico, A. R., Jun. 2016. Using the semantic web for rapid integration of WikiPathways with other biological online data resources. PLoS Comput Biol 12 (6), e1004989+. doi:10.1371/journal.pcbi.1004989
For the pathway content, please follow these How to cite WikiPathways instructions.
The Semantic Web WikiPathways comes in two flavors: as RDF (beta) and as nanopublications (very experimental).
You can download the WikiPathways RDF from here.
The WikiPathways RDF is split in two parts, the GPMLRDF part which contains a direct translation of the
content in the GPML files, and a WPRDF part which contains the biology represented in the GPML.
This figure from the 2016 paper shows how the WPRDF can be derived from the GPMLRDF:
We provide an (experimental) SPARQL endpoint where data queries can be done.
WikiPathways Example SPARQL Queries
We have a large collection of example queries.
For example, to list all pathways per instance of a particular gene or protein (wp:GeneProduct), you can use the following SPARQL:
PREFIX wp: <http://vocabularies.wikipathways.org/wp#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX dcterms: <http://purl.org/dc/terms/>
SELECT DISTINCT ?pathway str(?label) as ?geneProduct
?geneProduct a wp:GeneProduct .
?geneProduct rdfs:label ?label .
?geneProduct dcterms:isPartOf ?pathway .
?pathway a wp:Pathway .
FILTER regex(str(?label), "CYP").
The research leading to these results has received support from the Innovative Medicines Initiative Joint Undertaking under grant agreement no. 115191, resources of which are composed of financial contribution from the European Union's Seventh Framework Programme (FP7/2007-2013) and EFPIA companies’ in-kind contribution.