wikipathways / wikipathways/GPML2RDF
Test for errors in `rdf:type` annotations
Open
@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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.