wikipathways / wikipathways/GPML2RDF

Test for errors in `rdf:type` annotations

Open
#120 1 comment 0 reactions 1 assignee View on GitHub

@egonw is already working on this.

Since Apr 16, 2025.

Dominant language
Java
Stars
4
Forks
2
PR merge metrics
No merged PRs in 30d

Description

See the following query, where an ENSG is annotated as both Pathway and DataNode but not Gene

PREFIX wp: <http://vocabularies.wikipathways.org/wp#>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

SELECT DISTINCT ?gene ?geneAll WHERE {
  ?gene a wp:Pathway, wp:DataNode .
  FILTER CONTAINS(STR(?gene), "ENSG")
  optional{?geneAll a wp:Pathway, wp:DataNode ; a wp:Gene . }
}
SPARQL results (1 results in 0.06 seconds)
gene geneAll
https://identifiers.org/ensembl/ENSG00000100030 -

What other tests need to be written?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.